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 ParticipantsType implements Participants
Contains information about which parties are authorized in the use of the token.- Author:
- Manveen Kaur
-
-
Field Summary
-
Fields inherited from class com.sun.xml.ws.security.trust.impl.bindings.ParticipantsType
any, participant, primary
-
-
Constructor Summary
Constructors Constructor Description ParticipantsImpl(ParticipantsType psType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Participant>getParticipants()Gets the value of the participant property.ParticipantgetPrimaryParticipant()Gets the value of the primary participant.voidsetPrimaryParticipant(Participant primary)Sets the value of the primary participant.-
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
-
-
-
-
Constructor Detail
-
ParticipantsImpl
public ParticipantsImpl(ParticipantsType psType)
-
-
Method Detail
-
getParticipants
public List<Participant> getParticipants()
Description copied from interface:ParticipantsGets 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
setmethod 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:
getParticipantsin interfaceParticipants
-
getPrimaryParticipant
public Participant getPrimaryParticipant()
Description copied from interface:ParticipantsGets the value of the primary participant.- Specified by:
getPrimaryParticipantin interfaceParticipants- Returns:
Participant
-
setPrimaryParticipant
public void setPrimaryParticipant(Participant primary)
Description copied from interface:ParticipantsSets the value of the primary participant.- Specified by:
setPrimaryParticipantin interfaceParticipants- Parameters:
primary-Participant
-
-