public class

ResourceProperty

extends AbstractExtension
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.calendar.ResourceProperty

Class Overview

GData schema extension describing whether gd:who is a resource, such as a conference room.

Summary

Constants
String ATTRIBUTE_ID
String ATTRIBUTE_VALUE
String EXTENSION_LOCAL_NAME
Fields
public static final ResourceProperty FALSE
public static final ResourceProperty TRUE
protected String id
protected String value
[Expand]
Inherited Fields
From class com.google.gdata.data.AbstractExtension
Public Constructors
ResourceProperty()
ResourceProperty(String value)
Public Methods
boolean equals(Object o)
static ExtensionDescription getDefaultDescription()
String getId()
String getValue()
int hashCode()
void setId(String resId)
void setValue(String value)
Protected Methods
void consumeAttributes(AttributeHelper helper)
Consumes attributes from the attribute helper.
void putAttributes(AttributeGenerator generator)
Puts attributes into the attribute generator.
void validate()
Checks the attributes to see if there are any problems.
[Expand]
Inherited Methods
From class com.google.gdata.data.AbstractExtension
From class java.lang.Object
From interface com.google.gdata.data.Extension

Constants

private static final String ATTRIBUTE_ID

Constant Value: "id"

private static final String ATTRIBUTE_VALUE

Constant Value: "value"

static final String EXTENSION_LOCAL_NAME

Constant Value: "resource"

Fields

public static final ResourceProperty FALSE

public static final ResourceProperty TRUE

protected String id

protected String value

Public Constructors

public ResourceProperty ()

public ResourceProperty (String value)

Parameters
value

Public Methods

public boolean equals (Object o)

Parameters
o

public static ExtensionDescription getDefaultDescription ()

public String getId ()

public String getValue ()

public int hashCode ()

public void setId (String resId)

Parameters
resId

public void setValue (String value)

Parameters
value

Protected Methods

protected void consumeAttributes (AttributeHelper helper)

Consumes attributes from the attribute helper. May also use consumeContent(boolean) to consume the element's text content. Called from getHandler(ExtensionProfile, String, String, Attributes). Default implementation does nothing, though generally this is discouraged unless there really are no attributes.

Parameters
helper Attribute helper

protected void putAttributes (AttributeGenerator generator)

Puts attributes into the attribute generator. Called from generate(XmlWriter, ExtensionProfile). Default implementation does nothing, though generally this is discouraged unless there really are no attributes.

Parameters
generator Attribute generator

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.