Class PolicySituationPolicyConstraintType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractPolicyConstraintType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.PolicySituationPolicyConstraintType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class PolicySituationPolicyConstraintType extends AbstractPolicyConstraintType implements Serializable, Cloneable, Containerable
Constraint that triggers the rule when the object is in a given policy situation(s).Java class for PolicySituationPolicyConstraintType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PolicySituationPolicyConstraintType"> <complexContent> <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AbstractPolicyConstraintType"> <sequence> <element name="situation" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_SITUATION
-
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractPolicyConstraintType
F_DESCRIPTION, F_DOCUMENTATION, F_NAME, F_PRESENTATION
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description PolicySituationPolicyConstraintType()
PolicySituationPolicyConstraintType(PrismContext prismContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrismContainerValue
asPrismContainerValue()
PolicyConstraintPresentationType
beginPresentation()
PolicySituationPolicyConstraintType
clone()
List<String>
createSituationList()
PolicySituationPolicyConstraintType
description(String value)
PolicySituationPolicyConstraintType
documentation(String value)
<X> X
end()
boolean
equals(Object object)
List<String>
getSituation()
int
hashCode()
PolicySituationPolicyConstraintType
id(Long value)
PolicySituationPolicyConstraintType
name(String value)
PolicySituationPolicyConstraintType
presentation(PolicyConstraintPresentationType value)
void
setupContainerValue(PrismContainerValue containerValue)
Setup value to the containerable representation.PolicySituationPolicyConstraintType
situation(String value)
String
toString()
-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractPolicyConstraintType
getDescription, getDocumentation, getId, getName, getPresentation, setDescription, setDocumentation, setId, setName, setPresentation
-
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
-
PolicySituationPolicyConstraintType
public PolicySituationPolicyConstraintType()
-
PolicySituationPolicyConstraintType
public PolicySituationPolicyConstraintType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interfaceContainerable
- Overrides:
asPrismContainerValue
in classAbstractPolicyConstraintType
-
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
- Overrides:
setupContainerValue
in classAbstractPolicyConstraintType
-
toString
public String toString()
- Overrides:
toString
in classAbstractPolicyConstraintType
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classAbstractPolicyConstraintType
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractPolicyConstraintType
-
end
public <X> X end()
- Overrides:
end
in classAbstractPolicyConstraintType
-
situation
public PolicySituationPolicyConstraintType situation(String value)
-
name
public PolicySituationPolicyConstraintType name(String value)
- Overrides:
name
in classAbstractPolicyConstraintType
-
description
public PolicySituationPolicyConstraintType description(String value)
- Overrides:
description
in classAbstractPolicyConstraintType
-
documentation
public PolicySituationPolicyConstraintType documentation(String value)
- Overrides:
documentation
in classAbstractPolicyConstraintType
-
presentation
public PolicySituationPolicyConstraintType presentation(PolicyConstraintPresentationType value)
- Overrides:
presentation
in classAbstractPolicyConstraintType
-
beginPresentation
public PolicyConstraintPresentationType beginPresentation()
- Overrides:
beginPresentation
in classAbstractPolicyConstraintType
-
id
public PolicySituationPolicyConstraintType id(Long value)
- Overrides:
id
in classAbstractPolicyConstraintType
-
clone
public PolicySituationPolicyConstraintType clone()
- Overrides:
clone
in classAbstractPolicyConstraintType
-
-