Class Policy
Java class for Policy complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="Policy">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="group" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="identifier">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<minLength value="1"/>
<pattern value=".*[^\s].*"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
</element>
<element name="user" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="identifier">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<minLength value="1"/>
<pattern value=".*[^\s].*"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="identifier">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<minLength value="1"/>
<pattern value=".*[^\s].*"/>
</restriction>
</simpleType>
</attribute>
<attribute name="resource">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<minLength value="1"/>
<pattern value=".*[^\s].*"/>
</restriction>
</simpleType>
</attribute>
<attribute name="action">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="R"/>
<enumeration value="W"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex typestatic classJava class for anonymous complex type -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected List<Policy.Group> protected Stringprotected Stringprotected List<Policy.User> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the action property.getGroup()Gets the value of the group property.Gets the value of the identifier property.Gets the value of the resource property.getUser()Gets the value of the user property.voidSets the value of the action property.voidsetIdentifier(String value) Sets the value of the identifier property.voidsetResource(String value) Sets the value of the resource property.
-
Field Details
-
group
-
user
-
identifier
-
resource
-
action
-
-
Constructor Details
-
Policy
public Policy()
-
-
Method Details
-
getGroup
Gets the value of the group 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 group property.For example, to add a new item, do as follows:
getGroup().add(newItem);
Objects of the following type(s) are allowed in the list
Policy.Group- Returns:
- The value of the group property.
-
getUser
Gets the value of the user 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 user property.For example, to add a new item, do as follows:
getUser().add(newItem);
Objects of the following type(s) are allowed in the list
Policy.User- Returns:
- The value of the user property.
-
getIdentifier
Gets the value of the identifier property.- Returns:
- possible object is
String
-
setIdentifier
Sets the value of the identifier property.- Parameters:
value- allowed object isString
-
getResource
Gets the value of the resource property.- Returns:
- possible object is
String
-
setResource
Sets the value of the resource property.- Parameters:
value- allowed object isString
-
getAction
Gets the value of the action property.- Returns:
- possible object is
String
-
setAction
Sets the value of the action property.- Parameters:
value- allowed object isString
-