com.sun.xml.ws.security.trust.impl.wssx.elements
Class ParticipantsImpl

java.lang.Object
  extended by com.sun.xml.ws.security.trust.impl.wssx.bindings.ParticipantsType
      extended by com.sun.xml.ws.security.trust.impl.wssx.elements.ParticipantsImpl
All Implemented Interfaces:
Participants

public class ParticipantsImpl
extends com.sun.xml.ws.security.trust.impl.wssx.bindings.ParticipantsType
implements Participants

Contains information about which parties are authorized in the use of the token.


Field Summary
 
Fields inherited from class com.sun.xml.ws.security.trust.impl.wssx.bindings.ParticipantsType
any, participant, primary
 
Constructor Summary
ParticipantsImpl(com.sun.xml.ws.security.trust.impl.wssx.bindings.ParticipantsType psType)
           
 
Method Summary
 java.util.List<Participant> getParticipants()
          Gets the value of the participant property.
 Participant getPrimaryParticipant()
          Gets the value of the primary participant.
 void setPrimaryParticipant(Participant primary)
          Sets the value of the primary participant.
 
Methods inherited from class com.sun.xml.ws.security.trust.impl.wssx.bindings.ParticipantsType
getAny, getParticipant, getPrimary, setPrimary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sun.xml.ws.security.trust.elements.Participants
getAny
 

Constructor Detail

ParticipantsImpl

public ParticipantsImpl(com.sun.xml.ws.security.trust.impl.wssx.bindings.ParticipantsType psType)
                 throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getParticipants

public java.util.List<Participant> getParticipants()
Description copied from interface: Participants
Gets the value of the participant 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 participant property.

For example, to add a new item, do as follows:

    getParticipant().add(newItem);
 

Objects of the following type(s) are allowed in the list Participant

Specified by:
getParticipants in interface Participants

getPrimaryParticipant

public Participant getPrimaryParticipant()
Description copied from interface: Participants
Gets the value of the primary participant.

Specified by:
getPrimaryParticipant in interface Participants
Returns:
Participant

setPrimaryParticipant

public void setPrimaryParticipant(Participant primary)
Description copied from interface: Participants
Sets the value of the primary participant.

Specified by:
setPrimaryParticipant in interface Participants
Parameters:
primary - Participant