com.evolveum.midpoint.xml.ns._public.common.common_1
Class ActivationType

java.lang.Object
  extended by com.evolveum.midpoint.xml.ns._public.common.common_1.ActivationType
All Implemented Interfaces:
java.io.Serializable

public class ActivationType
extends java.lang.Object
implements java.io.Serializable

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>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.lang.Boolean enabled
           
protected  javax.xml.datatype.XMLGregorianCalendar validFrom
           
protected  javax.xml.datatype.XMLGregorianCalendar validTo
           
 
Constructor Summary
ActivationType()
           
 
Method Summary
 javax.xml.datatype.XMLGregorianCalendar getValidFrom()
          Gets the value of the validFrom property.
 javax.xml.datatype.XMLGregorianCalendar getValidTo()
          Gets the value of the validTo property.
 java.lang.Boolean isEnabled()
          Gets the value of the enabled property.
 void setEnabled(java.lang.Boolean value)
          Sets the value of the enabled property.
 void setValidFrom(javax.xml.datatype.XMLGregorianCalendar value)
          Sets the value of the validFrom property.
 void setValidTo(javax.xml.datatype.XMLGregorianCalendar value)
          Sets the value of the validTo property.
 java.lang.String toString()
          Generates a String representation of the contents of this type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

enabled

protected java.lang.Boolean enabled

validFrom

protected javax.xml.datatype.XMLGregorianCalendar validFrom

validTo

protected javax.xml.datatype.XMLGregorianCalendar validTo
Constructor Detail

ActivationType

public ActivationType()
Method Detail

isEnabled

public java.lang.Boolean isEnabled()
Gets the value of the enabled property.

Returns:
possible object is Boolean

setEnabled

public void setEnabled(java.lang.Boolean value)
Sets the value of the enabled property.

Parameters:
value - allowed object is Boolean

getValidFrom

public javax.xml.datatype.XMLGregorianCalendar getValidFrom()
Gets the value of the validFrom property.

Returns:
possible object is XMLGregorianCalendar

setValidFrom

public void setValidFrom(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the validFrom property.

Parameters:
value - allowed object is XMLGregorianCalendar

getValidTo

public javax.xml.datatype.XMLGregorianCalendar getValidTo()
Gets the value of the validTo property.

Returns:
possible object is XMLGregorianCalendar

setValidTo

public void setValidTo(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the validTo property.

Parameters:
value - allowed object is XMLGregorianCalendar

toString

public java.lang.String toString()
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin

Overrides:
toString in class java.lang.Object


Copyright © 2011 evolveum. All Rights Reserved.