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, Serializable, Cloneable
public class ActivationType
- extends Object
- implements Serializable, 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
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
F_ENABLED
public static final QName F_ENABLED
F_VALID_FROM
public static final QName F_VALID_FROM
F_VALID_TO
public static final 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 String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object object)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
isEnabled
public Boolean isEnabled()
setEnabled
public void setEnabled(Boolean value)
getValidFrom
public XMLGregorianCalendar getValidFrom()
setValidFrom
public void setValidFrom(XMLGregorianCalendar value)
getValidTo
public XMLGregorianCalendar getValidTo()
setValidTo
public void setValidTo(XMLGregorianCalendar value)
getId
public String getId()
setId
public void setId(String value)
clone
public ActivationType clone()
- Overrides:
clone
in class Object
Copyright © 2013 evolveum. All Rights Reserved.