Class HasAssignmentPolicyConstraintType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractPolicyConstraintType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.HasAssignmentPolicyConstraintType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class HasAssignmentPolicyConstraintType extends AbstractPolicyConstraintType implements Serializable, Cloneable, Containerable
Constraint that triggers when the focus has given assignment(s).Java class for HasAssignmentPolicyConstraintType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="HasAssignmentPolicyConstraintType"> <complexContent> <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AbstractPolicyConstraintType"> <sequence> <element name="targetRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType"/> <element name="direct" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="enabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="relation" type="{http://www.w3.org/2001/XMLSchema}QName" 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_DIRECT
static ItemName
F_ENABLED
static ItemName
F_RELATION
static ItemName
F_TARGET_REF
-
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 HasAssignmentPolicyConstraintType()
HasAssignmentPolicyConstraintType(PrismContext prismContext)
-
Method Summary
-
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
-
HasAssignmentPolicyConstraintType
public HasAssignmentPolicyConstraintType()
-
HasAssignmentPolicyConstraintType
public HasAssignmentPolicyConstraintType(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
-
getTargetRef
public ObjectReferenceType getTargetRef()
-
setTargetRef
public void setTargetRef(ObjectReferenceType value)
-
isDirect
public Boolean isDirect()
-
setDirect
public void setDirect(Boolean value)
-
isEnabled
public Boolean isEnabled()
-
setEnabled
public void setEnabled(Boolean value)
-
targetRef
public HasAssignmentPolicyConstraintType targetRef(ObjectReferenceType value)
-
targetRef
public HasAssignmentPolicyConstraintType targetRef(String oid, QName type)
-
targetRef
public HasAssignmentPolicyConstraintType targetRef(String oid, QName type, QName relation)
-
beginTargetRef
public ObjectReferenceType beginTargetRef()
-
direct
public HasAssignmentPolicyConstraintType direct(Boolean value)
-
enabled
public HasAssignmentPolicyConstraintType enabled(Boolean value)
-
relation
public HasAssignmentPolicyConstraintType relation(QName value)
-
name
public HasAssignmentPolicyConstraintType name(String value)
- Overrides:
name
in classAbstractPolicyConstraintType
-
description
public HasAssignmentPolicyConstraintType description(String value)
- Overrides:
description
in classAbstractPolicyConstraintType
-
documentation
public HasAssignmentPolicyConstraintType documentation(String value)
- Overrides:
documentation
in classAbstractPolicyConstraintType
-
presentation
public HasAssignmentPolicyConstraintType presentation(PolicyConstraintPresentationType value)
- Overrides:
presentation
in classAbstractPolicyConstraintType
-
beginPresentation
public PolicyConstraintPresentationType beginPresentation()
- Overrides:
beginPresentation
in classAbstractPolicyConstraintType
-
id
public HasAssignmentPolicyConstraintType id(Long value)
- Overrides:
id
in classAbstractPolicyConstraintType
-
clone
public HasAssignmentPolicyConstraintType clone()
- Overrides:
clone
in classAbstractPolicyConstraintType
-
-