com.google.gdata.data.contacts
Class SystemGroup
java.lang.Object
com.google.gdata.data.AbstractExtension
com.google.gdata.data.ValueConstruct
com.google.gdata.data.contacts.SystemGroup
- All Implemented Interfaces:
- Extension
public class SystemGroup
- extends ValueConstruct
Element that if present marks that a group is a system one.
Constructor Summary |
SystemGroup()
Default mutable constructor. |
SystemGroup(java.lang.String id)
Constructor (mutable or immutable). |
Method Summary |
static ExtensionDescription |
getDefaultDescription(boolean required,
boolean repeatable)
Returns the extension description, specifying whether it is required, and
whether it is repeatable. |
java.lang.String |
getId()
Returns the identifier for distinguishing various system groups. |
boolean |
hasId()
Returns whether it has the identifier for distinguishing various system
groups. |
void |
setId(java.lang.String id)
Sets the identifier for distinguishing various system groups. |
java.lang.String |
toString()
|
Methods inherited from class com.google.gdata.data.ValueConstruct |
consumeAttributes, equals, generate, getHandler, getValue, hashCode, hasValue, isRequired, putAttributes, setRequired, setValue |
Methods inherited from class com.google.gdata.data.AbstractExtension |
disableStrictValidation, enableStrictValidation, eq, generate, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validate |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SystemGroup
public SystemGroup()
- Default mutable constructor.
SystemGroup
public SystemGroup(java.lang.String id)
- Constructor (mutable or immutable).
- Parameters:
id
- immutable identifier for distinguishing various system groups or
null
for a mutable identifier for distinguishing various
system groups
getId
public java.lang.String getId()
- Returns the identifier for distinguishing various system groups.
- Returns:
- identifier for distinguishing various system groups
setId
public void setId(java.lang.String id)
- Sets the identifier for distinguishing various system groups.
- Parameters:
id
- identifier for distinguishing various system groups or
null
to reset
hasId
public boolean hasId()
- Returns whether it has the identifier for distinguishing various system
groups.
- Returns:
- whether it has the identifier for distinguishing various system
groups
getDefaultDescription
public static ExtensionDescription getDefaultDescription(boolean required,
boolean repeatable)
- Returns the extension description, specifying whether it is required, and
whether it is repeatable.
- Parameters:
required
- whether it is requiredrepeatable
- whether it is repeatable
- Returns:
- extension description
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object