Class AdministrativeOperationalStateType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AdministrativeOperationalStateType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class AdministrativeOperationalStateType extends Object implements Serializable, Cloneable, Containerable
Structure containing metadata about administrative operational state of the resource. Administrative operational state is set manually by midPoint users (e.g. administrator). This is in contrast with OperationalStateType setting, which is set automatically by the midPoint. It signalizes whether resource is up and OPERATIONAL to receive provisioning requests or is down in MAINTENANCE and midPoint should not contact it during the provisioning. This setting is useful when resource is e.g. undergoing planned maintenance to save computing time and error messages. EXPERIMENTAL FEATURE! Contributed by the community.Java class for AdministrativeOperationalStateType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AdministrativeOperationalStateType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="administrativeAvailabilityStatus" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AdministrativeAvailabilityStatusType" 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_ADMINISTRATIVE_AVAILABILITY_STATUS
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description AdministrativeOperationalStateType()
AdministrativeOperationalStateType(PrismContext prismContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdministrativeOperationalStateType
administrativeAvailabilityStatus(AdministrativeAvailabilityStatusType value)
PrismContainerValue
asPrismContainerValue()
AdministrativeOperationalStateType
clone()
<X> X
end()
boolean
equals(Object object)
AdministrativeAvailabilityStatusType
getAdministrativeAvailabilityStatus()
Long
getId()
int
hashCode()
AdministrativeOperationalStateType
id(Long value)
void
setAdministrativeAvailabilityStatus(AdministrativeAvailabilityStatusType value)
void
setId(Long 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
-
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
-
AdministrativeOperationalStateType
public AdministrativeOperationalStateType()
-
AdministrativeOperationalStateType
public AdministrativeOperationalStateType(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()
-
getAdministrativeAvailabilityStatus
public AdministrativeAvailabilityStatusType getAdministrativeAvailabilityStatus()
-
setAdministrativeAvailabilityStatus
public void setAdministrativeAvailabilityStatus(AdministrativeAvailabilityStatusType value)
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
administrativeAvailabilityStatus
public AdministrativeOperationalStateType administrativeAvailabilityStatus(AdministrativeAvailabilityStatusType value)
-
id
public AdministrativeOperationalStateType id(Long value)
-
clone
public AdministrativeOperationalStateType clone()
-
-