Class RolePlayer

java.lang.Object
com.ibm.wsspi.security.wim.model.Entity
com.ibm.wsspi.security.wim.model.RolePlayer
Direct Known Subclasses:
Party, PartyRole

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 Details

    • RolePlayer

      public RolePlayer()
  • Method Details

    • getPartyRoles

      public 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 set method 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 Object get(String propName)
      Description copied from class: Entity
      Gets the value of the requested property
      Overrides:
      get in class Entity
      Parameters:
      propName - allowed object is String
      Returns:
      returned object is Object
    • isSet

      public boolean isSet(String propName)
      Description copied from class: Entity
      Returns true if the requested property is set; false, otherwise.
      Overrides:
      isSet in class Entity
      Returns:
      returned object is boolean
    • set

      public void set(String propName, Object value)
      Description copied from class: Entity
      Sets the value of the provided property to the provided value.
      Overrides:
      set in class Entity
      Parameters:
      propName - allowed object is String
      value - allowed object is Object
    • unset

      public void unset(String propName)
      Description copied from class: Entity
      Sets the value of provided property to null.
      Overrides:
      unset in class Entity
      Parameters:
      propName - allowed object is String
    • getTypeName

      public String getTypeName()
      Description copied from class: Entity
      Gets the name of this model object, Entity
      Overrides:
      getTypeName in class Entity
      Returns:
      returned object is String
    • isMandatory

      public boolean isMandatory(String propName)
      Description copied from class: Entity
      Returns true if the provided property is a mandatory property; false, otherwise.
      Overrides:
      isMandatory in class Entity
      Returns:
      returned object is boolean
    • isPersistentProperty

      public boolean isPersistentProperty(String propName)
      Description copied from class: Entity
      Returns true if the provided property is a persistent property; false, otherwise.
      Overrides:
      isPersistentProperty in class Entity
      Returns:
      returned object is boolean
    • getPropertyNames

      public static List getPropertyNames(String entityTypeName)
    • getDataType

      public String getDataType(String propName)
      Description copied from class: Entity
      Gets the Java type of the value of the provided property. For example: String, List
      Overrides:
      getDataType in class Entity
      Parameters:
      propName - allowed object is String
      Returns:
      returned object is String
    • getSuperTypes

      public ArrayList getSuperTypes()
      Description copied from class: Entity
      Gets a list of any model objects which this model object, Entity, is an extension of.
      Overrides:
      getSuperTypes in class Entity
      Returns:
      returned object is ArrayList
    • isSubType

      public boolean isSubType(String superTypeName)
      Description copied from class: Entity
      Returns a true if the provided model object is one that this model object extends; false, otherwise.
      Overrides:
      isSubType in class Entity
      Parameters:
      superTypeName - allowed object is String
      Returns:
      returned object is boolean
    • getSubTypes

      public static HashSet getSubTypes()
    • toString

      public String toString()
      Description copied from class: Entity
      Returns this model object, Entity, and its contents as a String
      Overrides:
      toString in class Entity
      Returns:
      returned object is String
    • isMultiValuedProperty

      public boolean isMultiValuedProperty(String propName)
      Description copied from class: Entity
      Return whether the specified property is a multi-valued property and capable of holding multiple values.
      Overrides:
      isMultiValuedProperty in class Entity
      Parameters:
      propName - The property name to check.
      Returns:
      True if the property is multi-value, false otherwise.