public class EntityDescriptorType extends TypeWithOtherAttributes
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>
Modifier and Type | Class and Description |
---|---|
static class |
EntityDescriptorType.EDTChoiceType |
static class |
EntityDescriptorType.EDTDescriptorChoiceType |
Modifier and Type | Field and Description |
---|---|
protected List<AdditionalMetadataLocationType> |
additionalMetadataLocation |
protected Duration |
cacheDuration |
protected List<EntityDescriptorType.EDTChoiceType> |
choiceType |
protected List<ContactType> |
contactPerson |
protected String |
entityID |
protected ExtensionsType |
extensions |
protected String |
id |
protected OrganizationType |
organization |
protected Element |
signature |
protected XMLGregorianCalendar |
validUntil |
otherAttributes
Constructor and Description |
---|
EntityDescriptorType(String entityID) |
Modifier and Type | Method and Description |
---|---|
void |
addAdditionalMetadataLocationType(AdditionalMetadataLocationType amld)
|
void |
addChoiceType(EntityDescriptorType.EDTChoiceType choiceType)
Add a choice type
|
void |
addContactPerson(ContactType ct)
Add a
ContactType contact person |
List<AdditionalMetadataLocationType> |
getAdditionalMetadataLocation()
Gets the value of the additionalMetadataLocation property.
|
Duration |
getCacheDuration()
Gets the value of the cacheDuration property.
|
List<EntityDescriptorType.EDTChoiceType> |
getChoiceType()
Get a read only list of choice types
|
List<ContactType> |
getContactPerson()
Gets the value of the contactPerson property.
|
String |
getEntityID()
Gets the value of the entityID property.
|
ExtensionsType |
getExtensions()
Gets the value of the extensions property.
|
String |
getID()
Gets the value of the id property.
|
OrganizationType |
getOrganization()
Gets the value of the organization property.
|
Element |
getSignature()
Gets the value of the signature property.
|
XMLGregorianCalendar |
getValidUntil()
Gets the value of the validUntil property.
|
void |
removeAdditionalMetadataLocationType(AdditionalMetadataLocationType amld)
Remove a
AdditionalMetadataLocationType |
void |
removeChoiceType(EntityDescriptorType.EDTChoiceType choiceType)
Remove a choice type
|
void |
removeContactPerson(ContactType ct) |
void |
setCacheDuration(Duration value)
Sets the value of the cacheDuration property.
|
void |
setExtensions(ExtensionsType value)
Sets the value of the extensions property.
|
void |
setID(String value)
Sets the value of the id property.
|
void |
setOrganization(OrganizationType value)
Sets the value of the organization property.
|
void |
setSignature(Element value)
Sets the value of the signature property.
|
void |
setValidUntil(XMLGregorianCalendar value)
Sets the value of the validUntil property.
|
addOtherAttribute, getOtherAttributes, removeOtherAttribute
protected Element signature
protected ExtensionsType extensions
protected List<EntityDescriptorType.EDTChoiceType> choiceType
protected OrganizationType organization
protected List<ContactType> contactPerson
protected List<AdditionalMetadataLocationType> additionalMetadataLocation
protected String entityID
protected XMLGregorianCalendar validUntil
protected Duration cacheDuration
protected String id
public EntityDescriptorType(String entityID)
public Element getSignature()
Element
public void setSignature(Element value)
value
- allowed object is Element
public ExtensionsType getExtensions()
ExtensionsType
public void setExtensions(ExtensionsType value)
value
- allowed object is ExtensionsType
public List<EntityDescriptorType.EDTChoiceType> getChoiceType()
public void addChoiceType(EntityDescriptorType.EDTChoiceType choiceType)
choiceType
- public void removeChoiceType(EntityDescriptorType.EDTChoiceType choiceType)
choiceType
- public OrganizationType getOrganization()
OrganizationType
public void setOrganization(OrganizationType value)
value
- allowed object is OrganizationType
public void addContactPerson(ContactType ct)
ContactType
contact personct
- public void removeContactPerson(ContactType ct)
public List<ContactType> getContactPerson()
Objects of the following type(s) are allowed in the list ContactType
public void addAdditionalMetadataLocationType(AdditionalMetadataLocationType amld)
amld
- public void removeAdditionalMetadataLocationType(AdditionalMetadataLocationType amld)
AdditionalMetadataLocationType
amld
- public List<AdditionalMetadataLocationType> getAdditionalMetadataLocation()
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
public String getEntityID()
String
public XMLGregorianCalendar getValidUntil()
XMLGregorianCalendar
public void setValidUntil(XMLGregorianCalendar value)
value
- allowed object is XMLGregorianCalendar
public Duration getCacheDuration()
Duration
public void setCacheDuration(Duration value)
value
- allowed object is Duration
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.