Class AttributeConsumingServiceType
Java class for AttributeConsumingServiceType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AttributeConsumingServiceType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:oasis:names:tc:SAML:2.0:metadata}ServiceName" maxOccurs="unbounded"/>
<element ref="{urn:oasis:names:tc:SAML:2.0:metadata}ServiceDescription" maxOccurs="unbounded"
minOccurs="0"/>
<element ref="{urn:oasis:names:tc:SAML:2.0:metadata}RequestedAttribute" maxOccurs="unbounded"/>
</sequence>
<attribute name="index" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" />
<attribute name="isDefault" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected Booleanprotected List<RequestedAttributeType>protected List<LocalizedNameType>protected List<LocalizedNameType> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd requestedAttributevoidAdd serviceDescription.voidaddServiceName(LocalizedNameType service) Add serviceNameintgetIndex()Gets the value of the index property.Gets the value of the requestedAttribute property.Gets the value of the serviceDescription property.Gets the value of the serviceName property.Gets the value of the isDefault property.voidremove requestedAttributevoidremove serviceDescription.voidremoveServiceName(LocalizedNameType service) remove serviceNamevoidsetIsDefault(Boolean value) Sets the value of the isDefault property.
-
Field Details
-
serviceName
-
serviceDescription
-
requestedAttribute
-
index
protected int index -
isDefault
-
-
Constructor Details
-
AttributeConsumingServiceType
public AttributeConsumingServiceType(int index)
-
-
Method Details
-
addServiceName
Add serviceNameObjects of the following type(s) are allowed in the list
LocalizedNameType -
addServiceDescription
Add serviceDescription.Objects of the following type(s) are allowed in the list
LocalizedNameType -
addRequestedAttribute
Add requestedAttributeObjects of the following type(s) are allowed in the list
RequestedAttributeType -
removeServiceName
remove serviceNameObjects of the following type(s) are allowed in the list
LocalizedNameType -
removeServiceDescription
remove serviceDescription.Objects of the following type(s) are allowed in the list
LocalizedNameType -
removeRequestedAttribute
remove requestedAttributeObjects of the following type(s) are allowed in the list
RequestedAttributeType -
getServiceName
Gets the value of the serviceName property.Objects of the following type(s) are allowed in the list
LocalizedNameType -
getServiceDescription
Gets the value of the serviceDescription property.Objects of the following type(s) are allowed in the list
LocalizedNameType -
getRequestedAttribute
Gets the value of the requestedAttribute property.Objects of the following type(s) are allowed in the list
RequestedAttributeType -
getIndex
public int getIndex()Gets the value of the index property. -
isIsDefault
Gets the value of the isDefault property.- Returns:
- possible object is
Boolean
-
setIsDefault
Sets the value of the isDefault property.- Parameters:
value- allowed object isBoolean
-