|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.data.AbstractExtension
com.google.gdata.data.ExtensionPoint
com.google.gdata.data.projecthosting.Updates
public class Updates
List of metadata updates.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gdata.data.ExtensionPoint |
---|
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler |
Nested classes/interfaces inherited from class com.google.gdata.data.AbstractExtension |
---|
AbstractExtension.AttributesHandler |
Field Summary |
---|
Fields inherited from class com.google.gdata.data.ExtensionPoint |
---|
xmlBlob |
Fields inherited from class com.google.gdata.data.AbstractExtension |
---|
localName, namespace |
Constructor Summary | |
---|---|
Updates()
Default mutable constructor. |
Method Summary | |
---|---|
void |
addBlockedOnUpdate(BlockedOnUpdate blockedOnUpdate)
Adds a new blocked on update. |
void |
addCcUpdate(CcUpdate ccUpdate)
Adds a new cc update. |
void |
addLabel(Label label)
Adds a new label. |
void |
declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile. |
java.util.List<BlockedOnUpdate> |
getBlockedOnUpdates()
Returns the blocked on updates. |
java.util.List<CcUpdate> |
getCcUpdates()
Returns the cc updates. |
static ExtensionDescription |
getDefaultDescription(boolean required,
boolean repeatable)
Returns the extension description, specifying whether it is required, and whether it is repeatable. |
java.util.List<Label> |
getLabels()
Returns the labels. |
MergedIntoUpdate |
getMergedIntoUpdate()
Returns the merged into update. |
OwnerUpdate |
getOwnerUpdate()
Returns the owner update. |
Status |
getStatus()
Returns the status. |
Summary |
getSummary()
Returns the summary. |
boolean |
hasBlockedOnUpdates()
Returns whether it has the blocked on updates. |
boolean |
hasCcUpdates()
Returns whether it has the cc updates. |
boolean |
hasLabels()
Returns whether it has the labels. |
boolean |
hasMergedIntoUpdate()
Returns whether it has the merged into update. |
boolean |
hasOwnerUpdate()
Returns whether it has the owner update. |
boolean |
hasStatus()
Returns whether it has the status. |
boolean |
hasSummary()
Returns whether it has the summary. |
void |
setMergedIntoUpdate(MergedIntoUpdate mergedIntoUpdate)
Sets the merged into update. |
void |
setOwnerUpdate(OwnerUpdate ownerUpdate)
Sets the owner update. |
void |
setStatus(Status status)
Sets the status. |
void |
setSummary(Summary summary)
Sets the summary. |
java.lang.String |
toString()
|
protected void |
validate()
Checks the attributes to see if there are any problems. |
Methods inherited from class com.google.gdata.data.AbstractExtension |
---|
consumeAttributes, disableStrictValidation, enableStrictValidation, eq, generate, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Updates()
Method Detail |
---|
public void declareExtensions(ExtensionProfile extProfile)
ExtensionPoint
declareExtensions
in class ExtensionPoint
extProfile
- the ExtensionProfile to initialize.public java.util.List<BlockedOnUpdate> getBlockedOnUpdates()
public void addBlockedOnUpdate(BlockedOnUpdate blockedOnUpdate)
blockedOnUpdate
- blocked on updatepublic boolean hasBlockedOnUpdates()
public java.util.List<CcUpdate> getCcUpdates()
public void addCcUpdate(CcUpdate ccUpdate)
ccUpdate
- cc updatepublic boolean hasCcUpdates()
public java.util.List<Label> getLabels()
public void addLabel(Label label)
label
- labelpublic boolean hasLabels()
public MergedIntoUpdate getMergedIntoUpdate()
public void setMergedIntoUpdate(MergedIntoUpdate mergedIntoUpdate)
mergedIntoUpdate
- merged into update or null
to resetpublic boolean hasMergedIntoUpdate()
public OwnerUpdate getOwnerUpdate()
public void setOwnerUpdate(OwnerUpdate ownerUpdate)
ownerUpdate
- owner update or null
to resetpublic boolean hasOwnerUpdate()
public Status getStatus()
public void setStatus(Status status)
status
- status or null
to resetpublic boolean hasStatus()
public Summary getSummary()
public void setSummary(Summary summary)
summary
- summary or null
to resetpublic boolean hasSummary()
protected void validate()
AbstractExtension
validate
in class AbstractExtension
public static ExtensionDescription getDefaultDescription(boolean required, boolean repeatable)
required
- whether it is requiredrepeatable
- whether it is repeatable
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 |