org.jboss.identity.federation.saml.v2.metadata
Class EntityDescriptorType

java.lang.Object
  extended by org.jboss.identity.federation.saml.v2.metadata.EntityDescriptorType

public class EntityDescriptorType
extends java.lang.Object

Java class for EntityDescriptorType complex type.

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

 <complexType name="EntityDescriptorType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" minOccurs="0"/>
         <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}Extensions" minOccurs="0"/>
         <choice>
           <choice maxOccurs="unbounded">
             <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}RoleDescriptor"/>
             <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}IDPSSODescriptor"/>
             <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}SPSSODescriptor"/>
             <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}AuthnAuthorityDescriptor"/>
             <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}AttributeAuthorityDescriptor"/>
             <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}PDPDescriptor"/>
           </choice>
           <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}AffiliationDescriptor"/>
         </choice>
         <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}Organization" minOccurs="0"/>
         <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}ContactPerson" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}AdditionalMetadataLocation" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="entityID" use="required" type="{urn:oasis:names:tc:SAML:2.0:metadata}entityIDType" />
       <attribute name="validUntil" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="cacheDuration" type="{http://www.w3.org/2001/XMLSchema}duration" />
       <attribute name="ID" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<AdditionalMetadataLocationType> additionalMetadataLocation
           
protected  AffiliationDescriptorType affiliationDescriptor
           
protected  javax.xml.datatype.Duration cacheDuration
           
protected  java.util.List<ContactType> contactPerson
           
protected  java.lang.String entityID
           
protected  ExtensionsType extensions
           
protected  java.lang.String id
           
protected  OrganizationType organization
           
protected  java.util.List<RoleDescriptorType> roleDescriptorOrIDPSSODescriptorOrSPSSODescriptor
           
protected  SignatureType signature
           
protected  javax.xml.datatype.XMLGregorianCalendar validUntil
           
 
Constructor Summary
EntityDescriptorType()
           
 
Method Summary
 java.util.List<AdditionalMetadataLocationType> getAdditionalMetadataLocation()
          Gets the value of the additionalMetadataLocation property.
 AffiliationDescriptorType getAffiliationDescriptor()
          Gets the value of the affiliationDescriptor property.
 javax.xml.datatype.Duration getCacheDuration()
          Gets the value of the cacheDuration property.
 java.util.List<ContactType> getContactPerson()
          Gets the value of the contactPerson property.
 java.lang.String getEntityID()
          Gets the value of the entityID property.
 ExtensionsType getExtensions()
          Gets the value of the extensions property.
 java.lang.String getID()
          Gets the value of the id property.
 OrganizationType getOrganization()
          Gets the value of the organization property.
 java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 java.util.List<RoleDescriptorType> getRoleDescriptorOrIDPSSODescriptorOrSPSSODescriptor()
          Gets the value of the roleDescriptorOrIDPSSODescriptorOrSPSSODescriptor property.
 SignatureType getSignature()
          Gets the value of the signature property.
 javax.xml.datatype.XMLGregorianCalendar getValidUntil()
          Gets the value of the validUntil property.
 void setAffiliationDescriptor(AffiliationDescriptorType value)
          Sets the value of the affiliationDescriptor property.
 void setCacheDuration(javax.xml.datatype.Duration value)
          Sets the value of the cacheDuration property.
 void setEntityID(java.lang.String value)
          Sets the value of the entityID property.
 void setExtensions(ExtensionsType value)
          Sets the value of the extensions property.
 void setID(java.lang.String value)
          Sets the value of the id property.
 void setOrganization(OrganizationType value)
          Sets the value of the organization property.
 void setSignature(SignatureType value)
          Sets the value of the signature property.
 void setValidUntil(javax.xml.datatype.XMLGregorianCalendar value)
          Sets the value of the validUntil property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

signature

protected SignatureType signature

extensions

protected ExtensionsType extensions

roleDescriptorOrIDPSSODescriptorOrSPSSODescriptor

protected java.util.List<RoleDescriptorType> roleDescriptorOrIDPSSODescriptorOrSPSSODescriptor

affiliationDescriptor

