Class TimeValidityPolicyConstraintType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractPolicyConstraintType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.TimeValidityPolicyConstraintType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class TimeValidityPolicyConstraintType extends AbstractPolicyConstraintType implements Serializable, Cloneable, Containerable
A constraint that triggers when validity of an object, assignment, or basically any time-sensitive item (e.g. password) is about to end.Java class for TimeValidityPolicyConstraintType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TimeValidityPolicyConstraintType"> <complexContent> <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AbstractPolicyConstraintType"> <sequence> <element name="item" type="{http://prism.evolveum.com/xml/ns/public/types-3}ItemPathType" minOccurs="0"/> <element name="assignment" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="activateOn" type="{http://www.w3.org/2001/XMLSchema}duration" minOccurs="0"/> <element name="deactivateOn" type="{http://www.w3.org/2001/XMLSchema}duration" 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_ACTIVATE_ON
static ItemName
F_ASSIGNMENT
static ItemName
F_DEACTIVATE_ON
static ItemName
F_ITEM
-
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 TimeValidityPolicyConstraintType()
TimeValidityPolicyConstraintType(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
-
TimeValidityPolicyConstraintType
public TimeValidityPolicyConstraintType()
-
TimeValidityPolicyConstraintType
public TimeValidityPolicyConstraintType(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
-
getItem
public ItemPathType getItem()
-
setItem
public void setItem(ItemPathType value)
-
isAssignment
public Boolean isAssignment()
-
setAssignment
public void setAssignment(Boolean value)
-
getActivateOn
public Duration getActivateOn()
-
setActivateOn
public void setActivateOn(Duration value)
-
getDeactivateOn
public Duration getDeactivateOn()
-
setDeactivateOn
public void setDeactivateOn(Duration value)
-
item
public TimeValidityPolicyConstraintType item(ItemPathType value)
-
beginItem
public ItemPathType beginItem()
-
assignment
public TimeValidityPolicyConstraintType assignment(Boolean value)
-
activateOn
public TimeValidityPolicyConstraintType activateOn(Duration value)
-
deactivateOn
public TimeValidityPolicyConstraintType deactivateOn(Duration value)
-
name
public TimeValidityPolicyConstraintType name(String value)
- Overrides:
name
in classAbstractPolicyConstraintType
-
description
public TimeValidityPolicyConstraintType description(String value)
- Overrides:
description
in classAbstractPolicyConstraintType
-
documentation
public TimeValidityPolicyConstraintType documentation(String value)
- Overrides:
documentation
in classAbstractPolicyConstraintType
-
presentation
public TimeValidityPolicyConstraintType presentation(PolicyConstraintPresentationType value)
- Overrides:
presentation
in classAbstractPolicyConstraintType
-
beginPresentation
public PolicyConstraintPresentationType beginPresentation()
- Overrides:
beginPresentation
in classAbstractPolicyConstraintType
-
id
public TimeValidityPolicyConstraintType id(Long value)
- Overrides:
id
in classAbstractPolicyConstraintType
-
clone
public TimeValidityPolicyConstraintType clone()
- Overrides:
clone
in classAbstractPolicyConstraintType
-
-