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

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

public class ResourceStateType
extends ExtensibleObjectType
implements java.io.Serializable

Object to store resource state. It is reflection of temporary resource parameters, such as synchronization tokens, long-term communication state, maybe even queues and similar data. This object may store only disposable, temporary data. If this object is lost or deleted, the system must be able to restore normal operation without administrator interaction. This object is separate from the resource to allow migrating of resource definition between midPoint installations (e.g. from testing to production). This object can also be safely discarded, implementing kind of "clear cache" functionality. This may be considered an internal object of provisioning. It is part of Identity Schema now, until we figure out how to do this in a better way. This object type is considered UNSTABLE for now. Do not depend on it too much. It is likely to change.

Java class for ResourceStateType complex type.

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

 <complexType name="ResourceStateType">
   <complexContent>
     <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}ExtensibleObjectType">
       <sequence>
         <element name="resourceRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}ObjectReferenceType"/>
         <element name="synchronizationState" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <any/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Nested Class Summary
static class ResourceStateType.SynchronizationState
          Java class for anonymous complex type.
 
Field Summary
protected  ObjectReferenceType resourceRef
           
protected  ResourceStateType.SynchronizationState synchronizationState
           
 
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_1.ExtensibleObjectType
extension
 
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_1.ObjectType
name, oid, version
 
Constructor Summary
ResourceStateType()
           
 
Method Summary
 ObjectReferenceType getResourceRef()
          Gets the value of the resourceRef property.
 ResourceStateType.SynchronizationState getSynchronizationState()
          Gets the value of the synchronizationState property.
 void setResourceRef(ObjectReferenceType value)
          Sets the value of the resourceRef property.
 void setSynchronizationState(ResourceStateType.SynchronizationState value)
          Sets the value of the synchronizationState property.
 
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_1.ExtensibleObjectType
getExtension, setExtension
 
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_1.ObjectType
getName, getOid, getVersion, setName, setOid, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resourceRef

protected ObjectReferenceType resourceRef

synchronizationState

protected ResourceStateType.SynchronizationState synchronizationState
Constructor Detail

ResourceStateType

public ResourceStateType()
Method Detail

getResourceRef

public ObjectReferenceType getResourceRef()
Gets the value of the resourceRef property.

Returns:
possible object is ObjectReferenceType

setResourceRef

public void setResourceRef(ObjectReferenceType value)
Sets the value of the resourceRef property.

Parameters:
value - allowed object is ObjectReferenceType

getSynchronizationState

public ResourceStateType.SynchronizationState getSynchronizationState()
Gets the value of the synchronizationState property.

Returns:
possible object is ResourceStateType.SynchronizationState

setSynchronizationState

public void setSynchronizationState(ResourceStateType.SynchronizationState value)
Sets the value of the synchronizationState property.

Parameters:
value - allowed object is ResourceStateType.SynchronizationState


Copyright © 2011 evolveum. All Rights Reserved.