com.sun.xml.ws.security.trust.elements
Interface Participants

All Known Implementing Classes:
ParticipantsImpl, ParticipantsImpl

public interface Participants

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


Method Summary
 java.util.List<java.lang.Object> getAny()
          Gets the value of the any property.
 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.
 

Method Detail

getAny

java.util.List<java.lang.Object> getAny()
Gets the value of the any 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 any property.

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

    getAny().add(newItem);
 

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


getParticipants

java.util.List<Participant> getParticipants()
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


getPrimaryParticipant

Participant getPrimaryParticipant()
Gets the value of the primary participant.

Returns:
Participant

setPrimaryParticipant

void setPrimaryParticipant(Participant primary)
Sets the value of the primary participant.

Parameters:
primary - Participant