com.ibm.wsspi.security.wim.model

Class AddressType

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


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

    • 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 
      Constructor and Description
      AddressType() 
    • Method Summary

      Methods 
      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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AddressType

        public AddressType()
    • Method Detail

      • getNickName

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

        public void setNickName(java.lang.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 java.util.List<java.lang.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 java.lang.String getCity()
        Gets the value of the city property.
        Returns:
        returned object is String
      • setCity

        public void setCity(java.lang.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 java.lang.String getStateOrProvinceName()
        Gets the value of the stateOrProvinceName property.
        Returns:
        returned object is String
      • setStateOrProvinceName

        public void setStateOrProvinceName(java.lang.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 java.lang.String getPostalCode()
        Gets the value of the postalCode property.
        Returns:
        returned object is String
      • setPostalCode

        public void setPostalCode(java.lang.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 java.lang.String getCountryName()
        Gets the value of the countryName property.
        Returns:
        returned object is String
      • setCountryName

        public void setCountryName(java.lang.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 java.lang.Object get(java.lang.String propName)
        Gets the value of the requested property
        Parameters:
        propName - allowed object is String
        Returns:
        returned object is Object
      • isSet

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

        public void set(java.lang.String propName,
               java.lang.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(java.lang.String propName)
        Sets the value of provided property to null.
        Parameters:
        propName - allowed object is String
      • getTypeName

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

        public static java.util.List getPropertyNames(java.lang.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 java.lang.String getDataType(java.lang.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 java.util.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(java.lang.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 java.util.HashSet getSubTypes()
        Gets a set of any model objects which extend this model object, AddressType
        Returns:
        returned object is HashSet
      • toString

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