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) |
| 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.
|
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 |
setType(String type)
Sets the type value for this Location.
|
String |
toString() |
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 static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2022. All rights reserved.