public class Location extends Object implements Serializable
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.| Constructor and Description |
|---|
Location() |
Location(Long id,
String type,
Integer canonicalParentId,
String displayName,
String locationType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Integer |
getCanonicalParentId()
Gets the canonicalParentId value for this Location.
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
String |
getDisplayName()
Gets the displayName value for this Location.
|
Long |
getId()
Gets the id value for this Location.
|
String |
getLocationType()
Gets the locationType value for this Location.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
String |
getType()
Gets the type value for this Location.
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
int |
hashCode() |
void |
setCanonicalParentId(Integer canonicalParentId)
Sets the canonicalParentId value for this Location.
|
void |
setDisplayName(String displayName)
Sets the displayName value for this Location.
|
void |
setId(Long id)
Sets the id value for this Location.
|
void |
setLocationType(String locationType)
Sets the locationType value for this Location.
|
void |
setType(String type)
Sets the type value for this Location.
|
public Long getId()
Location.public void setId(Long id)
id - * Uniquely identifies each Location.public String getType()
public void setType(String type)
type - * The location type for this geographical entity (ex. Country,
City, State, County, etc.)public Integer getCanonicalParentId()
public void setCanonicalParentId(Integer canonicalParentId)
canonicalParentId - * The nearest location parent's ID for this geographical entity.public String getDisplayName()
public void setDisplayName(String displayName)
displayName - * The localized name of the geographical entity.public String getLocationType()
public void setLocationType(String locationType)
locationType - * Indicates that this instance is a subtype of Location.
Although this field is returned in the response, it
is ignored on input
and cannot be selected. Specify xsi:type instead.public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2013. All Rights Reserved.