public interface

ContactField

com.google.gdata.data.contacts.ContactField

Class Overview

Describes an interface that is common to all Contact fields.

Summary

Public Methods
abstract String getLinksto()
Returns the profile email(s) to which this field causes a link, if any.
abstract Boolean getReadonly()
Returns the value of the read-only attribute.
abstract String getSource()
Returns the source of the data in this field, or null if there is no source attribute.
abstract boolean hasLinksto()
Returns whether it has the profile email(s) to which this field causes a link.
abstract boolean hasReadonly()
Returns whether this field has a readonly attribute.
abstract boolean hasSource()
Returns whether it has the source of the data in this field.
abstract boolean isReadonly()
Returns whether this field is read-only.
abstract void setLinksto(String linksto)
Sets the profile email(s) to which this field causes a link.
abstract void setReadonly(Boolean readonly)
Sets whether this field is read-only.
abstract void setSource(String source)
Sets the source of the data in this field.

Public Methods

public abstract String getLinksto ()

Returns the profile email(s) to which this field causes a link, if any.

Returns
  • profile email(s) to which this field causes a link.

public abstract Boolean getReadonly ()

Returns the value of the read-only attribute.

Returns
  • the value of the readonly attribute.

public abstract String getSource ()

Returns the source of the data in this field, or null if there is no source attribute.

Returns
  • source of the data in this field

public abstract boolean hasLinksto ()

Returns whether it has the profile email(s) to which this field causes a link.

Returns
  • whether it has the profile email(s) to which this field causes a link.

public abstract boolean hasReadonly ()

Returns whether this field has a readonly attribute.

Returns
  • whether it has a readonly attribute.

public abstract boolean hasSource ()

Returns whether it has the source of the data in this field.

Returns
  • whether it has the source of the data in this field

public abstract boolean isReadonly ()

Returns whether this field is read-only. This is different than getReadonly in that the former can return a null value if the attribute doesn't exist, whereas this method will return false in that case.

Returns
  • whether the field is read-only.

public abstract void setLinksto (String linksto)

Sets the profile email(s) to which this field causes a link.

Parameters
linksto The profile email(s) to which this field causes a link or null to reset

public abstract void setReadonly (Boolean readonly)

Sets whether this field is read-only.

Parameters
readonly Whether this field is read-only or null to reset

public abstract void setSource (String source)

Sets the source of the data in this field.

Parameters
source Source of the data in this field or null to reset