Package com.ibm.wsspi.security.wim.model
Class RolePlayer
- java.lang.Object
-
- com.ibm.wsspi.security.wim.model.Entity
-
- com.ibm.wsspi.security.wim.model.RolePlayer
-
public class RolePlayer extends Entity
Java class for RolePlayer complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="RolePlayer"> <complexContent> <extension base="{http://www.ibm.com/websphere/wim}Entity"> <sequence> <element name="partyRoles" type="{http://www.ibm.com/websphere/wim}PartyRole" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>The RolePlay object extends from the Entity object. It has all of the properties defined by the Entity object, and in addition, contains the "partyRoles" property:
- partyroles: a containment property which is used to link the party roles the role player is playing. partyRoles may contain multiple PartyRole objects since a role player can play multiple roles.
-
-
Constructor Summary
Constructors Constructor Description RolePlayer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectget(java.lang.String propName)Gets the value of the requested propertyjava.lang.StringgetDataType(java.lang.String propName)Gets the Java type of the value of the provided property.java.util.List<PartyRole>getPartyRoles()Gets the value of the partyRoles property.static java.util.ListgetPropertyNames(java.lang.String entityTypeName)static java.util.HashSetgetSubTypes()java.util.ArrayListgetSuperTypes()Gets a list of any model objects which this model object, Entity, is an extension of.java.lang.StringgetTypeName()Gets the name of this model object, EntitybooleanisMandatory(java.lang.String propName)Returns true if the provided property is a mandatory property; false, otherwise.booleanisMultiValuedProperty(java.lang.String propName)Return whether the specified property is a multi-valued property and capable of holding multiple values.booleanisPersistentProperty(java.lang.String propName)Returns true if the provided property is a persistent property; false, otherwise.booleanisSet(java.lang.String propName)Returns true if the requested property is set; false, otherwise.booleanisSetPartyRoles()booleanisSubType(java.lang.String superTypeName)Returns a true if the provided model object is one that this model object extends; false, otherwise.voidset(java.lang.String propName, java.lang.Object value)Sets the value of the provided property to the provided value.java.lang.StringtoString()Returns this model object, Entity, and its contents as a Stringvoidunset(java.lang.String propName)Sets the value of provided property to null.voidunsetPartyRoles()-
Methods inherited from class com.ibm.wsspi.security.wim.model.Entity
getChangeType, getChildren, getCreateTimestamp, getEntitlementInfo, getGroups, getIdentifier, getModifyTimestamp, getParent, getSubEntityTypes, getViewIdentifiers, isSetChangeType, isSetChildren, isSetCreateTimestamp, isSetEntitlementInfo, isSetGroups, isSetIdentifier, isSetModifyTimestamp, isSetParent, isSetViewIdentifiers, isUnset, reInitializePropertyNames, setChangeType, setCreateTimestamp, setEntitlementInfo, setIdentifier, setModifyTimestamp, setParent, unsetChildren, unsetGroups, unsetViewIdentifiers
-
-
-
-
Method Detail
-
getPartyRoles
public java.util.List<PartyRole> getPartyRoles()
Gets the value of the partyRoles 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 partyRoles property.For example, to add a new item, do as follows:
getPartyRoles().add(newItem);
Objects of the following type(s) are allowed in the list
PartyRole
-
isSetPartyRoles
public boolean isSetPartyRoles()
-
unsetPartyRoles
public void unsetPartyRoles()
-
get
public java.lang.Object get(java.lang.String propName)
Description copied from class:EntityGets the value of the requested property
-
isSet
public boolean isSet(java.lang.String propName)
Description copied from class:EntityReturns true if the requested property is set; false, otherwise.
-
set
public void set(java.lang.String propName, java.lang.Object value)Description copied from class:EntitySets the value of the provided property to the provided value.
-
unset
public void unset(java.lang.String propName)
Description copied from class:EntitySets the value of provided property to null.
-
getTypeName
public java.lang.String getTypeName()
Description copied from class:EntityGets the name of this model object, Entity- Overrides:
getTypeNamein classEntity- Returns:
- returned object is
String
-
isMandatory
public boolean isMandatory(java.lang.String propName)
Description copied from class:EntityReturns true if the provided property is a mandatory property; false, otherwise.- Overrides:
isMandatoryin classEntity- Returns:
- returned object is
boolean
-
isPersistentProperty
public boolean isPersistentProperty(java.lang.String propName)
Description copied from class:EntityReturns true if the provided property is a persistent property; false, otherwise.- Overrides:
isPersistentPropertyin classEntity- Returns:
- returned object is
boolean
-
getPropertyNames
public static java.util.List getPropertyNames(java.lang.String entityTypeName)
-
getDataType
public java.lang.String getDataType(java.lang.String propName)
Description copied from class:EntityGets the Java type of the value of the provided property. For example: String, List- Overrides:
getDataTypein classEntity- Parameters:
propName- allowed object isString- Returns:
- returned object is
String
-
getSuperTypes
public java.util.ArrayList getSuperTypes()
Description copied from class:EntityGets a list of any model objects which this model object, Entity, is an extension of.- Overrides:
getSuperTypesin classEntity- Returns:
- returned object is
ArrayList
-
isSubType
public boolean isSubType(java.lang.String superTypeName)
Description copied from class:EntityReturns a true if the provided model object is one that this model object extends; false, otherwise.
-
getSubTypes
public static java.util.HashSet getSubTypes()
-
toString
public java.lang.String toString()
Description copied from class:EntityReturns this model object, Entity, and its contents as a String
-
isMultiValuedProperty
public boolean isMultiValuedProperty(java.lang.String propName)
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.
-
-