com.evolveum.midpoint.xml.ns._public.common.common_2a
Class OperationalStateType

java.lang.Object
  extended by com.evolveum.midpoint.xml.ns._public.common.common_2a.OperationalStateType
All Implemented Interfaces:
Containerable, Serializable, Cloneable

public class OperationalStateType
extends Object
implements Serializable, Cloneable, Containerable

Structure containing metada about operational state of the resource. E.g. if resource is up or down, when it was last checked, etc. It should not contain configuration, just the operational state.

Java class for OperationalStateType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="OperationalStateType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="lastAvailabilityStatus" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}AvailabilityStatusType" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
static QName COMPLEX_TYPE
           
static QName F_LAST_AVAILABILITY_STATUS
           
 
Constructor Summary
OperationalStateType()
           
 
Method Summary
 PrismContainerValue asPrismContainerValue()
           
 OperationalStateType clone()
           
 boolean equals(Object object)
           
 String getId()
           
 AvailabilityStatusType getLastAvailabilityStatus()
           
 int hashCode()
           
 void setId(String value)
           
 void setLastAvailabilityStatus(AvailabilityStatusType value)
           
 void setupContainerValue(PrismContainerValue containerValue)
          Setup value to the containerable representation.
 String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

COMPLEX_TYPE

public static final QName COMPLEX_TYPE

F_LAST_AVAILABILITY_STATUS

public static final QName F_LAST_AVAILABILITY_STATUS
Constructor Detail

OperationalStateType

public OperationalStateType()
Method Detail

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

getLastAvailabilityStatus

public AvailabilityStatusType getLastAvailabilityStatus()

setLastAvailabilityStatus

public void setLastAvailabilityStatus(AvailabilityStatusType value)

getId

public String getId()

setId

public void setId(String value)

clone

public OperationalStateType clone()
Overrides:
clone in class Object


Copyright © 2013 evolveum. All Rights Reserved.