public class Group extends Party
Java class for Group complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Group"> <complexContent> <extension base="{http://www.ibm.com/websphere/wim}Party"> <sequence> <element ref="{http://www.ibm.com/websphere/wim}cn"/> <element name="members" type="{http://www.ibm.com/websphere/wim}Entity" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.ibm.com/websphere/wim}displayName" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.ibm.com/websphere/wim}description" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.ibm.com/websphere/wim}businessCategory" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.ibm.com/websphere/wim}seeAlso" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
The Group object extends the Party object and is used to define the properties of a group.
The Group object has several properties: cn, members, displayName, description, and businessCategory.
Constructor and Description |
---|
Group() |
Modifier and Type | Method and Description |
---|---|
static void |
addExtendedProperty(java.lang.String propName,
java.lang.String dataType,
boolean multiValued,
java.lang.Object defaultValue)
Allows for an extended property, or a property not pre-defined as part of this Group entity type, to be
added to the Group entity
|
static void |
clearExtendedProperties()
Removes all extended properties defined in this Group entity
|
java.lang.Object |
get(java.lang.String propName)
Gets the value of the requested property
|
java.util.List<java.lang.String> |
getBusinessCategory()
Gets the value of the businessCategory property.
|
java.lang.String |
getCn()
Gets the value of the cn 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.
|
java.util.List<java.lang.String> |
getDisplayName()
Gets the value of the displayName property.
|
java.util.Set<java.lang.String> |
getExtendedPropertyNames()
Returns a list of extended property names added to this Group entity
|
java.util.List<Entity> |
getMembers()
Gets the value of the members property.
|
static java.util.List |
getPropertyNames(java.lang.String entityTypeName)
Gets a list of all supported properties for this model object, Group
|
java.util.List<java.lang.String> |
getSeeAlso()
Gets the value of the seeAlso property.
|
static java.util.HashSet |
getSubTypes()
Gets a set of any model objects which extend this model object, Group
|
java.util.ArrayList |
getSuperTypes()
Gets a list of any model objects which this model object, Group, is
an extension of.
|
java.lang.String |
getTypeName()
Gets the name of this model object, Entity
|
boolean |
isMandatory(java.lang.String propName)
Returns true if the provided property name is a mandatory property; false, otherwise.
|
boolean |
isMultiValuedProperty(java.lang.String propName)
Return whether the specified property is a multi-valued property and capable of holding
multiple values.
|
boolean |
isPersistentProperty(java.lang.String propName)
Returns true if the provided property name is a persistent property; false, otherwise.
|
boolean |
isSet(java.lang.String propName)
Returns true if the requested property is set; false, otherwise.
|
boolean |
isSetBusinessCategory()
Returns true if the businessCategory property is set; false, otherwise.
|
boolean |
isSetCn()
Returns true if the cn property is set; false, otherwise.
|
boolean |
isSetDescription()
Returns true if the description property is set; false, otherwise.
|
boolean |
isSetDisplayName()
Returns true if the displayName property is set; false, otherwise.
|
boolean |
isSetMembers()
Returns true if the members property is set; false, otherwise.
|
boolean |
isSetSeeAlso()
Returns true if the seeAlso 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.
|
static void |
reInitializePropertyNames() |
void |
set(java.lang.String propName,
java.lang.Object value)
Sets the value of the provided property to the provided value.
|
void |
setCn(java.lang.String value)
Sets the value of the cn property.
|
java.lang.String |
toString()
Returns this model object, Entity, and its contents as a String
|
void |
unset(java.lang.String propName)
Sets the value of provided property to null.
|
void |
unsetBusinessCategory()
Resets the value of the businessCategory property to null
|
void |
unsetDescription()
Resets the value of the description property to null
|
void |
unsetDisplayName()
Resets the value of the displayName property to null
|
void |
unsetMembers()
Resets the value of the members property to null
|
void |
unsetSeeAlso()
Resets the value of the seeAlso property to null
|
getPartyRoles, isSetPartyRoles, unsetPartyRoles
getChangeType, getChildren, getCreateTimestamp, getEntitlementInfo, getGroups, getIdentifier, getModifyTimestamp, getParent, getSubEntityTypes, getViewIdentifiers, isSetChangeType, isSetChildren, isSetCreateTimestamp, isSetEntitlementInfo, isSetGroups, isSetIdentifier, isSetModifyTimestamp, isSetParent, isSetViewIdentifiers, isUnset, setChangeType, setCreateTimestamp, setEntitlementInfo, setIdentifier, setModifyTimestamp, setParent, unsetChildren, unsetGroups, unsetViewIdentifiers
public java.lang.String getCn()
String
public void setCn(java.lang.String value)
value
- allowed object is String
public boolean isSetCn()
boolean
public java.util.List<Entity> getMembers()
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 members property.
For example, to add a new item, do as follows:
getMembers().add(newItem);
Objects of the following type(s) are allowed in the list Entity
public boolean isSetMembers()
boolean
public void unsetMembers()
public java.util.List<java.lang.String> getDisplayName()
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 displayName property.
For example, to add a new item, do as follows:
getDisplayName().add(newItem);
Objects of the following type(s) are allowed in the list String
public boolean isSetDisplayName()
boolean
public void unsetDisplayName()
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.util.List<java.lang.String> getBusinessCategory()
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 businessCategory property.
For example, to add a new item, do as follows:
getBusinessCategory().add(newItem);
Objects of the following type(s) are allowed in the list String
public boolean isSetBusinessCategory()
boolean
public void unsetBusinessCategory()
public java.util.List<java.lang.String> getSeeAlso()
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
public boolean isSetSeeAlso()
boolean
public void unsetSeeAlso()
public java.lang.Object get(java.lang.String propName)
public boolean isSet(java.lang.String propName)
public void set(java.lang.String propName, java.lang.Object value)
public void unset(java.lang.String propName)
public java.lang.String getTypeName()
Entity
getTypeName
in class Party
String
public boolean isMandatory(java.lang.String propName)
isMandatory
in class Party
propName
- allowed object is String
boolean
public boolean isPersistentProperty(java.lang.String propName)
isPersistentProperty
in class Party
propName
- allowed object is String
boolean
public static void reInitializePropertyNames()
public static java.util.List getPropertyNames(java.lang.String entityTypeName)
entityTypeName
- allowed object is String
List
public java.lang.String getDataType(java.lang.String propName)
getDataType
in class Party
propName
- allowed object is String
String
public java.util.ArrayList getSuperTypes()
getSuperTypes
in class Party
ArrayList
public boolean isSubType(java.lang.String superTypeName)
public static java.util.HashSet getSubTypes()
HashSet
public java.lang.String toString()
Entity
public static void addExtendedProperty(java.lang.String propName, java.lang.String dataType, boolean multiValued, java.lang.Object defaultValue)
propName:
- name of property
String
dataType:
- Java type of property
String
multiValued:
- describes if the property is a single valued or multi-valued property
boolean
defaultValue:
- defines the default value for this property
Object
public static void clearExtendedProperties()
public java.util.Set<java.lang.String> getExtendedPropertyNames()
Set
public boolean isMultiValuedProperty(java.lang.String propName)
Entity
isMultiValuedProperty
in class RolePlayer
propName
- The property name to check.