|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AttributeOwner
Specifies the general contract for storing attributes.
Method Summary | |
---|---|
java.lang.Object |
getAttribute(java.lang.String name)
Returns the value of the attribute with the specified name. |
void |
removeAttribute(java.lang.String name)
Removes the attribute with the specified name. |
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Sets an arbitrary attribute with the specified name and value. |
Method Detail |
---|
java.lang.Object getAttribute(java.lang.String name)
name
- the name of the attribute being queried
void removeAttribute(java.lang.String name)
name
- the name of the attribute being removedvoid setAttribute(java.lang.String name, java.lang.Object value)
If value is null
, this method will remove the attribute.
name
- the name of the attribute being addedvalue
- the value of the attribute being added
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |