public class AddressType
extends java.lang.Object
Java class for AddressType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AddressType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="nickName" type="{http://www.w3.org/2001/XMLSchema}string"/> <element ref="{http://www.ibm.com/websphere/wim}street" maxOccurs="unbounded"/> <element ref="{http://www.ibm.com/websphere/wim}city"/> <element ref="{http://www.ibm.com/websphere/wim}stateOrProvinceName"/> <element ref="{http://www.ibm.com/websphere/wim}postalCode"/> <element ref="{http://www.ibm.com/websphere/wim}countryName"/> </sequence> </restriction> </complexContent> </complexType>
The AddressType object is used to describe the physical location of an entity, and has the following property names:
Constructor and Description |
---|
AddressType() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get(java.lang.String propName)
Gets the value of the requested property
|
java.lang.String |
getCity()
Gets the value of the city property.
|
java.lang.String |
getCountryName()
Gets the value of the countryName property.
|
java.lang.String |
getDataType(java.lang.String propName)
Gets the Java type of the value of the provided property.
|
java.lang.String |
getNickName()
Gets the value of the nickName property.
|
java.lang.String |
getPostalCode()
Gets the value of the postalCode property.
|
static java.util.List |
getPropertyNames(java.lang.String entityTypeName)
Gets a list of all supported properties for this model object, AddressType
|
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, AddressType
|
java.util.ArrayList |
getSuperTypes()
Gets a list of any model objects which this model object, AddressType, is
an extension of.
|
java.lang.String |
getTypeName()
Gets the name of this model object, AddressType
|
boolean |
isSet(java.lang.String propName)
Returns true if the requested property is set; false, otherwise.
|
boolean |
isSetCity()
Returns true if the city property is set; false, otherwise.
|
boolean |
isSetCountryName()
Returns a true if the countryName property is set; false, otherwise.
|
boolean |
isSetNickName()
Returns true if the nickName property is set; false, otherwise.
|
boolean |
isSetPostalCode()
Returns a true if the postCode property is set; false, otherwise.
|
boolean |
isSetStateOrProvinceName()
Returns true if the stateOrProvinceName property is set; false, otherwise.
|
boolean |
isSetStreet()
Returns 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 |
setCity(java.lang.String value)
Sets the value of the city property.
|
void |
setCountryName(java.lang.String value)
Sets the value of the countryName property.
|
void |
setNickName(java.lang.String value)
Sets the value of the nickName property.
|
void |
setPostalCode(java.lang.String value)
Sets the value of the postalCode property.
|
void |
setStateOrProvinceName(java.lang.String value)
Sets the value of the stateOrProvinceName property.
|
java.lang.String |
toString()
Returns this model object, AddressType, and its contents as a String
|
void |
unset(java.lang.String propName)
Sets the value of provided property to null.
|
void |
unsetStreet()
Resets the street property to null.
|
public java.lang.String getNickName()
String
public void setNickName(java.lang.String value)
value
- allowed object is String
public boolean isSetNickName()
boolean
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.lang.String getCity()
String
public void setCity(java.lang.String value)
value
- allowed object is String
public boolean isSetCity()
boolean
public java.lang.String getStateOrProvinceName()
String
public void setStateOrProvinceName(java.lang.String value)
value
- allowed object is String
public boolean isSetStateOrProvinceName()
boolean
public java.lang.String getPostalCode()
String
public void setPostalCode(java.lang.String value)
value
- allowed object is String
public boolean isSetPostalCode()
boolean
public java.lang.String getCountryName()
String
public void setCountryName(java.lang.String value)
value
- allowed object is String
public boolean isSetCountryName()
boolean
public java.lang.Object get(java.lang.String propName)
propName
- allowed object is String
Object
public boolean isSet(java.lang.String propName)
boolean
public void set(java.lang.String propName, java.lang.Object value)
propName
- allowed object is String
value
- allowed object is Object
public void unset(java.lang.String propName)
propName
- allowed object is String
public java.lang.String getTypeName()
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)
propName
- allowed object is String
String
public java.util.ArrayList getSuperTypes()
ArrayList
public boolean isSubType(java.lang.String superTypeName)
superTypeName
- allowed object is String
boolean
public static java.util.HashSet getSubTypes()
HashSet
public java.lang.String toString()
toString
in class java.lang.Object
String