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
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 -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the requested propertygetC()Gets the value of the c property.Gets the value of the countryName property.getDataType(String propName) Gets the Java type of the value of the provided property.Gets the value of the description property.static ListgetPropertyNames(String entityTypeName) Gets a list of all supported properties for this model object, Countrystatic HashSetGets a set of any model objects which extend this model object, CountryGets a list of any model objects which this model object, Country, is an extension of.Gets the name of this model object, CountrybooleanisMultiValuedProperty(String propName) Return whether the specified property is a multi-valued property and capable of holding multiple values.booleanReturns true if the requested property is set; false, otherwise.booleanisSetC()Returns true if the c property is set; false, otherwise.booleanReturns true if the countryName property is set; false, otherwise.booleanReturns true if the description property is set; false, otherwise.booleanReturns a true if the provided model object is one that this model object extends; false, otherwise.voidSets the value of the provided property to the provided value.voidSets the value of the c property.voidsetCountryName(String value) Sets the value of the countryName property.toString()Returns this model object, GeographicLocation, and its contents as a StringvoidSets the value of provided property to null.voidResets 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
-
Constructor Details
-
Country
public Country()
-
-
Method Details
-
getC
Gets the value of the c property.- Returns:
- possible object is
String
-
setC
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
Gets the value of the countryName property.- Returns:
- possible object is
String
-
setCountryName
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
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 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
Gets the value of the requested property- Overrides:
getin classGeographicLocation- Parameters:
propName- allowed object isString- Returns:
- returned object is
Object
-
isSet
Returns true if the requested property is set; false, otherwise.- Overrides:
isSetin classGeographicLocation- Returns:
- returned object is
boolean
-
set
Sets the value of the provided property to the provided value.- Overrides:
setin classGeographicLocation- Parameters:
propName- allowed object isStringvalue- allowed object isObject
-
unset
Sets the value of provided property to null.- Overrides:
unsetin classGeographicLocation- Parameters:
propName- allowed object isString
-
getTypeName
Gets the name of this model object, Country- Overrides:
getTypeNamein classGeographicLocation- Returns:
- returned object is
String
-
getPropertyNames
Gets a list of all supported properties for this model object, Country -
getDataType
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
Gets a list of any model objects which this model object, Country, is an extension of.- Overrides:
getSuperTypesin 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:
isSubTypein classGeographicLocation- Parameters:
superTypeName- allowed object isString- Returns:
- returned object is
boolean
-
getSubTypes
Gets a set of any model objects which extend this model object, Country- Returns:
- returned object is
HashSet
-
toString
Description copied from class:GeographicLocationReturns this model object, GeographicLocation, and its contents as a String- Overrides:
toStringin classGeographicLocation- Returns:
- returned object is
String
-
isMultiValuedProperty
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.
-