Class Locality
- java.lang.Object
-
- com.ibm.wsspi.security.wim.model.Entity
-
- com.ibm.wsspi.security.wim.model.GeographicLocation
-
- com.ibm.wsspi.security.wim.model.Locality
-
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.
- l: a short form for the localityName.
- localityName: contains the name of a locality, such as a city, county or other geographic region.
- st: a short form for stateOrProvinceName.
- stateOrProvinceName: contains the full name of a state or province (stateOrProvinceName).
- street: contains the physical address of the object to which the entry corresponds, such as an address for package delivery.
- description: describes this object.
-
-
Constructor Summary
Constructors Constructor Description Locality()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectget(java.lang.String propName)Gets the value of the requested propertyjava.lang.StringgetDataType(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.StringgetL()Gets the value of the l property.java.lang.StringgetLocalityName()Gets the value of the localityName property.static java.util.ListgetPropertyNames(java.lang.String entityTypeName)Gets a list of all supported properties for this model object, Localityjava.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.HashSetgetSubTypes()Gets a set of any model objects which extend this model object, Localityjava.util.ArrayListgetSuperTypes()Gets a list of any model objects which this model object, Locality, is an extension of.java.lang.StringgetTypeName()Gets the name of this model object, LocalitybooleanisMultiValuedProperty(java.lang.String propName)Return whether the specified property is a multi-valued property and capable of holding multiple values.booleanisSet(java.lang.String propName)Returns true if the requested property is set; false, otherwise.booleanisSetDescription()Returns a true if the description property is set; false, otherwise.booleanisSetL()Returns a true if the l property is set; false, otherwise.booleanisSetLocalityName()Returns a true if the localityName property is set; false, otherwise.booleanisSetSeeAlso()Returns a true if the seeAlso property is set; false, otherwise.booleanisSetSt()Returns a true if the st property is set; false, otherwise.booleanisSetStateOrProvinceName()Returns a true if the stateOrProvinceName property is set; false, otherwise.booleanisSetStreet()Returns a true if the street property is set; false, otherwise.booleanisSubType(java.lang.String superTypeName)Returns a true if the provided model object is one that this model object extends; false, otherwise.voidset(java.lang.String propName, java.lang.Object value)Sets the value of the provided property to the provided value.voidsetL(java.lang.String value)Sets the value of the l property.voidsetLocalityName(java.lang.String value)Sets the value of the localityName property.java.lang.StringtoString()Returns this model object, Locality, and its contents as a Stringvoidunset(java.lang.String propName)Sets the value of provided property to null.voidunsetDescription()Resets the value of the description property to nullvoidunsetSeeAlso()Resets the value of the seeAlso property to nullvoidunsetSt()Resets the value of the st property to nullvoidunsetStateOrProvinceName()Resets the value of the stateOrProvinceName property to nullvoidunsetStreet()Resets the value of the street property to null-
Methods inherited from class com.ibm.wsspi.security.wim.model.Entity
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
-
-
-
-
Method Detail
-
getL
public java.lang.String getL()
Gets the value of the l property.- Returns:
- possible object is
String
-
setL
public void setL(java.lang.String value)
Sets the value of the l property.- Parameters:
value- allowed object isString
-
isSetL
public boolean isSetL()
Returns a true if the l property is set; false, otherwise.- Returns:
- returned object is
boolean
-
getLocalityName
public java.lang.String getLocalityName()
Gets the value of the localityName property.- Returns:
- possible object is
String
-
setLocalityName
public void setLocalityName(java.lang.String value)
Sets the value of the localityName property.- Parameters:
value- allowed object isString
-
isSetLocalityName
public boolean isSetLocalityName()
Returns a true if the localityName property is set; false, otherwise.- Returns:
- returned object is
boolean
-
getSt
public java.util.List<java.lang.String> getSt()
Gets the value of the st 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 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
-
isSetSt
public boolean isSetSt()
Returns a true if the st property is set; false, otherwise.- Returns:
- returned object is
boolean
-
unsetSt
public void unsetSt()
Resets the value of the st property to null
-
getStateOrProvinceName
public java.util.List<java.lang.String> getStateOrProvinceName()
Gets the value of the stateOrProvinceName 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 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
-
isSetStateOrProvinceName
public boolean isSetStateOrProvinceName()
Returns a true if the stateOrProvinceName property is set; false, otherwise.- Returns:
- returned object is
boolean
-
unsetStateOrProvinceName
public void unsetStateOrProvinceName()
Resets the value of the stateOrProvinceName property to null
-
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
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 a true if the street property is set; false, otherwise.- Returns:
- returned object is
boolean
-
unsetStreet
public void unsetStreet()
Resets the value of the street property to null
-
getSeeAlso
public java.util.List<java.lang.String> getSeeAlso()
Gets the value of the seeAlso 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 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
-
isSetSeeAlso
public boolean isSetSeeAlso()
Returns a true if the seeAlso property is set; false, otherwise.- Returns:
- returned object is
boolean
-
unsetSeeAlso
public void unsetSeeAlso()
Resets the value of the seeAlso property to null
-
getDescription
public java.util.List<java.lang.String> getDescription()
Gets the value of the description 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 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
-
isSetDescription
public boolean isSetDescription()
Returns a true if the description property is set; false, otherwise.- Returns:
- returned object is
boolean
-
unsetDescription
public void unsetDescription()
Resets the value of the description property to null
-
get
public java.lang.Object get(java.lang.String propName)
Gets the value of the requested property- Overrides:
getin classGeographicLocation- Parameters:
propName- allowed object isString- Returns:
- returned object is
Object
-
isSet
public boolean isSet(java.lang.String propName)
Returns true if the requested property is set; false, otherwise.- Overrides:
isSetin classGeographicLocation- 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.- Overrides:
setin classGeographicLocation- Parameters:
propName- allowed object isStringvalue- allowed object isObject
-
unset
public void unset(java.lang.String propName)
Sets the value of provided property to null.- Overrides:
unsetin classGeographicLocation- Parameters:
propName- allowed object isString
-
getTypeName
public java.lang.String getTypeName()
Gets the name of this model object, Locality- Overrides:
getTypeNamein classGeographicLocation- 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, Locality- Parameters:
entityTypeName- allowed object isString- 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- Overrides:
getDataTypein classGeographicLocation- Parameters:
propName- allowed object isString- Returns:
- returned object is
String
-
getSuperTypes
public java.util.ArrayList getSuperTypes()
Gets a list of any model objects which this model object, Locality, is an extension of.- Overrides:
getSuperTypesin classGeographicLocation- 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.- Overrides:
isSubTypein classGeographicLocation- Parameters:
superTypeName- allowed object isString- Returns:
- returned object is
boolean
-
getSubTypes
public static java.util.HashSet getSubTypes()
Gets a set of any model objects which extend this model object, Locality- Returns:
- returned object is
HashSet
-
toString
public java.lang.String toString()
Returns this model object, Locality, and its contents as a String- Overrides:
toStringin classGeographicLocation- Returns:
- returned object is
String
-
isMultiValuedProperty
public boolean isMultiValuedProperty(java.lang.String propName)
Description copied from class:EntityReturn whether the specified property is a multi-valued property and capable of holding multiple values.- Overrides:
isMultiValuedPropertyin classEntity- Parameters:
propName- The property name to check.- Returns:
- True if the property is multi-value, false otherwise.
-
-