public class Locality extends GeographicLocation
Java class for Locality complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Locality"> <complexContent> <extension base="{http://www.ibm.com/websphere/wim}GeographicLocation"> <sequence> <element ref="{http://www.ibm.com/websphere/wim}l" minOccurs="0"/> <element ref="{http://www.ibm.com/websphere/wim}localityName" minOccurs="0"/> <element ref="{http://www.ibm.com/websphere/wim}st" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.ibm.com/websphere/wim}stateOrProvinceName" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.ibm.com/websphere/wim}street" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.ibm.com/websphere/wim}seeAlso" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.ibm.com/websphere/wim}description" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
The Locality object extends the GeographicLocation object and defines several properties: l, localityName, st, stateOrProvinceName, street and description. This object represents a geographic area.
Constructor and Description |
---|
Locality() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get(java.lang.String propName)
Gets the value of the requested property
|
java.lang.String |
getDataType(java.lang.String propName)
Gets the Java type of the value of the provided property.
|
java.util.List<java.lang.String> |
getDescription()
Gets the value of the description property.
|
java.lang.String |
getL()
Gets the value of the l property.
|
java.lang.String |
getLocalityName()
Gets the value of the localityName property.
|
static java.util.List |
getPropertyNames(java.lang.String entityTypeName)
Gets a list of all supported properties for this model object, Locality
|
java.util.List<java.lang.String> |
getSeeAlso()
Gets the value of the seeAlso property.
|
java.util.List<java.lang.String> |
getSt()
Gets the value of the st property.
|
java.util.List<java.lang.String> |
getStateOrProvinceName()
Gets the value of the stateOrProvinceName property.
|
java.util.List<java.lang.String> |
getStreet()
Gets the value of the street property.
|
static java.util.HashSet |
getSubTypes()
Gets a set of any model objects which extend this model object, Locality
|
java.util.ArrayList |
getSuperTypes()
Gets a list of any model objects which this model object, Locality, is
an extension of.
|
java.lang.String |
getTypeName()
Gets the name of this model object, Locality
|
boolean |
isMultiValuedProperty(java.lang.String propName)
Return whether the specified property is a multi-valued property and capable of holding
multiple values.
|
boolean |
isSet(java.lang.String propName)
Returns true if the requested property is set; false, otherwise.
|
boolean |
isSetDescription()
Returns a true if the description property is set; false, otherwise.
|
boolean |
isSetL()
Returns a true if the l property is set; false, otherwise.
|
boolean |
isSetLocalityName()
Returns a true if the localityName property is set; false, otherwise.
|
boolean |
isSetSeeAlso()
Returns a true if the seeAlso property is set; false, otherwise.
|
boolean |
isSetSt()
Returns a true if the st property is set; false, otherwise.
|
boolean |
isSetStateOrProvinceName()
Returns a true if the stateOrProvinceName property is set; false, otherwise.
|
boolean |
isSetStreet()
Returns a true if the street property is set; false, otherwise.
|
boolean |
isSubType(java.lang.String superTypeName)
Returns a true if the provided model object is one that this
model object extends; false, otherwise.
|
void |
set(java.lang.String propName,
java.lang.Object value)
Sets the value of the provided property to the provided value.
|
void |
setL(java.lang.String value)
Sets the value of the l property.
|
void |
setLocalityName(java.lang.String value)
Sets the value of the localityName property.
|
java.lang.String |
toString()
Returns this model object, Locality, and its contents as a String
|
void |
unset(java.lang.String propName)
Sets the value of provided property to null.
|
void |
unsetDescription()
Resets the value of the description property to null
|
void |
unsetSeeAlso()
Resets the value of the seeAlso property to null
|
void |
unsetSt()
Resets the value of the st property to null
|
void |
unsetStateOrProvinceName()
Resets the value of the stateOrProvinceName property to null
|
void |
unsetStreet()
Resets the value of the street property to null
|
getChangeType, getChildren, getCreateTimestamp, getEntitlementInfo, getGroups, getIdentifier, getModifyTimestamp, getParent, getSubEntityTypes, getViewIdentifiers, isMandatory, isPersistentProperty, isSetChangeType, isSetChildren, isSetCreateTimestamp, isSetEntitlementInfo, isSetGroups, isSetIdentifier, isSetModifyTimestamp, isSetParent, isSetViewIdentifiers, isUnset, reInitializePropertyNames, setChangeType, setCreateTimestamp, setEntitlementInfo, setIdentifier, setModifyTimestamp, setParent, unsetChildren, unsetGroups, unsetViewIdentifiers
public java.lang.String getL()
String
public void setL(java.lang.String value)
value
- allowed object is String
public boolean isSetL()
boolean
public java.lang.String getLocalityName()
String
public void setLocalityName(java.lang.String value)
value
- allowed object is String
public boolean isSetLocalityName()
boolean
public java.util.List<java.lang.String> getSt()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the st property.
For example, to add a new item, do as follows:
getSt().add(newItem);
Objects of the following type(s) are allowed in the list String
public boolean isSetSt()
boolean
public void unsetSt()
public java.util.List<java.lang.String> getStateOrProvinceName()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the stateOrProvinceName property.
For example, to add a new item, do as follows:
getStateOrProvinceName().add(newItem);
Objects of the following type(s) are allowed in the list String
public boolean isSetStateOrProvinceName()
boolean
public void unsetStateOrProvinceName()
public java.util.List<java.lang.String> getStreet()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the street property.
For example, to add a new item, do as follows:
getStreet().add(newItem);
Objects of the following type(s) are allowed in the list String
public boolean isSetStreet()
boolean
public void unsetStreet()
public java.util.List<java.lang.String> getSeeAlso()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the seeAlso property.
For example, to add a new item, do as follows:
getSeeAlso().add(newItem);
Objects of the following type(s) are allowed in the list String
public boolean isSetSeeAlso()
boolean
public void unsetSeeAlso()
public java.util.List<java.lang.String> getDescription()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the description property.
For example, to add a new item, do as follows:
getDescription().add(newItem);
Objects of the following type(s) are allowed in the list String
public boolean isSetDescription()
boolean
public void unsetDescription()
public java.lang.Object get(java.lang.String propName)
get
in class GeographicLocation
propName
- allowed object is String
Object
public boolean isSet(java.lang.String propName)
isSet
in class GeographicLocation
boolean
public void set(java.lang.String propName, java.lang.Object value)
set
in class GeographicLocation
propName
- allowed object is String
value
- allowed object is Object
public void unset(java.lang.String propName)
unset
in class GeographicLocation
propName
- allowed object is String
public java.lang.String getTypeName()
getTypeName
in class GeographicLocation
String
public static java.util.List getPropertyNames(java.lang.String entityTypeName)
entityTypeName
- allowed object is String
List
public java.lang.String getDataType(java.lang.String propName)
getDataType
in class GeographicLocation
propName
- allowed object is String
String
public java.util.ArrayList getSuperTypes()
getSuperTypes
in class GeographicLocation
ArrayList
public boolean isSubType(java.lang.String superTypeName)
isSubType
in class GeographicLocation
superTypeName
- allowed object is String
boolean
public static java.util.HashSet getSubTypes()
HashSet
public java.lang.String toString()
toString
in class GeographicLocation
String
public boolean isMultiValuedProperty(java.lang.String propName)
Entity
isMultiValuedProperty
in class Entity
propName
- The property name to check.