|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.model.MetadataKey<D>
D
- the datatype of this keypublic abstract class MetadataKey<D>
A key representing a particular metadata instance. All metadata keys have at
least an ID and a datatype. Metadata keys have a natural ordering based first
on key type, then on the natural ordering within that key type. Metadata keys
also support equivalence and matching, both of which are defined by subtypes.
See AttributeKey
and ElementKey
for the details.
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |