Package com.ibm.wsspi.security.wim.model
Class AddressType
java.lang.Object
com.ibm.wsspi.security.wim.model.AddressType
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:
- nickName: an alias name for the physical location of an entity. For example: myHomeAddress
- street: the physical address of the object to which the entry corresponds, such as an address for package delivery. For example: 12345 West Lynn Street
- city: the physical city of the object to which the entry corresponds. For example, Austin
- stateOrProvinceName: the full name of a state or province. For example, Texas
- postalCode: the corresponding post office code of the entity. For example, 78758
- countryName: the name of the country associated with the entity. For example. United States
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the requested propertygetCity()Gets the value of the city property.Gets the value of the countryName property.getDataType(String propName) Gets the Java type of the value of the provided property.Gets the value of the nickName property.Gets the value of the postalCode property.static ListgetPropertyNames(String entityTypeName) Gets a list of all supported properties for this model object, AddressTypeGets the value of the stateOrProvinceName property.Gets the value of the street property.static HashSetGets a set of any model objects which extend this model object, AddressTypeGets a list of any model objects which this model object, AddressType, is an extension of.Gets the name of this model object, AddressTypebooleanReturns true if the requested property is set; false, otherwise.booleanReturns true if the city property is set; false, otherwise.booleanReturns a true if the countryName property is set; false, otherwise.booleanReturns true if the nickName property is set; false, otherwise.booleanReturns a true if the postCode property is set; false, otherwise.booleanReturns true if the stateOrProvinceName property is set; false, otherwise.booleanReturns true if the street property is set; false, otherwise.booleanReturns a true if the provided model object is one that this model object extends; false, otherwise.voidSets the value of the provided property to the provided value.voidSets the value of the city property.voidsetCountryName(String value) Sets the value of the countryName property.voidsetNickName(String value) Sets the value of the nickName property.voidsetPostalCode(String value) Sets the value of the postalCode property.voidsetStateOrProvinceName(String value) Sets the value of the stateOrProvinceName property.toString()Returns this model object, AddressType, and its contents as a StringvoidSets the value of provided property to null.voidResets the street property to null.
-
Constructor Details
-
AddressType
public AddressType()
-
-
Method Details
-
getNickName
Gets the value of the nickName property.- Returns:
- returned object is
String
-
setNickName
Sets the value of the nickName property.- Parameters:
value- allowed object isString
-
isSetNickName
public boolean isSetNickName()Returns true if the nickName property is set; false, otherwise.- Returns:
- returned object is
boolean
-
getStreet
Gets the value of the street property.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
setmethod 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 -
isSetStreet
public boolean isSetStreet()Returns true if the street property is set; false, otherwise.- Returns:
- returned object is
boolean
-
unsetStreet
public void unsetStreet()Resets the street property to null. -
getCity
Gets the value of the city property.- Returns:
- returned object is
String
-
setCity
Sets the value of the city property.- Parameters:
value- allowed object isString
-
isSetCity
public boolean isSetCity()Returns true if the city property is set; false, otherwise.- Returns:
- returned object is
boolean
-
getStateOrProvinceName
Gets the value of the stateOrProvinceName property.- Returns:
- returned object is
String
-
setStateOrProvinceName
Sets the value of the stateOrProvinceName property.- Parameters:
value- allowed object isString
-
isSetStateOrProvinceName
public boolean isSetStateOrProvinceName()Returns true if the stateOrProvinceName property is set; false, otherwise.- Returns:
- returned object is
boolean
-
getPostalCode
Gets the value of the postalCode property.- Returns:
- returned object is
String
-
setPostalCode
Sets the value of the postalCode property.- Parameters:
value- allowed object isString
-
isSetPostalCode
public boolean isSetPostalCode()Returns a true if the postCode property is set; false, otherwise.- Returns:
- returned object is
boolean
-
getCountryName
Gets the value of the countryName property.- Returns:
- returned object is
String
-
setCountryName
Sets the value of the countryName property.- Parameters:
value- allowed object isString
-
isSetCountryName
public boolean isSetCountryName()Returns a true if the countryName property is set; false, otherwise.- Returns:
- returned object is
boolean
-
get
Gets the value of the requested property -
isSet
Returns true if the requested property is set; false, otherwise.- Returns:
- returned object is
boolean
-
set
Sets the value of the provided property to the provided value. -
unset
Sets the value of provided property to null.- Parameters:
propName- allowed object isString
-
getTypeName
Gets the name of this model object, AddressType- Returns:
- returned object is
String
-
getPropertyNames
Gets a list of all supported properties for this model object, AddressType -
getDataType
Gets the Java type of the value of the provided property. For example: String, List -
getSuperTypes
Gets a list of any model objects which this model object, AddressType, is an extension of.- Returns:
- returned object is
ArrayList
-
isSubType
Returns a true if the provided model object is one that this model object extends; false, otherwise.- Parameters:
superTypeName- allowed object isString- Returns:
- returned object is
boolean
-
getSubTypes
Gets a set of any model objects which extend this model object, AddressType- Returns:
- returned object is
HashSet
-
toString
Returns this model object, AddressType, and its contents as a String
-