public class Ordering extends Element
Modifier and Type | Class and Description |
---|---|
static class |
Ordering.Rel
Order type.
|
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
Ordering()
Constructs an instance using the default key.
|
Modifier and Type | Method and Description |
---|---|
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.
|
addElement, addElement, addElement, clear, createElement, createElement, getAttributeCount, getAttributeIterator, getAttributeIterator, getAttributeValue, getAttributeValue, getDefaultKey, getElement, getElement, getElementCount, getElementId, getElementIterator, getElementIterator, getElementKey, getElements, getElements, getElementSet, getElementSet, getElementValue, getElementValue, getTextValue, getTextValue, hasAttribute, hasAttribute, hasElement, hasElement, hasTextValue, isLocked, removeAttribute, removeAttribute, removeAttributeValue, removeAttributeValue, removeElement, removeElement, removeElement, removeElement, replaceElement, resolve, resolve, setAttributeValue, setAttributeValue, setElement, setElement, setElement, setTextValue, toString, visit
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
public static void registerMetadata(MetadataRegistry registry)
public Ordering lock()
Element
public java.lang.String getNext()
public Ordering setNext(java.lang.String next)
next
- next element or null
to resetpublic boolean hasNext()
public java.lang.String getOrderId()
public Ordering setOrderId(java.lang.String orderId)
orderId
- ordered feed id or null
to resetpublic boolean hasOrderId()
public java.lang.String getPrev()
public Ordering setPrev(java.lang.String prev)
prev
- previous element or null
to resetpublic boolean hasPrev()
public java.lang.String getRef()
public Ordering setRef(java.lang.String ref)
ref
- other entry id or null
to resetpublic boolean hasRef()
public java.lang.String getRel()
public Ordering setRel(java.lang.String rel)
rel
- order type or null
to resetpublic boolean hasRel()