|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IAttributes
The IAttributes interface applies for classes that contain
attributes. An attribute is pair of an identifier and a value object. The
identifier must be a String.
| Method Summary | ||
|---|---|---|
|
getAttribute(java.lang.String identifier)
Returns the attribute |
|
java.util.Set<java.lang.String> |
getAttributeNames()
Returns the attribute names. |
|
Parameter |
getAttributeParameter(java.lang.String identifier)
Return the parameter definition or null if the attribute is not
defined as parameter. |
|
IAttributes |
getAttributes()
Returns the map of all pairs of attributes. |
|
boolean |
isDefined(java.lang.String identifier)
Tests whether an attribute is defined. |
|
void |
setAttribute(java.lang.String identifier,
java.lang.Object object)
Sets the attribute. |
|
| Method Detail |
|---|
void setAttribute(java.lang.String identifier,
java.lang.Object object)
identifier - the identifier of the attributeobject - the value of the attribute<O> O getAttribute(java.lang.String identifier)
O - the type of the attributeidentifier - the identifier of the attribute
Parameter getAttributeParameter(java.lang.String identifier)
null if the attribute is not
defined as parameter.
identifier - the identifier of the attribute
IAttributes getAttributes()
java.util.Set<java.lang.String> getAttributeNames()
boolean isDefined(java.lang.String identifier)
identifier - the identifier of the attribute
true if defined
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||