|
|||||||||
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.atompub.Control
public class Control
Describes an Atom publication control status.
Field Summary | |
---|---|
static ElementKey<java.lang.Void,Control> |
KEY
The key for this element. |
Constructor Summary | |
---|---|
Control()
Constructs an instance using the default key. |
Method Summary | |
---|---|
Draft |
getDraft()
Returns the draft tag. |
boolean |
hasDraft()
Returns whether it has the draft tag. |
boolean |
isDraft()
Checks the value of the app:draft tag. |
Control |
lock()
Locks this element. |
static void |
registerMetadata(MetadataRegistry registry)
Registers the metadata for this element. |
void |
setDraft(boolean value)
Sets the value of the app:draft tag. |
Control |
setDraft(Draft draft)
Sets the draft tag. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ElementKey<java.lang.Void,Control> KEY
Constructor Detail |
---|
public Control()
Method Detail |
---|
public static void registerMetadata(MetadataRegistry registry)
public Control lock()
Element
lock
in class Element
public Draft getDraft()
public Control setDraft(Draft draft)
draft
- draft tag or null
to reset
public boolean hasDraft()
public boolean isDraft()
public void setDraft(boolean value)
value
- sets the draft status to the specified value, false to clear.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |