|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.webflow.engine.AnnotatedObject
public abstract class AnnotatedObject
A base class for all objects in the web flow system that support annotation using arbitrary properties. Mainly used to ensure consistent configuration of properties for all annotated objects.
Field Summary | |
---|---|
static java.lang.String |
CAPTION_PROPERTY
The caption property name ("caption"). |
static java.lang.String |
DESCRIPTION_PROPERTY
The long description property name ("description"). |
Constructor Summary | |
---|---|
AnnotatedObject()
|
Method Summary | |
---|---|
MutableAttributeMap |
getAttributeMap()
Returns the mutable attribute map for this annotated object. |
AttributeMap |
getAttributes()
Returns an immutable attribute map containing the attributes annotating this object. |
java.lang.String |
getCaption()
Returns a short summary of this object, suitable for display as an icon caption or tool tip. |
java.lang.String |
getDescription()
Returns a longer, more detailed description of this object. |
void |
setCaption(java.lang.String caption)
Sets the short description (suitable for display in a tooltip). |
void |
setDescription(java.lang.String description)
Sets the long description. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CAPTION_PROPERTY
public static final java.lang.String DESCRIPTION_PROPERTY
Constructor Detail |
---|
public AnnotatedObject()
Method Detail |
---|
public java.lang.String getCaption()
Annotated
getCaption
in interface Annotated
public java.lang.String getDescription()
Annotated
getDescription
in interface Annotated
public AttributeMap getAttributes()
Annotated
getAttributes
in interface Annotated
public void setCaption(java.lang.String caption)
caption
- the captionpublic void setDescription(java.lang.String description)
description
- the long descriptionpublic MutableAttributeMap getAttributeMap()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |