Package com.ibm.wsspi.security.wim.model
Class Country
- java.lang.Object
-
- com.ibm.wsspi.security.wim.model.Entity
-
- com.ibm.wsspi.security.wim.model.GeographicLocation
-
- com.ibm.wsspi.security.wim.model.Country
-
public class Country extends GeographicLocation
Java class for Country complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Country"> <complexContent> <extension base="{http://www.ibm.com/websphere/wim}GeographicLocation"> <sequence> <element ref="{http://www.ibm.com/websphere/wim}c" minOccurs="0"/> <element ref="{http://www.ibm.com/websphere/wim}countryName" minOccurs="0"/> <element ref="{http://www.ibm.com/websphere/wim}description" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
The Country object extends the GeographicLocation object, and represents information related to a country. It contains several properties: c, countryName and description.
- c: short form for the countryName property.
- countryName: defines the name of the country.
- description: describes this object.
-
-
Constructor Summary
Constructors Constructor Description Country()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
get(java.lang.String propName)
Gets the value of the requested propertyjava.lang.String
getC()
Gets the value of the c 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.util.List<java.lang.String>
getDescription()
Gets the value of the description property.static java.util.List
getPropertyNames(java.lang.String entityTypeName)
Gets a list of all supported properties for this model object, Countrystatic java.util.HashSet
getSubTypes()
Gets a set of any model objects which extend this model object, Countryjava.util.ArrayList
getSuperTypes()
Gets a list of any model objects which this model object, Country, is an extension of.java.lang.String
getTypeName()
Gets the name of this model object, Countryboolean
isMultiValuedProperty(java.lang.String propName)
Return whether the specified property is a multi-valued property and capable of holding multiple values.boolean
isSet(java.lang.String propName)
Returns true if the requested property is set; false, otherwise.boolean
isSetC()
Returns true if the c property is set; false, otherwise.boolean
isSetCountryName()
Returns true if the countryName property is set; false, otherwise.boolean
isSetDescription()
Returns true if the description 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
setC(java.lang.String value)
Sets the value of the c property.void
setCountryName(java.lang.String value)
Sets the value of the countryName property.java.lang.String
toString()
Returns this model object, GeographicLocation, and its contents as a Stringvoid
unset(java.lang.String propName)
Sets the value of provided property to null.void
unsetDescription()
Resets the description 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
-
getC
public java.lang.String getC()
Gets the value of the c property.- Returns:
- possible object is
String
-
setC
public void setC(java.lang.String value)
Sets the value of the c property.- Parameters:
value
- allowed object isString
-
isSetC
public boolean isSetC()
Returns true if the c property is set; false, otherwise.- Returns:
- returned object is
boolean
-
getCountryName
public java.lang.String getCountryName()
Gets the value of the countryName property.- Returns:
- possible object is
String
-
setCountryName
public void setCountryName(java.lang.String value)
Sets the value of the countryName property.- Parameters:
value
- allowed object isString
-
isSetCountryName
public boolean isSetCountryName()
Returns true if the countryName property is set; false, otherwise.- Returns:
- returned object is
boolean
-
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
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 true if the description property is set; false, otherwise.- Returns:
- returned object is
boolean
-
unsetDescription
public void unsetDescription()
Resets the description property to null.
-
get
public java.lang.Object get(java.lang.String propName)
Gets the value of the requested property- Overrides:
get
in 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:
isSet
in 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:
set
in classGeographicLocation
- Parameters:
propName
- allowed object isString
value
- allowed object isObject
-
unset
public void unset(java.lang.String propName)
Sets the value of provided property to null.- Overrides:
unset
in classGeographicLocation
- Parameters:
propName
- allowed object isString
-
getTypeName
public java.lang.String getTypeName()
Gets the name of this model object, Country- Overrides:
getTypeName
in 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, Country- 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:
getDataType
in 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, Country, is an extension of.- Overrides:
getSuperTypes
in 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:
isSubType
in 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, Country- Returns:
- returned object is
HashSet
-
toString
public java.lang.String toString()
Description copied from class:GeographicLocation
Returns this model object, GeographicLocation, and its contents as a String- Overrides:
toString
in classGeographicLocation
- Returns:
- returned object is
String
-
isMultiValuedProperty
public boolean isMultiValuedProperty(java.lang.String propName)
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.
-
-