public interface NamedObjectWithAttributes extends NamedObject
Modifier and Type | Method and Description |
---|---|
Object |
getAttribute(String name)
Gets an attribute.
|
<T> T |
getAttribute(String name,
T defaultValue)
Gets an attribute.
|
Map<String,Object> |
getAttributes()
Gets all attributes.
|
String |
getRemarks()
Getter for remarks.
|
boolean |
hasRemarks()
Whether remarks are available.
|
void |
removeAttribute(String name)
Removes an attribute.
|
void |
setAttribute(String name,
Object value)
Sets an attribute.
|
getFullName, getLookupKey, getName
compareTo
Object getAttribute(String name)
name
- Attribute name.<T> T getAttribute(String name, T defaultValue)
name
- Attribute name.String getRemarks()
boolean hasRemarks()
void removeAttribute(String name)
name
- Attribute nameCopyright © 2000-2014 Sualeh Fatehi. All rights reserved.