public class Location extends Object
Location represents a geographical entity that can be targeted. If
a location type is not available because of the API version you are using,
the location will be represented as just the base class, otherwise it will be
sub-classed correctly.
Java class for Location complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Location">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="canonicalParentId" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="displayName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
canonicalParentId |
protected String |
displayName |
protected Long |
id |
protected String |
type |
| Constructor and Description |
|---|
Location() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getCanonicalParentId()
Gets the value of the canonicalParentId property.
|
String |
getDisplayName()
Gets the value of the displayName property.
|
Long |
getId()
Gets the value of the id property.
|
String |
getType()
Gets the value of the type property.
|
void |
setCanonicalParentId(Integer value)
Sets the value of the canonicalParentId property.
|
void |
setDisplayName(String value)
Sets the value of the displayName property.
|
void |
setId(Long value)
Sets the value of the id property.
|
void |
setType(String value)
Sets the value of the type property.
|
protected Long id
protected String type
protected Integer canonicalParentId
protected String displayName
public void setId(Long value)
value - allowed object is
Longpublic String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic Integer getCanonicalParentId()
Integerpublic void setCanonicalParentId(Integer value)
value - allowed object is
Integerpublic String getDisplayName()
StringCopyright © 2018. All Rights Reserved.