Package com.ibm.wsspi.security.wim.model
Class PartyRole
- java.lang.Object
- 
- com.ibm.wsspi.security.wim.model.Entity
- 
- com.ibm.wsspi.security.wim.model.RolePlayer
- 
- com.ibm.wsspi.security.wim.model.PartyRole
 
 
 
- 
 public class PartyRole extends RolePlayer Java class for PartyRole complex type. The following schema fragment specifies the expected content contained within this class. <complexType name="PartyRole"> <complexContent> <extension base="{http://www.ibm.com/websphere/wim}RolePlayer"> <sequence> <element name="primaryRolePlayer" type="{http://www.ibm.com/websphere/wim}RolePlayer"/> <element name="relatedRolePlayer" type="{http://www.ibm.com/websphere/wim}RolePlayer" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>The PartyRole object extends the RolePlayer object and defines a role. It defines two properties: - primaryRolePlayer: a containment property which is used to link to the entity who is the primary role player of the PartyRole.
- relatedRolePlayers: a containment property which is used to link to the other role players who are related to the primary role player through this PartyRole.
 
- 
- 
Constructor SummaryConstructors Constructor Description PartyRole()
 - 
Method SummaryAll 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.RolePlayergetPrimaryRolePlayer()Gets the value of the primaryRolePlayer property.static java.util.ListgetPropertyNames(java.lang.String entityTypeName)java.util.List<RolePlayer>getRelatedRolePlayer()Gets the value of the relatedRolePlayer property.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, EntitybooleanisMultiValuedProperty(java.lang.String propName)Return whether the specified property is a multi-valued property and capable of holding multiple values.booleanisSet(java.lang.String propName)Returns true if the requested property is set; false, otherwise.booleanisSetPrimaryRolePlayer()booleanisSetRelatedRolePlayer()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.voidsetPrimaryRolePlayer(RolePlayer value)Sets the value of the primaryRolePlayer property.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.voidunsetRelatedRolePlayer()- 
Methods inherited from class com.ibm.wsspi.security.wim.model.RolePlayergetPartyRoles, isMandatory, isPersistentProperty, isSetPartyRoles, unsetPartyRoles
 - 
Methods inherited from class com.ibm.wsspi.security.wim.model.EntitygetChangeType, 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- 
getPrimaryRolePlayerpublic RolePlayer getPrimaryRolePlayer() Gets the value of the primaryRolePlayer property.- Returns:
- possible object is RolePlayer
 
 - 
setPrimaryRolePlayerpublic void setPrimaryRolePlayer(RolePlayer value) Sets the value of the primaryRolePlayer property.- Parameters:
- value- allowed object is- RolePlayer
 
 - 
isSetPrimaryRolePlayerpublic boolean isSetPrimaryRolePlayer() 
 - 
getRelatedRolePlayerpublic java.util.List<RolePlayer> getRelatedRolePlayer() Gets the value of the relatedRolePlayer 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 relatedRolePlayer property.For example, to add a new item, do as follows: getRelatedRolePlayer().add(newItem); Objects of the following type(s) are allowed in the list RolePlayer
 - 
isSetRelatedRolePlayerpublic boolean isSetRelatedRolePlayer() 
 - 
unsetRelatedRolePlayerpublic void unsetRelatedRolePlayer() 
 - 
getpublic java.lang.Object get(java.lang.String propName) Description copied from class:EntityGets the value of the requested property- Overrides:
- getin class- RolePlayer
- Parameters:
- propName- allowed object is- String
- Returns:
- returned object is Object
 
 - 
isSetpublic boolean isSet(java.lang.String propName) Description copied from class:EntityReturns true if the requested property is set; false, otherwise.- Overrides:
- isSetin class- RolePlayer
- Returns:
- returned object is boolean
 
 - 
setpublic 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.- Overrides:
- setin class- RolePlayer
- Parameters:
- propName- allowed object is- String
- value- allowed object is- Object
 
 - 
unsetpublic void unset(java.lang.String propName) Description copied from class:EntitySets the value of provided property to null.- Overrides:
- unsetin class- RolePlayer
- Parameters:
- propName- allowed object is- String
 
 - 
getTypeNamepublic java.lang.String getTypeName() Description copied from class:EntityGets the name of this model object, Entity- Overrides:
- getTypeNamein class- RolePlayer
- Returns:
- returned object is String
 
 - 
getPropertyNamespublic static java.util.List getPropertyNames(java.lang.String entityTypeName) 
 - 
getDataTypepublic 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 class- RolePlayer
- Parameters:
- propName- allowed object is- String
- Returns:
- returned object is String
 
 - 
getSuperTypespublic 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 class- RolePlayer
- Returns:
- returned object is ArrayList
 
 - 
isSubTypepublic 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.- Overrides:
- isSubTypein class- RolePlayer
- Parameters:
- superTypeName- allowed object is- String
- Returns:
- returned object is boolean
 
 - 
getSubTypespublic static java.util.HashSet getSubTypes() 
 - 
toStringpublic java.lang.String toString() Description copied from class:EntityReturns this model object, Entity, and its contents as a String- Overrides:
- toStringin class- RolePlayer
- Returns:
- returned object is String
 
 - 
isMultiValuedPropertypublic 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 class- RolePlayer
- Parameters:
- propName- The property name to check.
- Returns:
- True if the property is multi-value, false otherwise.
 
 
- 
 
-