com.ibm.wsspi.security.wim.model

Class 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 Detail

      • PartyRole

        public PartyRole()
    • Method Detail

      • getPrimaryRolePlayer

        public RolePlayer getPrimaryRolePlayer()
        Gets the value of the primaryRolePlayer property.
        Returns:
        possible object is RolePlayer
      • setPrimaryRolePlayer

        public void setPrimaryRolePlayer(RolePlayer value)
        Sets the value of the primaryRolePlayer property.
        Parameters:
        value - allowed object is RolePlayer
      • isSetPrimaryRolePlayer

        public boolean isSetPrimaryRolePlayer()
      • getRelatedRolePlayer

        public 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 set method 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

        public java.lang.Object get(java.lang.String propName)
        Description copied from class: Entity
        Gets the value of the requested property
        Overrides:
        get in class RolePlayer
        Parameters:
        propName - allowed object is String
        Returns:
        returned object is Object
      • isSet

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

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

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

        public java.lang.String getTypeName()
        Description copied from class: Entity
        Gets the name of this model object, Entity
        Overrides:
        getTypeName in class RolePlayer
        Returns:
        returned object is String
      • 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: Entity
        Gets the Java type of the value of the provided property. For example: String, List
        Overrides:
        getDataType in class RolePlayer
        Parameters:
        propName - allowed object is String
        Returns:
        returned object is String
      • getSuperTypes

        public java.util.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 RolePlayer
        Returns:
        returned object is ArrayList
      • isSubType

        public boolean isSubType(java.lang.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 RolePlayer
        Parameters:
        superTypeName - allowed object is String
        Returns:
        returned object is boolean
      • getSubTypes

        public static java.util.HashSet getSubTypes()
      • toString

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