|
|||||||||
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.batch.BatchOperation
public class BatchOperation
Describes the batch operation to apply.
Field Summary | |
---|---|
static ElementKey<java.lang.Void,BatchOperation> |
KEY
The key for this element. |
static AttributeKey<BatchOperationType> |
TYPE
The operation type. |
Constructor Summary | |
---|---|
BatchOperation()
Default mutable constructor. |
|
BatchOperation(BatchOperationType type)
Constructs a new instance with the given operation type. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
BatchOperationType |
getType()
Returns the operation type. |
int |
hashCode()
|
boolean |
hasType()
Returns whether it has the operation type. |
static void |
registerMetadata(MetadataRegistry registry)
Registers the metadata for this element. |
BatchOperation |
setType(BatchOperationType type)
Sets the operation type. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ElementKey<java.lang.Void,BatchOperation> KEY
public static final AttributeKey<BatchOperationType> TYPE
Constructor Detail |
---|
public BatchOperation()
public BatchOperation(BatchOperationType type)
type
- operation type.Method Detail |
---|
public static void registerMetadata(MetadataRegistry registry)
public BatchOperationType getType()
public BatchOperation setType(BatchOperationType type)
type
- operation type or null
to resetpublic boolean hasType()
public boolean equals(java.lang.Object obj)
equals
in class Element
public int hashCode()
hashCode
in class Element
public java.lang.String toString()
toString
in class Element
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |