com.sun.identity.saml2.protocol
Interface AttributeQuery

All Superinterfaces:
RequestAbstract, SubjectQueryAbstract

public interface AttributeQuery
extends SubjectQueryAbstract

This class represents the AttributeQueryType complex type.

The following schema fragment specifies the expected content contained within this java content object.

 <complexType name="AttributeQueryType">
   <complexContent>
     <extension base="{urn:oasis:names:tc:SAML:2.0:protocol}SubjectQueryAbstractType">
       <sequence>
         <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Attribute" minOccurs="0" maxOccurs="unbounded"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Method Summary
 List getAttributes()
          Returns Attribute objects.
 void setAttributes(List attributes)
          Sets the Attribute objects.
 
Methods inherited from interface com.sun.identity.saml2.protocol.SubjectQueryAbstract
getSubject, setSubject
 
Methods inherited from interface com.sun.identity.saml2.protocol.RequestAbstract
getConsent, getDestination, getExtensions, getID, getIssueInstant, getIssuer, getSignature, getVersion, isMutable, isSignatureValid, isSigned, makeImmutable, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, setVersion, sign, toXMLString, toXMLString
 

Method Detail

getAttributes

List getAttributes()
Returns Attribute objects.

Returns:
the Attribute objects.
See Also:
AttributeQuery.setAttributes(List)

setAttributes

void setAttributes(List attributes)
                   throws SAML2Exception
Sets the Attribute objects.

Parameters:
attributes - the new Attribute objects.
Throws:
SAML2Exception - if the object is immutable.
See Also:
AttributeQuery.getAttributes()