Class AddressType

java.lang.Object
com.ibm.wsspi.security.wim.model.AddressType

public class AddressType extends 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:

  • 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 Details

    • AddressType

      public AddressType()
  • Method Details

    • getNickName

      public String getNickName()
      Gets the value of the nickName property.
      Returns:
      returned object is String
    • setNickName

      public void setNickName(String value)
      Sets the value of the nickName property.
      Parameters:
      value - allowed object is String
    • isSetNickName

      public boolean isSetNickName()
      Returns true if the nickName property is set; false, otherwise.
      Returns:
      returned object is boolean
    • getStreet

      public List<String> 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 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

    • 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

      public String getCity()
      Gets the value of the city property.
      Returns:
      returned object is String
    • setCity

      public void setCity(String value)
      Sets the value of the city property.
      Parameters:
      value - allowed object is String
    • isSetCity

      public boolean isSetCity()
      Returns true if the city property is set; false, otherwise.
      Returns:
      returned object is boolean
    • getStateOrProvinceName

      public String getStateOrProvinceName()
      Gets the value of the stateOrProvinceName property.
      Returns:
      returned object is String
    • setStateOrProvinceName

      public void setStateOrProvinceName(String value)
      Sets the value of the stateOrProvinceName property.
      Parameters:
      value - allowed object is String
    • isSetStateOrProvinceName

      public boolean isSetStateOrProvinceName()
      Returns true if the stateOrProvinceName property is set; false, otherwise.
      Returns:
      returned object is boolean
    • getPostalCode

      public String getPostalCode()
      Gets the value of the postalCode property.
      Returns:
      returned object is String
    • setPostalCode

      public void setPostalCode(String value)
      Sets the value of the postalCode property.
      Parameters:
      value - allowed object is String
    • isSetPostalCode

      public boolean isSetPostalCode()
      Returns a true if the postCode property is set; false, otherwise.
      Returns:
      returned object is boolean
    • getCountryName

      public String getCountryName()
      Gets the value of the countryName property.
      Returns:
      returned object is String
    • setCountryName

      public void setCountryName(String value)
      Sets the value of the countryName property.
      Parameters:
      value - allowed object is String
    • isSetCountryName

      public boolean isSetCountryName()
      Returns a true if the countryName property is set; false, otherwise.
      Returns:
      returned object is boolean
    • get

      public Object get(String propName)
      Gets the value of the requested property
      Parameters:
      propName - allowed object is String
      Returns:
      returned object is Object
    • isSet

      public boolean isSet(String propName)
      Returns true if the requested property is set; false, otherwise.
      Returns:
      returned object is boolean
    • set

      public void set(String propName, Object value)
      Sets the value of the provided property to the provided value.
      Parameters:
      propName - allowed object is String
      value - allowed object is Object
    • unset

      public void unset(String propName)
      Sets the value of provided property to null.
      Parameters:
      propName - allowed object is String
    • getTypeName

      public String getTypeName()
      Gets the name of this model object, AddressType
      Returns:
      returned object is String
    • getPropertyNames

      public static List getPropertyNames(String entityTypeName)
      Gets a list of all supported properties for this model object, AddressType
      Parameters:
      entityTypeName - allowed object is String
      Returns:
      returned object is List
    • getDataType

      public String getDataType(String propName)
      Gets the Java type of the value of the provided property. For example: String, List
      Parameters:
      propName - allowed object is String
      Returns:
      returned object is String
    • getSuperTypes

      public ArrayList getSuperTypes()
      Gets a list of any model objects which this model object, AddressType, is an extension of.
      Returns:
      returned object is ArrayList
    • isSubType

      public boolean isSubType(String superTypeName)
      Returns a true if the provided model object is one that this model object extends; false, otherwise.
      Parameters:
      superTypeName - allowed object is String
      Returns:
      returned object is boolean
    • getSubTypes

      public static HashSet getSubTypes()
      Gets a set of any model objects which extend this model object, AddressType
      Returns:
      returned object is HashSet
    • toString

      public String toString()
      Returns this model object, AddressType, and its contents as a String
      Overrides:
      toString in class Object
      Returns:
      returned object is String