class AccessorKey<T> extends java.lang.Object implements IAccessorKey<T>
Modifier and Type | Field and Description |
---|---|
private ContentType<T> |
contentType |
private java.lang.String |
identifier |
Constructor and Description |
---|
AccessorKey(java.lang.String identifier,
ContentType<T> contentType) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
ContentType<T> |
getContentType()
The content type of this attribute.
|
java.lang.String |
getIdentifier()
A identifier is a text string identifying the attribute.
|
int |
hashCode() |
java.lang.String |
toString() |
private final java.lang.String identifier
private final ContentType<T> contentType
public AccessorKey(java.lang.String identifier, ContentType<T> contentType)
public ContentType<T> getContentType()
IAccessorKey
IItem
.getContentType
in interface IAccessorKey<T>
public java.lang.String getIdentifier()
IAccessorKey
Field.getName()
.)getIdentifier
in interface IAccessorKey<T>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object