|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.model.Element
com.google.gdata.model.gd.Ordering
public class Ordering
Control ordering for a set of atom entries.
Nested Class Summary | |
---|---|
static class |
Ordering.Rel
Order type. |
Field Summary | |
---|---|
static ElementKey<java.lang.Void,Ordering> |
KEY
The key for this element. |
static AttributeKey<java.lang.String> |
NEXT
Next element. |
static AttributeKey<java.lang.String> |
ORDER_ID
Ordered feed id. |
static AttributeKey<java.lang.String> |
PREV
Previous element. |
static AttributeKey<java.lang.String> |
REF
Other entry id. |
static AttributeKey<java.lang.String> |
REL
Order type. |
Constructor Summary | |
---|---|
Ordering()
Constructs an instance using the default key. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getNext()
Returns the next element. |
java.lang.String |
getOrderId()
Returns the ordered feed id. |
java.lang.String |
getPrev()
Returns the previous element. |
java.lang.String |
getRef()
Returns the other entry id. |
java.lang.String |
getRel()
Returns the order type. |
int |
hashCode()
|
boolean |
hasNext()
Returns whether it has the next element. |
boolean |
hasOrderId()
Returns whether it has the ordered feed id. |
boolean |
hasPrev()
Returns whether it has the previous element. |
boolean |
hasRef()
Returns whether it has the other entry id. |
boolean |
hasRel()
Returns whether it has the order type. |
Ordering |
lock()
Locks this element. |
static void |
registerMetadata(MetadataRegistry registry)
Registers the metadata for this element. |
Ordering |
setNext(java.lang.String next)
Sets the next element. |
Ordering |
setOrderId(java.lang.String orderId)
Sets the ordered feed id. |
Ordering |
setPrev(java.lang.String prev)
Sets the previous element. |
Ordering |
setRef(java.lang.String ref)
Sets the other entry id. |
Ordering |
setRel(java.lang.String rel)
Sets the order type. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ElementKey<java.lang.Void,Ordering> KEY
public static final AttributeKey<java.lang.String> ORDER_ID
public static final AttributeKey<java.lang.String> REL
public static final AttributeKey<java.lang.String> REF
public static final AttributeKey<java.lang.String> PREV
public static final AttributeKey<java.lang.String> NEXT
Constructor Detail |
---|
public Ordering()
Method Detail |
---|
public static void registerMetadata(MetadataRegistry registry)
public Ordering lock()
Element
lock
in class Element
public java.lang.String getNext()
public Ordering setNext(java.lang.String next)
next
- next element or null
to reset
public boolean hasNext()
public java.lang.String getOrderId()
public Ordering setOrderId(java.lang.String orderId)
orderId
- ordered feed id or null
to reset
public boolean hasOrderId()
public java.lang.String getPrev()
public Ordering setPrev(java.lang.String prev)
prev
- previous element or null
to reset
public boolean hasPrev()
public java.lang.String getRef()
public Ordering setRef(java.lang.String ref)
ref
- other entry id or null
to reset
public boolean hasRef()
public java.lang.String getRel()
public Ordering setRel(java.lang.String rel)
rel
- order type or null
to reset
public boolean hasRel()
public boolean equals(java.lang.Object obj)
equals
in class Element
public int hashCode()
hashCode
in class Element
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |