Class ActivationType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ActivationType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class ActivationType extends Object implements Serializable, Cloneable, Containerable
<?xml version="1.0" encoding="UTF-8"?><p xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:s="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> Type that defines activation properties. Determines whether something is active (and working) or inactive (e.g. disabled). </p>
<?xml version="1.0" encoding="UTF-8"?><p xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:s="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> It applies to several object types. It may apply to user, account, assignment, etc. The data in this type define if the described concept is active, from when it is active and until when. The "active" means that it works. If something is not active, it should not work or not cause any effect. E.g. inactive user should not be able to log in or run any tasks, the non-active role should not be assigned and if assigned it should not be taken into account when computing the accounts. </p>
Java class for ActivationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ActivationType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="administrativeStatus" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ActivationStatusType" minOccurs="0"/> <element name="effectiveStatus" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ActivationStatusType" minOccurs="0"/> <element name="validFrom" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="validTo" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="validityStatus" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}TimeIntervalStatusType" minOccurs="0"/> <element name="disableReason" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> <element name="disableTimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="enableTimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="archiveTimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="validityChangeTimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="lockoutStatus" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}LockoutStatusType" minOccurs="0"/> <element name="lockoutExpirationTimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" 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_ADMINISTRATIVE_STATUS
static ItemName
F_ARCHIVE_TIMESTAMP
static ItemName
F_DISABLE_REASON
static ItemName
F_DISABLE_TIMESTAMP
static ItemName
F_EFFECTIVE_STATUS
static ItemName
F_ENABLE_TIMESTAMP
static ItemName
F_LOCKOUT_EXPIRATION_TIMESTAMP
static ItemName
F_LOCKOUT_STATUS
static ItemName
F_VALID_FROM
static ItemName
F_VALID_TO
static ItemName
F_VALIDITY_CHANGE_TIMESTAMP
static ItemName
F_VALIDITY_STATUS
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description ActivationType()
ActivationType(PrismContext prismContext)
-
Method Summary
-
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
-
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_ADMINISTRATIVE_STATUS
public static final ItemName F_ADMINISTRATIVE_STATUS
-
F_EFFECTIVE_STATUS
public static final ItemName F_EFFECTIVE_STATUS
-
F_VALID_FROM
public static final ItemName F_VALID_FROM
-
F_VALID_TO
public static final ItemName F_VALID_TO
-
F_VALIDITY_STATUS
public static final ItemName F_VALIDITY_STATUS
-
F_DISABLE_REASON
public static final ItemName F_DISABLE_REASON
-
F_DISABLE_TIMESTAMP
public static final ItemName F_DISABLE_TIMESTAMP
-
F_ENABLE_TIMESTAMP
public static final ItemName F_ENABLE_TIMESTAMP
-
F_ARCHIVE_TIMESTAMP
public static final ItemName F_ARCHIVE_TIMESTAMP
-
F_VALIDITY_CHANGE_TIMESTAMP
public static final ItemName F_VALIDITY_CHANGE_TIMESTAMP
-
F_LOCKOUT_STATUS
public static final ItemName F_LOCKOUT_STATUS
-
F_LOCKOUT_EXPIRATION_TIMESTAMP
public static final ItemName F_LOCKOUT_EXPIRATION_TIMESTAMP
-
-
Constructor Detail
-
ActivationType
public ActivationType()
-
ActivationType
public ActivationType(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()
-
getAdministrativeStatus
public ActivationStatusType getAdministrativeStatus()
-
setAdministrativeStatus
public void setAdministrativeStatus(ActivationStatusType value)
-
getEffectiveStatus
public ActivationStatusType getEffectiveStatus()
-
setEffectiveStatus
public void setEffectiveStatus(ActivationStatusType value)
-
getValidFrom
public XMLGregorianCalendar getValidFrom()
-
setValidFrom
public void setValidFrom(XMLGregorianCalendar value)
-
getValidTo
public XMLGregorianCalendar getValidTo()
-
setValidTo
public void setValidTo(XMLGregorianCalendar value)
-
getValidityStatus
public TimeIntervalStatusType getValidityStatus()
-
setValidityStatus
public void setValidityStatus(TimeIntervalStatusType value)
-
getDisableReason
public String getDisableReason()
-
setDisableReason
public void setDisableReason(String value)
-
getDisableTimestamp
public XMLGregorianCalendar getDisableTimestamp()
-
setDisableTimestamp
public void setDisableTimestamp(XMLGregorianCalendar value)
-
getEnableTimestamp
public XMLGregorianCalendar getEnableTimestamp()
-
setEnableTimestamp
public void setEnableTimestamp(XMLGregorianCalendar value)
-
getArchiveTimestamp
public XMLGregorianCalendar getArchiveTimestamp()
-
setArchiveTimestamp
public void setArchiveTimestamp(XMLGregorianCalendar value)
-
getValidityChangeTimestamp
public XMLGregorianCalendar getValidityChangeTimestamp()
-
setValidityChangeTimestamp
public void setValidityChangeTimestamp(XMLGregorianCalendar value)
-
getLockoutStatus
public LockoutStatusType getLockoutStatus()
-
setLockoutStatus
public void setLockoutStatus(LockoutStatusType value)
-
getLockoutExpirationTimestamp
public XMLGregorianCalendar getLockoutExpirationTimestamp()
-
setLockoutExpirationTimestamp
public void setLockoutExpirationTimestamp(XMLGregorianCalendar value)
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
administrativeStatus
public ActivationType administrativeStatus(ActivationStatusType value)
-
effectiveStatus
public ActivationType effectiveStatus(ActivationStatusType value)
-
validFrom
public ActivationType validFrom(XMLGregorianCalendar value)
-
validFrom
public ActivationType validFrom(String value)
-
validTo
public ActivationType validTo(XMLGregorianCalendar value)
-
validTo
public ActivationType validTo(String value)
-
validityStatus
public ActivationType validityStatus(TimeIntervalStatusType value)
-
disableReason
public ActivationType disableReason(String value)
-
disableTimestamp
public ActivationType disableTimestamp(XMLGregorianCalendar value)
-
disableTimestamp
public ActivationType disableTimestamp(String value)
-
enableTimestamp
public ActivationType enableTimestamp(XMLGregorianCalendar value)
-
enableTimestamp
public ActivationType enableTimestamp(String value)
-
archiveTimestamp
public ActivationType archiveTimestamp(XMLGregorianCalendar value)
-
archiveTimestamp
public ActivationType archiveTimestamp(String value)
-
validityChangeTimestamp
public ActivationType validityChangeTimestamp(XMLGregorianCalendar value)
-
validityChangeTimestamp
public ActivationType validityChangeTimestamp(String value)
-
lockoutStatus
public ActivationType lockoutStatus(LockoutStatusType value)
-
lockoutExpirationTimestamp
public ActivationType lockoutExpirationTimestamp(XMLGregorianCalendar value)
-
lockoutExpirationTimestamp
public ActivationType lockoutExpirationTimestamp(String value)
-
id
public ActivationType id(Long value)
-
clone
public ActivationType clone()
-
-