com.sun.xml.ws.security.trust.impl.elements
Class ParticipantsImpl
java.lang.Object
com.sun.xml.ws.security.trust.impl.bindings.ParticipantsType
com.sun.xml.ws.security.trust.impl.elements.ParticipantsImpl
- All Implemented Interfaces:
- Participants
public class ParticipantsImpl
- extends com.sun.xml.ws.security.trust.impl.bindings.ParticipantsType
- implements Participants
Contains information about which parties are authorized in the
use of the token.
Fields inherited from class com.sun.xml.ws.security.trust.impl.bindings.ParticipantsType |
any, participant, primary |
Constructor Summary |
ParticipantsImpl(com.sun.xml.ws.security.trust.impl.bindings.ParticipantsType psType)
|
Methods inherited from class com.sun.xml.ws.security.trust.impl.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 |
ParticipantsImpl
public ParticipantsImpl(com.sun.xml.ws.security.trust.impl.bindings.ParticipantsType psType)
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