D - the datatype of this keypublic abstract class MetadataKey<D> extends java.lang.Object implements java.lang.Comparable<MetadataKey<?>>
AttributeKey and ElementKey for the details.| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<? extends D> |
getDatatype()
Returns the datatype of the property.
|
QName |
getId()
Returns the id of the property.
|
abstract boolean |
matches(MetadataKey<?> other)
Returns
true if this key matches the given key. |
java.lang.String |
toString() |
public QName getId()
public java.lang.Class<? extends D> getDatatype()
public abstract boolean matches(MetadataKey<?> other)
true if this key matches the given key.public java.lang.String toString()
toString in class java.lang.Object