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
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the requested propertygetDataType(String propName) Gets the Java type of the value of the provided property.Gets the value of the primaryRolePlayer property.static ListgetPropertyNames(String entityTypeName) Gets the value of the relatedRolePlayer property.static HashSetGets a list of any model objects which this model object, Entity, is an extension of.Gets the name of this model object, EntitybooleanisMultiValuedProperty(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.booleanbooleanbooleanReturns 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.voidsetPrimaryRolePlayer(RolePlayer value) Sets the value of the primaryRolePlayer property.toString()Returns this model object, Entity, and its contents as a StringvoidSets the value of provided property to null.voidMethods inherited from class com.ibm.wsspi.security.wim.model.RolePlayer
getPartyRoles, isMandatory, isPersistentProperty, isSetPartyRoles, unsetPartyRolesMethods 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
-
Constructor Details
-
PartyRole
public PartyRole()
-
-
Method Details
-
getPrimaryRolePlayer
Gets the value of the primaryRolePlayer property.- Returns:
- possible object is
RolePlayer
-
setPrimaryRolePlayer
Sets the value of the primaryRolePlayer property.- Parameters:
value- allowed object isRolePlayer
-
isSetPrimaryRolePlayer
public boolean isSetPrimaryRolePlayer() -
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 -
isSetRelatedRolePlayer
public boolean isSetRelatedRolePlayer() -
unsetRelatedRolePlayer
public void unsetRelatedRolePlayer() -
get
Description copied from class:EntityGets the value of the requested property- Overrides:
getin classRolePlayer- Parameters:
propName- allowed object isString- Returns:
- returned object is
Object
-
isSet
Description copied from class:EntityReturns true if the requested property is set; false, otherwise.- Overrides:
isSetin classRolePlayer- Returns:
- returned object is
boolean
-
set
Description copied from class:EntitySets the value of the provided property to the provided value.- Overrides:
setin classRolePlayer- Parameters:
propName- allowed object isStringvalue- allowed object isObject
-
unset
Description copied from class:EntitySets the value of provided property to null.- Overrides:
unsetin classRolePlayer- Parameters:
propName- allowed object isString
-
getTypeName
Description copied from class:EntityGets the name of this model object, Entity- Overrides:
getTypeNamein classRolePlayer- Returns:
- returned object is
String
-
getPropertyNames
-
getDataType
Description copied from class:EntityGets the Java type of the value of the provided property. For example: String, List- Overrides:
getDataTypein classRolePlayer- Parameters:
propName- allowed object isString- Returns:
- returned object is
String
-
getSuperTypes
Description copied from class:EntityGets a list of any model objects which this model object, Entity, is an extension of.- Overrides:
getSuperTypesin classRolePlayer- Returns:
- returned object is
ArrayList
-
isSubType
Description copied from class:EntityReturns a true if the provided model object is one that this model object extends; false, otherwise.- Overrides:
isSubTypein classRolePlayer- Parameters:
superTypeName- allowed object isString- Returns:
- returned object is
boolean
-
getSubTypes
-
toString
Description copied from class:EntityReturns this model object, Entity, and its contents as a String- Overrides:
toStringin classRolePlayer- 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 classRolePlayer- Parameters:
propName- The property name to check.- Returns:
- True if the property is multi-value, false otherwise.
-