public class

SystemGroup

extends ValueConstruct
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.ValueConstruct
       ↳ com.google.gdata.data.contacts.SystemGroup

Class Overview

Element that if present marks that a group is a system one.

Summary

Constants
String ID XML "id" attribute name
String XML_NAME XML element name
[Expand]
Inherited Fields
From class com.google.gdata.data.ValueConstruct
From class com.google.gdata.data.AbstractExtension
Public Constructors
SystemGroup()
Default mutable constructor.
SystemGroup(String id)
Constructor (mutable or immutable).
Public Methods
static ExtensionDescription getDefaultDescription(boolean required, boolean repeatable)
Returns the extension description, specifying whether it is required, and whether it is repeatable.
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(String id)
Sets the identifier for distinguishing various system groups.
String toString()
[Expand]
Inherited Methods
From class com.google.gdata.data.ValueConstruct
From class com.google.gdata.data.AbstractExtension
From class java.lang.Object
From interface com.google.gdata.data.Extension

Constants

private static final String ID

XML "id" attribute name

Constant Value: "id"

static final String XML_NAME

XML element name

Constant Value: "systemGroup"

Public Constructors

public SystemGroup ()

Default mutable constructor.

public SystemGroup (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

Public Methods

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 required
repeatable Whether it is repeatable
Returns
  • extension description

public String getId ()

Returns the identifier for distinguishing various system groups.

Returns
  • identifier for distinguishing various system groups

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

public void setId (String id)

Sets the identifier for distinguishing various system groups.

Parameters
id Identifier for distinguishing various system groups or null to reset

public String toString ()