public class ApprovalPolicy
extends java.lang.Object
Java class for ApprovalPolicy complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ApprovalPolicy"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="isAutoApproval" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="needFrom" type="{http://namespaces.CentraSite.com/services/governance/privilege}needFrom"/> <element name="groupId" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/> <element name="EmailSettings" type="{http://namespaces.CentraSite.com/services/governance/privilege}EmailSettings" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Constructor and Description |
---|
ApprovalPolicy() |
Modifier and Type | Method and Description |
---|---|
java.util.List<EmailSettings> |
getEmailSettings()
Gets the value of the emailSettings property.
|
java.util.List<java.lang.String> |
getGroupId()
Gets the value of the groupId property.
|
NeedFrom |
getNeedFrom()
Gets the value of the needFrom property.
|
boolean |
isIsAutoApproval()
Gets the value of the isAutoApproval property.
|
void |
setIsAutoApproval(boolean value)
Sets the value of the isAutoApproval property.
|
void |
setNeedFrom(NeedFrom value)
Sets the value of the needFrom property.
|
public boolean isIsAutoApproval()
public void setIsAutoApproval(boolean value)
value
- If true the policy can be auto approvedpublic NeedFrom getNeedFrom()
NeedFrom
public void setNeedFrom(NeedFrom value)
value
- allowed object is
NeedFrom
public java.util.List<java.lang.String> getGroupId()
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 groupId property.
For example, to add a new item, do as follows:
getGroupId().add(newItem);
Objects of the following type(s) are allowed in the list
String
List
of group ids.public java.util.List<EmailSettings> getEmailSettings()
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 emailSettings property.
For example, to add a new item, do as follows:
getEmailSettings().add(newItem);
Objects of the following type(s) are allowed in the list
EmailSettings
List
of EmailSettings
instances