D - the datatype of this keypublic abstract class MetadataKey<D> extends Object implements Comparable<MetadataKey<?>>
AttributeKey and ElementKey for the details.| Modifier and Type | Method and Description |
|---|---|
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. |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompareTopublic QName getId()
public Class<? extends D> getDatatype()
public abstract boolean matches(MetadataKey<?> other)
true if this key matches the given key.Copyright © 2012. All Rights Reserved.