protected AffiliationDescriptorType affiliationDescriptor

organization

protected OrganizationType organization

contactPerson

protected java.util.List<ContactType> contactPerson

additionalMetadataLocation

protected java.util.List<AdditionalMetadataLocationType> additionalMetadataLocation

entityID

protected java.lang.String entityID

validUntil

protected javax.xml.datatype.XMLGregorianCalendar validUntil

cacheDuration

protected javax.xml.datatype.Duration cacheDuration

id

protected java.lang.String id
Constructor Detail

EntityDescriptorType

public EntityDescriptorType()
Method Detail

getSignature

public SignatureType getSignature()
Gets the value of the signature property.

Returns:
possible object is SignatureType

setSignature

public void setSignature(SignatureType value)
Sets the value of the signature property.

Parameters:
value - allowed object is SignatureType

getExtensions

public ExtensionsType getExtensions()
Gets the value of the extensions property.

Returns:
possible object is ExtensionsType

setExtensions

public void setExtensions(ExtensionsType value)
Sets the value of the extensions property.

Parameters:
value - allowed object is ExtensionsType

getRoleDescriptorOrIDPSSODescriptorOrSPSSODescriptor

public java.util.List<RoleDescriptorType> getRoleDescriptorOrIDPSSODescriptorOrSPSSODescriptor()
Gets the value of the roleDescriptorOrIDPSSODescriptorOrSPSSODescriptor 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 roleDescriptorOrIDPSSODescriptorOrSPSSODescriptor property.

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

    getRoleDescriptorOrIDPSSODescriptorOrSPSSODescriptor().add(newItem);
 

Objects of the following type(s) are allowed in the list AttributeAuthorityDescriptorType AuthnAuthorityDescriptorType PDPDescriptorType SPSSODescriptorType RoleDescriptorType IDPSSODescriptorType


getAffiliationDescriptor

public AffiliationDescriptorType getAffiliationDescriptor()
Gets the value of the affiliationDescriptor property.

Returns:
possible object is AffiliationDescriptorType

setAffiliationDescriptor

public void setAffiliationDescriptor(AffiliationDescriptorType value)
Sets the value of the affiliationDescriptor property.

Parameters:
value - allowed object is AffiliationDescriptorType

getOrganization

public OrganizationType getOrganization()
Gets the value of the organization property.

Returns:
possible object is OrganizationType

setOrganization

public void setOrganization(OrganizationType value)
Sets the value of the organization property.

Parameters:
value - allowed object is OrganizationType

getContactPerson

public java.util.List<ContactType> getContactPerson()
Gets the value of the contactPerson 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 contactPerson property.

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

    getContactPerson().add(newItem);
 

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


getAdditionalMetadataLocation

public java.util.List<AdditionalMetadataLocationType> getAdditionalMetadataLocation()
Gets the value of the additionalMetadataLocation 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 additionalMetadataLocation property.

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

    getAdditionalMetadataLocation().add(newItem);
 

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


getEntityID

public java.lang.String getEntityID()
Gets the value of the entityID property.

Returns:
possible object is String

setEntityID

public void setEntityID(java.lang.String value)
Sets the value of the entityID property.

Parameters:
value - allowed object is String

getValidUntil

public javax.xml.datatype.XMLGregorianCalendar getValidUntil()
Gets the value of the validUntil property.

Returns:
possible object is XMLGregorianCalendar

setValidUntil

public void setValidUntil(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the validUntil property.

Parameters:
value - allowed object is XMLGregorianCalendar

getCacheDuration

public javax.xml.datatype.Duration getCacheDuration()
Gets the value of the cacheDuration property.

Returns:
possible object is Duration

setCacheDuration

public void setCacheDuration(javax.xml.datatype.Duration value)
Sets the value of the cacheDuration property.

Parameters:
value - allowed object is Duration

getID

public java.lang.String getID()
Gets the value of the id property.

Returns:
possible object is String

setID

public void setID(java.lang.String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

getOtherAttributes

public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.

the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

Returns:
always non-null


Copyright © 2009 JBoss Inc.. All Rights Reserved.