public abstract class AbstractAttributedType extends Object implements AttributedType
AttributedType.QUERY_ATTRIBUTEID| Constructor and Description |
|---|
AbstractAttributedType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
<T extends Serializable> |
getAttribute(String name)
Return the attribute value with the specified name
|
Collection<Attribute<? extends Serializable>> |
getAttributes()
Returns a Map containing all attribute values for this IdentityType instance.
|
Map<String,Attribute<? extends Serializable>> |
getAttributesMap() |
String |
getId()
Returns the unique identifier for this instance
|
int |
hashCode() |
void |
removeAttribute(String name)
Remove the attribute with given name
|
void |
setAttribute(Attribute<? extends Serializable> attribute)
Set the specified attribute.
|
void |
setId(String id)
Sets the unique identifier for this instance
|
public String getId()
AttributedTypegetId in interface AttributedTypepublic void setId(String id)
AttributedTypesetId in interface AttributedTypepublic void setAttribute(Attribute<? extends Serializable> attribute)
AttributedTypesetAttribute in interface AttributedTypepublic void removeAttribute(String name)
AttributedTyperemoveAttribute in interface AttributedTypename - of attributepublic <T extends Serializable> Attribute<T> getAttribute(String name)
AttributedTypegetAttribute in interface AttributedTypename - of attributepublic Collection<Attribute<? extends Serializable>> getAttributes()
AttributedTypegetAttributes in interface AttributedTypepublic Map<String,Attribute<? extends Serializable>> getAttributesMap()
Copyright © 2014. All Rights Reserved.