/*
* Copyright (c) 2010-2013 Evolveum
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.02.24 at 02:46:19 PM CET
//
package com.evolveum.midpoint.prism.foo;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
import javax.xml.namespace.QName;
import com.evolveum.midpoint.prism.Containerable;
import com.evolveum.midpoint.prism.PrismContainerValue;
/**
*
* ActivationTyps is a container, therefore the following elements are properties.
* This tests the ability to deal with boolean and dateTime properties.
*
*
* <p>Java class for ActivationType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <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"/>
* <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>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ActivationType", propOrder = {
"enabled",
"validFrom",
"validTo"
})
public class ActivationType
implements Serializable, Containerable
{
private final static long serialVersionUID = 201202081233L;
protected boolean enabled;
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar validFrom;
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar validTo;
// This is NOT GENERATED. It is supplied here manually for the testing.
public final static QName F_ENABLED = new QName(ObjectType.NS_FOO, "enabled");
public final static QName F_VALID_FROM = new QName(ObjectType.NS_FOO, "validFrom");
public final static QName F_VALID_TO = new QName(ObjectType.NS_FOO, "validTo");
/**
* Gets the value of the enabled property.
*
*/
public boolean isEnabled() {
return enabled;
}
/**
* Sets the value of the enabled property.
*
*/
public void setEnabled(boolean value) {
this.enabled = value;
}
/**
* Gets the value of the validFrom property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getValidFrom() {
return validFrom;
}
/**
* Sets the value of the validFrom property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setValidFrom(XMLGregorianCalendar value) {
this.validFrom = value;
}
/**
* Gets the value of the validTo property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getValidTo() {
return validTo;
}
/**
* Sets the value of the validTo property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setValidTo(XMLGregorianCalendar value) {
this.validTo = value;
}
/* (non-Javadoc)
* @see com.evolveum.midpoint.prism.Containerable#asPrismContainerValue()
*/
@Override
public PrismContainerValue asPrismContainerValue() {
throw new UnsupportedOperationException();
}
/* (non-Javadoc)
* @see com.evolveum.midpoint.prism.Containerable#setupContainerValue(com.evolveum.midpoint.prism.PrismContainerValue)
*/
@Override
public void setupContainerValue(PrismContainerValue container) {
throw new UnsupportedOperationException();
}
}