public class

ContactGroupEntry

extends BaseEntry<E extends BaseEntry>
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.ExtensionPoint
       ↳ com.google.gdata.data.BaseEntry<E extends com.google.gdata.data.BaseEntry>
         ↳ com.google.gdata.data.contacts.ContactGroupEntry

Class Overview

Describes a contact group entry.

Summary

Constants
String KIND Contact group kind term value.
Fields
public static final Category CATEGORY Contact group kind category.
[Expand]
Inherited Fields
From class com.google.gdata.data.BaseEntry
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
Public Constructors
ContactGroupEntry()
Default mutable constructor.
ContactGroupEntry(BaseEntry<?> sourceEntry)
Constructs a new instance by doing a shallow copy of data from an existing BaseEntry instance.
Public Methods
void addExtendedProperty(ExtendedProperty extendedProperty)
Adds a new contact extended property.
void declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile.
BatchId getBatchId()
Returns the batch identifier.
BatchInterrupted getBatchInterrupted()
Returns the batch interruption information.
BatchOperation getBatchOperation()
Returns the batch operation.
BatchStatus getBatchStatus()
Returns the batch response status information.
Deleted getDeleted()
Returns the marker for deleted entries.
List<ExtendedProperty> getExtendedProperties()
Returns the contact extended properties.
SystemGroup getSystemGroup()
Returns the system group.
boolean hasBatchId()
Returns whether it has the batch identifier.
boolean hasBatchInterrupted()
Returns whether it has the batch interruption information.
boolean hasBatchOperation()
Returns whether it has the batch operation.
boolean hasBatchStatus()
Returns whether it has the batch response status information.
boolean hasDeleted()
Returns whether it has the marker for deleted entries.
boolean hasExtendedProperties()
Returns whether it has the contact extended properties.
boolean hasSystemGroup()
Returns whether it has the system group.
void setBatchId(BatchId batchId)
Sets the batch identifier.
void setBatchInterrupted(BatchInterrupted batchInterrupted)
Sets the batch interruption information.
void setBatchOperation(BatchOperation batchOperation)
Sets the batch operation.
void setBatchStatus(BatchStatus batchStatus)
Sets the batch response status information.
void setDeleted(Deleted deleted)
Sets the marker for deleted entries.
void setSystemGroup(SystemGroup systemGroup)
Sets the system group.
String toString()
Protected Methods
void validate()
Checks the attributes to see if there are any problems.
[Expand]
Inherited Methods
From class com.google.gdata.data.BaseEntry
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
From class java.lang.Object
From interface com.google.gdata.data.Extension
From interface com.google.gdata.data.IAtom
From interface com.google.gdata.data.IEntry
From interface com.google.gdata.data.Kind.Adaptable
From interface com.google.gdata.data.Kind.Adaptor

Constants

public static final String KIND

Contact group kind term value.

Constant Value: "http://schemas.google.com/contact/2008#group"

Fields

public static final Category CATEGORY

Contact group kind category.

Public Constructors

public ContactGroupEntry ()

Default mutable constructor.

public ContactGroupEntry (BaseEntry<?> sourceEntry)

Constructs a new instance by doing a shallow copy of data from an existing BaseEntry instance.

Parameters
sourceEntry Source entry

Public Methods

public void addExtendedProperty (ExtendedProperty extendedProperty)

Adds a new contact extended property.

Parameters
extendedProperty Contact extended property

public void declareExtensions (ExtensionProfile extProfile)

Declares the set of expected Extension types for an ExtensionPoint within the target extension profile. The base implementation does not declare any extensions, but can be overridden by specific types of ExtensionPoints that always contain a well-defined set of extensions.

Parameters
extProfile The ExtensionProfile to initialize.

public BatchId getBatchId ()

Returns the batch identifier.

Returns
  • batch identifier

public BatchInterrupted getBatchInterrupted ()

Returns the batch interruption information.

Returns
  • batch interruption information

public BatchOperation getBatchOperation ()

Returns the batch operation.

Returns
  • batch operation

public BatchStatus getBatchStatus ()

Returns the batch response status information.

Returns
  • batch response status information

public Deleted getDeleted ()

Returns the marker for deleted entries.

Returns
  • marker for deleted entries

public List<ExtendedProperty> getExtendedProperties ()

Returns the contact extended properties.

Returns
  • contact extended properties

public SystemGroup getSystemGroup ()

Returns the system group.

Returns
  • system group

public boolean hasBatchId ()

Returns whether it has the batch identifier.

Returns
  • whether it has the batch identifier

public boolean hasBatchInterrupted ()

Returns whether it has the batch interruption information.

Returns
  • whether it has the batch interruption information

public boolean hasBatchOperation ()

Returns whether it has the batch operation.

Returns
  • whether it has the batch operation

public boolean hasBatchStatus ()

Returns whether it has the batch response status information.

Returns
  • whether it has the batch response status information

public boolean hasDeleted ()

Returns whether it has the marker for deleted entries.

Returns
  • whether it has the marker for deleted entries

public boolean hasExtendedProperties ()

Returns whether it has the contact extended properties.

Returns
  • whether it has the contact extended properties

public boolean hasSystemGroup ()

Returns whether it has the system group.

Returns
  • whether it has the system group

public void setBatchId (BatchId batchId)

Sets the batch identifier.

Parameters
batchId Batch identifier or null to reset

public void setBatchInterrupted (BatchInterrupted batchInterrupted)

Sets the batch interruption information.

Parameters
batchInterrupted Batch interruption information or null to reset

public void setBatchOperation (BatchOperation batchOperation)

Sets the batch operation.

Parameters
batchOperation Batch operation or null to reset

public void setBatchStatus (BatchStatus batchStatus)

Sets the batch response status information.

Parameters
batchStatus Batch response status information or null to reset

public void setDeleted (Deleted deleted)

Sets the marker for deleted entries.

Parameters
deleted Marker for deleted entries or null to reset

public void setSystemGroup (SystemGroup systemGroup)

Sets the system group.

Parameters
systemGroup System group or null to reset

public String toString ()

Protected Methods

protected void validate ()

Checks the attributes to see if there are any problems. Default implementation does nothing, though generally this is discouraged unless there really are no restrictions.