public abstract class AbstractAttributedType extends Object implements AttributedType
AttributedType.QUERY_ATTRIBUTE
ID
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()
AttributedType
getId
in interface AttributedType
public void setId(String id)
AttributedType
setId
in interface AttributedType
public void setAttribute(Attribute<? extends Serializable> attribute)
AttributedType
setAttribute
in interface AttributedType
public void removeAttribute(String name)
AttributedType
removeAttribute
in interface AttributedType
name
- of attributepublic <T extends Serializable> Attribute<T> getAttribute(String name)
AttributedType
getAttribute
in interface AttributedType
name
- of attributepublic Collection<Attribute<? extends Serializable>> getAttributes()
AttributedType
getAttributes
in interface AttributedType
public Map<String,Attribute<? extends Serializable>> getAttributesMap()
Copyright © 2018 JBoss by Red Hat. All rights reserved.