|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.model.Element
com.google.gdata.model.gd.Where
public class Where
Describes a place (not necessarily a specific geographical location).
Nested Class Summary | |
---|---|
static class |
Where.Rel
Meaning of this location. |
Field Summary | |
---|---|
static ElementKey<java.lang.Void,Where> |
KEY
The key for this element. |
static AttributeKey<java.lang.String> |
LABEL
User-readable label that identifies this location in case multiple locations may be present. |
static AttributeKey<java.lang.String> |
REL
Meaning of this location. |
static AttributeKey<java.lang.String> |
VALUE_STRING
Text description of the place. |
Constructor Summary | |
---|---|
Where()
Constructs an instance using the default key. |
Method Summary | |
---|---|
EntryLink |
getEntryLink()
Returns the nested person or venue (Contact) entry. |
java.lang.String |
getLabel()
Returns the user-readable label that identifies this location in case multiple locations may be present. |
java.lang.String |
getRel()
Returns the meaning of this location. |
java.lang.String |
getValueString()
Returns the text description of the place. |
boolean |
hasEntryLink()
Returns whether it has the nested person or venue (Contact) entry. |
boolean |
hasLabel()
Returns whether it has the user-readable label that identifies this location in case multiple locations may be present. |
boolean |
hasRel()
Returns whether it has the meaning of this location. |
boolean |
hasValueString()
Returns whether it has the text description of the place. |
Where |
lock()
Locks this element. |
static void |
registerMetadata(MetadataRegistry registry)
Registers the metadata for this element. |
Where |
setEntryLink(EntryLink entryLink)
Sets the nested person or venue (Contact) entry. |
Where |
setLabel(java.lang.String label)
Sets the user-readable label that identifies this location in case multiple locations may be present. |
Where |
setRel(java.lang.String rel)
Sets the meaning of this location. |
Where |
setValueString(java.lang.String valueString)
Sets the text description of the place. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ElementKey<java.lang.Void,Where> KEY
public static final AttributeKey<java.lang.String> LABEL
public static final AttributeKey<java.lang.String> REL
public static final AttributeKey<java.lang.String> VALUE_STRING
Constructor Detail |
---|
public Where()
Method Detail |
---|
public static void registerMetadata(MetadataRegistry registry)
public Where lock()
Element
lock
in class Element
public EntryLink getEntryLink()
public Where setEntryLink(EntryLink entryLink)
entryLink
- nested person or venue (Contact) entry or null
to
reset
public boolean hasEntryLink()
public java.lang.String getLabel()
public Where setLabel(java.lang.String label)
label
- user-readable label that identifies this location in case
multiple locations may be present or null
to reset
public boolean hasLabel()
public java.lang.String getRel()
public Where setRel(java.lang.String rel)
rel
- meaning of this location or null
to reset
public boolean hasRel()
public java.lang.String getValueString()
public Where setValueString(java.lang.String valueString)
valueString
- text description of the place or null
to reset
public boolean hasValueString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |