com.evolveum.midpoint.xml.ns._public.common.common_2a
Class ActivationType
java.lang.Object
com.evolveum.midpoint.xml.ns._public.common.common_2a.ActivationType
- All Implemented Interfaces:
- Containerable, java.io.Serializable, java.lang.Cloneable
public class ActivationType
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Cloneable, Containerable
Type that defines activation properties. Determines whether something is active
(and working) or inactive (e.g. disabled).
It applies to several object types. It may apply to user, account, assignement, 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.
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="enabled" type="{http://www.w3.org/2001/XMLSchema}boolean" 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"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
COMPLEX_TYPE
public static final javax.xml.namespace.QName COMPLEX_TYPE
F_ENABLED
public static final javax.xml.namespace.QName F_ENABLED
F_VALID_FROM
public static final javax.xml.namespace.QName F_VALID_FROM
F_VALID_TO
public static final javax.xml.namespace.QName F_VALID_TO
ActivationType
public ActivationType()
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interface Containerable
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 interface Containerable
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
isEnabled
public java.lang.Boolean isEnabled()
setEnabled
public void setEnabled(java.lang.Boolean value)
getValidFrom
public javax.xml.datatype.XMLGregorianCalendar getValidFrom()
setValidFrom
public void setValidFrom(javax.xml.datatype.XMLGregorianCalendar value)
getValidTo
public javax.xml.datatype.XMLGregorianCalendar getValidTo()
setValidTo
public void setValidTo(javax.xml.datatype.XMLGregorianCalendar value)
getId
public java.lang.String getId()
setId
public void setId(java.lang.String value)
clone
public ActivationType clone()
- Overrides:
clone
in class java.lang.Object
Copyright © 2012 evolveum. All Rights Reserved.