Class Locality
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
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the requested propertygetDataType
(String propName) Gets the Java type of the value of the provided property.Gets the value of the description property.getL()
Gets the value of the l property.Gets the value of the localityName property.static List
getPropertyNames
(String entityTypeName) Gets a list of all supported properties for this model object, LocalityGets the value of the seeAlso property.getSt()
Gets the value of the st property.Gets the value of the stateOrProvinceName property.Gets the value of the street property.static HashSet
Gets a set of any model objects which extend this model object, LocalityGets a list of any model objects which this model object, Locality, is an extension of.Gets the name of this model object, Localityboolean
isMultiValuedProperty
(String propName) Return whether the specified property is a multi-valued property and capable of holding multiple values.boolean
Returns true if the requested property is set; false, otherwise.boolean
Returns a true if the description property is set; false, otherwise.boolean
isSetL()
Returns a true if the l property is set; false, otherwise.boolean
Returns a true if the localityName property is set; false, otherwise.boolean
Returns a true if the seeAlso property is set; false, otherwise.boolean
isSetSt()
Returns a true if the st property is set; false, otherwise.boolean
Returns a true if the stateOrProvinceName property is set; false, otherwise.boolean
Returns a true if the street property is set; false, otherwise.boolean
Returns a true if the provided model object is one that this model object extends; false, otherwise.void
Sets the value of the provided property to the provided value.void
Sets the value of the l property.void
setLocalityName
(String value) Sets the value of the localityName property.toString()
Returns this model object, Locality, and its contents as a Stringvoid
Sets the value of provided property to null.void
Resets the value of the description property to nullvoid
Resets the value of the seeAlso property to nullvoid
unsetSt()
Resets the value of the st property to nullvoid
Resets the value of the stateOrProvinceName property to nullvoid
Resets the value of the street property to nullMethods 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
-
Constructor Details
-
Locality
public Locality()
-
-
Method Details
-
getL
Gets the value of the l property.- Returns:
- possible object is
String
-
setL
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
Gets the value of the localityName property.- Returns:
- possible object is
String
-
setLocalityName
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
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
set
method 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
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
set
method 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
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 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
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
set
method 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
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
set
method 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
Gets the value of the requested property- Overrides:
get
in classGeographicLocation
- Parameters:
propName
- allowed object isString
- Returns:
- returned object is
Object
-
isSet
Returns true if the requested property is set; false, otherwise.- Overrides:
isSet
in classGeographicLocation
- Returns:
- returned object is
boolean
-
set
Sets the value of the provided property to the provided value.- Overrides:
set
in classGeographicLocation
- Parameters:
propName
- allowed object isString
value
- allowed object isObject
-
unset
Sets the value of provided property to null.- Overrides:
unset
in classGeographicLocation
- Parameters:
propName
- allowed object isString
-
getTypeName
Gets the name of this model object, Locality- Overrides:
getTypeName
in classGeographicLocation
- Returns:
- returned object is
String
-
getPropertyNames
Gets a list of all supported properties for this model object, Locality -
getDataType
Gets the Java type of the value of the provided property. For example: String, List- Overrides:
getDataType
in classGeographicLocation
- Parameters:
propName
- allowed object isString
- Returns:
- returned object is
String
-
getSuperTypes
Gets a list of any model objects which this model object, Locality, is an extension of.- Overrides:
getSuperTypes
in classGeographicLocation
- Returns:
- returned object is
ArrayList
-
isSubType
Returns a true if the provided model object is one that this model object extends; false, otherwise.- Overrides:
isSubType
in classGeographicLocation
- Parameters:
superTypeName
- allowed object isString
- Returns:
- returned object is
boolean
-
getSubTypes
Gets a set of any model objects which extend this model object, Locality- Returns:
- returned object is
HashSet
-
toString
Returns this model object, Locality, and its contents as a String- Overrides:
toString
in classGeographicLocation
- Returns:
- returned object is
String
-
isMultiValuedProperty
Description copied from class:Entity
Return whether the specified property is a multi-valued property and capable of holding multiple values.- Overrides:
isMultiValuedProperty
in classEntity
- Parameters:
propName
- The property name to check.- Returns:
- True if the property is multi-value, false otherwise.
-