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, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

public class ActivationType
extends java.lang.Object
implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

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
static javax.xml.namespace.QName COMPLEX_TYPE
           
protected  java.lang.Boolean enabled
           
static javax.xml.namespace.QName F_ENABLED
           
static javax.xml.namespace.QName F_VALID_FROM
           
static javax.xml.namespace.QName F_VALID_TO
           
protected  javax.xml.datatype.XMLGregorianCalendar validFrom
           
protected  javax.xml.datatype.XMLGregorianCalendar validTo
           
 
Constructor Summary
ActivationType()
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
           
 javax.xml.datatype.XMLGregorianCalendar getValidFrom()
          Gets the value of the validFrom property.
 javax.xml.datatype.XMLGregorianCalendar getValidTo()
          Gets the value of the validTo property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 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, finalize, getClass, 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

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
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

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                      org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                      java.lang.Object object,
                      org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object


Copyright © 2012 evolveum. All Rights Reserved.