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.
| Constructor and Description |
|---|
Country() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get(java.lang.String propName)
Gets the value of the requested property
|
java.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, Country
|
static java.util.HashSet |
getSubTypes()
Gets a set of any model objects which extend this model object, Country
|
java.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, Country
|
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, Country, and its contents as a String
|
void |
unset(java.lang.String propName)
Sets the value of provided property to null.
|
void |
unsetDescription()
Resets the description property to null.
|
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, unsetViewIdentifierspublic java.lang.String getC()
Stringpublic void setC(java.lang.String value)
value - allowed object is Stringpublic boolean isSetC()
boolean public java.lang.String getCountryName()
Stringpublic void setCountryName(java.lang.String value)
value - allowed object is Stringpublic boolean isSetCountryName()
boolean public java.util.List<java.lang.String> getDescription()
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
public boolean isSetDescription()
boolean public void unsetDescription()
public java.lang.Object get(java.lang.String propName)
get in class GeographicLocationpropName - allowed object is StringObjectpublic boolean isSet(java.lang.String propName)
isSet in class GeographicLocationboolean public void set(java.lang.String propName,
java.lang.Object value)
set in class GeographicLocationpropName - allowed object is Stringvalue - allowed object is Objectpublic void unset(java.lang.String propName)
unset in class GeographicLocationpropName - allowed object is Stringpublic java.lang.String getTypeName()
getTypeName in class GeographicLocationStringpublic static java.util.List getPropertyNames(java.lang.String entityTypeName)
entityTypeName - allowed object is StringListpublic java.lang.String getDataType(java.lang.String propName)
getDataType in class GeographicLocationpropName - allowed object is StringStringpublic java.util.ArrayList getSuperTypes()
getSuperTypes in class GeographicLocationArrayListpublic boolean isSubType(java.lang.String superTypeName)
isSubType in class GeographicLocationsuperTypeName - allowed object is Stringbooleanpublic static java.util.HashSet getSubTypes()
HashSetpublic java.lang.String toString()
toString in class GeographicLocationString