|
|||||||||
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.photos.GphotoStarred
public class GphotoStarred
If viewer starred the photo and total number of stars.
Constructor Summary | |
---|---|
GphotoStarred()
Default mutable constructor. |
|
GphotoStarred(java.lang.Integer total,
java.lang.Boolean value)
Immutable constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
static ExtensionDescription |
getDefaultDescription(boolean required,
boolean repeatable)
Returns the extension description, specifying whether it is required, and whether it is repeatable. |
java.lang.Integer |
getTotal()
Returns the number of stars. |
java.lang.Boolean |
getValue()
Returns the viewer starred photo. |
int |
hashCode()
|
boolean |
hasTotal()
Returns whether it has the number of stars. |
boolean |
hasValue()
Returns whether it has the viewer starred photo. |
void |
setTotal(java.lang.Integer total)
Sets the number of stars. |
void |
setValue(java.lang.Boolean value)
Sets the viewer starred photo. |
java.lang.String |
toString()
|
Methods inherited from class com.google.gdata.data.AbstractExtension |
---|
disableStrictValidation, enableStrictValidation, generate, getExtensionLocalName, getExtensionNamespace, getHandler, isImmutable, isStrictValidation, setImmutable |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GphotoStarred()
public GphotoStarred(java.lang.Integer total, java.lang.Boolean value)
total
- number of stars.value
- viewer starred photo.Method Detail |
---|
public java.lang.Integer getTotal()
public void setTotal(java.lang.Integer total)
total
- number of stars or null
to resetpublic boolean hasTotal()
public java.lang.Boolean getValue()
public void setValue(java.lang.Boolean value)
value
- viewer starred photo or null
to resetpublic boolean hasValue()
public static ExtensionDescription getDefaultDescription(boolean required, boolean repeatable)
required
- whether it is requiredrepeatable
- whether it is repeatable
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
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 |