Class OperationalStateType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.OperationalStateType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class OperationalStateType extends Object implements Serializable, Cloneable, Containerable
Structure containing metadata about operational state of the resource. E.g. if resource is up or down, when it was last changed, 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-3}AvailabilityStatusType" minOccurs="0"/> <element name="message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="nodeId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}long" /> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_LAST_AVAILABILITY_STATUS
static ItemName
F_MESSAGE
static ItemName
F_NODE_ID
static ItemName
F_TIMESTAMP
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description OperationalStateType()
OperationalStateType(PrismContext prismContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrismContainerValue
asPrismContainerValue()
OperationalStateType
clone()
<X> X
end()
boolean
equals(Object object)
Long
getId()
AvailabilityStatusType
getLastAvailabilityStatus()
String
getMessage()
String
getNodeId()
XMLGregorianCalendar
getTimestamp()
int
hashCode()
OperationalStateType
id(Long value)
OperationalStateType
lastAvailabilityStatus(AvailabilityStatusType value)
OperationalStateType
message(String value)
OperationalStateType
nodeId(String value)
void
setId(Long value)
void
setLastAvailabilityStatus(AvailabilityStatusType value)
void
setMessage(String value)
void
setNodeId(String value)
void
setTimestamp(XMLGregorianCalendar value)
void
setupContainerValue(PrismContainerValue containerValue)
Setup value to the containerable representation.OperationalStateType
timestamp(String value)
OperationalStateType
timestamp(XMLGregorianCalendar value)
String
toString()
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.prism.Containerable
cloneWithoutId, debugDump
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Constructor Detail
-
OperationalStateType
public OperationalStateType()
-
OperationalStateType
public OperationalStateType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interfaceContainerable
-
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 interfaceContainerable
-
end
public <X> X end()
-
getLastAvailabilityStatus
public AvailabilityStatusType getLastAvailabilityStatus()
-
setLastAvailabilityStatus
public void setLastAvailabilityStatus(AvailabilityStatusType value)
-
getMessage
public String getMessage()
-
setMessage
public void setMessage(String value)
-
getTimestamp
public XMLGregorianCalendar getTimestamp()
-
setTimestamp
public void setTimestamp(XMLGregorianCalendar value)
-
getNodeId
public String getNodeId()
-
setNodeId
public void setNodeId(String value)
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
lastAvailabilityStatus
public OperationalStateType lastAvailabilityStatus(AvailabilityStatusType value)
-
message
public OperationalStateType message(String value)
-
timestamp
public OperationalStateType timestamp(XMLGregorianCalendar value)
-
timestamp
public OperationalStateType timestamp(String value)
-
nodeId
public OperationalStateType nodeId(String value)
-
id
public OperationalStateType id(Long value)
-
clone
public OperationalStateType clone()
-
-