Class ApplicablePoliciesType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ApplicablePoliciesType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class ApplicablePoliciesType extends Object implements Serializable, Cloneable, Containerable
Specification of policies that are applicable to this object type. This should refer to all applicable policies, not just those that are applied. The purpose is primarily for presentation purposes, so the user interface can present choice of all policies to the user.Java class for ApplicablePoliciesType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ApplicablePoliciesType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="policyGroupRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}long" /> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_POLICY_GROUP_REF
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description ApplicablePoliciesType()
ApplicablePoliciesType(PrismContext prismContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrismContainerValue
asPrismContainerValue()
ObjectReferenceType
beginPolicyGroupRef()
ApplicablePoliciesType
clone()
List<ObjectReferenceType>
createPolicyGroupRefList()
<X> X
end()
boolean
equals(Object object)
Long
getId()
List<ObjectReferenceType>
getPolicyGroupRef()
int
hashCode()
ApplicablePoliciesType
id(Long value)
ApplicablePoliciesType
policyGroupRef(ObjectReferenceType value)
ApplicablePoliciesType
policyGroupRef(String oid, QName type)
ApplicablePoliciesType
policyGroupRef(String oid, QName type, QName relation)
void
setId(Long value)
void
setupContainerValue(PrismContainerValue containerValue)
Setup value to the containerable representation.String
toString()
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.prism.Containerable
cloneWithoutId, debugDump
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Constructor Detail
-
ApplicablePoliciesType
public ApplicablePoliciesType()
-
ApplicablePoliciesType
public ApplicablePoliciesType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interfaceContainerable
-
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
Description copied from interface:Containerable
Setup value to the containerable representation. This is used to after (empty) containerable is created to initialize it with a correct prism container value. Note: This method DOES NOT change the container value parent.- Specified by:
setupContainerValue
in interfaceContainerable
-
end
public <X> X end()
-
getPolicyGroupRef
public List<ObjectReferenceType> getPolicyGroupRef()
-
createPolicyGroupRefList
public List<ObjectReferenceType> createPolicyGroupRefList()
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
policyGroupRef
public ApplicablePoliciesType policyGroupRef(ObjectReferenceType value)
-
policyGroupRef
public ApplicablePoliciesType policyGroupRef(String oid, QName type)
-
policyGroupRef
public ApplicablePoliciesType policyGroupRef(String oid, QName type, QName relation)
-
beginPolicyGroupRef
public ObjectReferenceType beginPolicyGroupRef()
-
id
public ApplicablePoliciesType id(Long value)
-
clone
public ApplicablePoliciesType clone()
-
-