Class Advice
- java.lang.Object
-
- com.sun.identity.entitlement.xacml3.core.Advice
-
- All Implemented Interfaces:
XACMLRootElement
public class Advice extends Object implements XACMLRootElement
Java class for AdviceType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AdviceType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}AttributeAssignment" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="AdviceId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringadviceIdprotected List<AttributeAssignment>attributeAssignment-
Fields inherited from interface com.sun.identity.entitlement.xacml3.core.XACMLRootElement
XACML3_NAMESPACE
-
-
Constructor Summary
Constructors Constructor Description Advice()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAdviceId()Gets the value of the adviceId property.List<AttributeAssignment>getAttributeAssignment()Gets the value of the attributeAssignment property.voidsetAdviceId(String value)Sets the value of the adviceId property.StringtoXML()Default toXML Method to Marshal Object into XML.
-
-
-
Field Detail
-
attributeAssignment
protected List<AttributeAssignment> attributeAssignment
-
adviceId
protected String adviceId
-
-
Method Detail
-
getAttributeAssignment
public List<AttributeAssignment> getAttributeAssignment()
Gets the value of the attributeAssignment 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
setmethod for the attributeAssignment property.For example, to add a new item, do as follows:
getAttributeAssignment().add(newItem);Objects of the following type(s) are allowed in the list
AttributeAssignment
-
getAdviceId
public String getAdviceId()
Gets the value of the adviceId property.- Returns:
- possible object is
String
-
setAdviceId
public void setAdviceId(String value)
Sets the value of the adviceId property.- Parameters:
value- allowed object isString
-
toXML
public String toXML()
Default toXML Method to Marshal Object into XML.- Specified by:
toXMLin interfaceXACMLRootElement- Returns:
- String - Marshaled Results into XML String.
-
-