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: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: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>
Modifier and Type | Field and 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 |
Constructor and Description |
---|
ActivationType() |
ActivationType(PrismContext prismContext) |
public static final QName COMPLEX_TYPE
public static final ItemName F_ADMINISTRATIVE_STATUS
public static final ItemName F_EFFECTIVE_STATUS
public static final ItemName F_VALID_FROM
public static final ItemName F_VALID_TO
public static final ItemName F_VALIDITY_STATUS
public static final ItemName F_DISABLE_REASON
public static final ItemName F_DISABLE_TIMESTAMP
public static final ItemName F_ENABLE_TIMESTAMP
public static final ItemName F_ARCHIVE_TIMESTAMP
public static final ItemName F_VALIDITY_CHANGE_TIMESTAMP
public static final ItemName F_LOCKOUT_STATUS
public static final ItemName F_LOCKOUT_EXPIRATION_TIMESTAMP
public ActivationType()
public ActivationType(PrismContext prismContext)
public PrismContainerValue asPrismContainerValue()
asPrismContainerValue
in interface Containerable
public void setupContainerValue(PrismContainerValue containerValue)
Containerable
setupContainerValue
in interface Containerable
public <X> X end()
public ActivationStatusType getAdministrativeStatus()
public void setAdministrativeStatus(ActivationStatusType value)
public ActivationStatusType getEffectiveStatus()
public void setEffectiveStatus(ActivationStatusType value)
public XMLGregorianCalendar getValidFrom()
public void setValidFrom(XMLGregorianCalendar value)
public XMLGregorianCalendar getValidTo()
public void setValidTo(XMLGregorianCalendar value)
public TimeIntervalStatusType getValidityStatus()
public void setValidityStatus(TimeIntervalStatusType value)
public String getDisableReason()
public void setDisableReason(String value)
public XMLGregorianCalendar getDisableTimestamp()
public void setDisableTimestamp(XMLGregorianCalendar value)
public XMLGregorianCalendar getEnableTimestamp()
public void setEnableTimestamp(XMLGregorianCalendar value)
public XMLGregorianCalendar getArchiveTimestamp()
public void setArchiveTimestamp(XMLGregorianCalendar value)
public XMLGregorianCalendar getValidityChangeTimestamp()
public void setValidityChangeTimestamp(XMLGregorianCalendar value)
public LockoutStatusType getLockoutStatus()
public void setLockoutStatus(LockoutStatusType value)
public XMLGregorianCalendar getLockoutExpirationTimestamp()
public void setLockoutExpirationTimestamp(XMLGregorianCalendar value)
public Long getId()
public void setId(Long value)
public ActivationType administrativeStatus(ActivationStatusType value)
public ActivationType effectiveStatus(ActivationStatusType value)
public ActivationType validFrom(XMLGregorianCalendar value)
public ActivationType validFrom(String value)
public ActivationType validTo(XMLGregorianCalendar value)
public ActivationType validTo(String value)
public ActivationType validityStatus(TimeIntervalStatusType value)
public ActivationType disableReason(String value)
public ActivationType disableTimestamp(XMLGregorianCalendar value)
public ActivationType disableTimestamp(String value)
public ActivationType enableTimestamp(XMLGregorianCalendar value)
public ActivationType enableTimestamp(String value)
public ActivationType archiveTimestamp(XMLGregorianCalendar value)
public ActivationType archiveTimestamp(String value)
public ActivationType validityChangeTimestamp(XMLGregorianCalendar value)
public ActivationType validityChangeTimestamp(String value)
public ActivationType lockoutStatus(LockoutStatusType value)
public ActivationType lockoutExpirationTimestamp(XMLGregorianCalendar value)
public ActivationType lockoutExpirationTimestamp(String value)
public ActivationType id(Long value)
public ActivationType clone()
Copyright © 2021 Evolveum. All rights reserved.