Class CapabilitiesType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.CapabilitiesType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class CapabilitiesType extends Object implements Serializable, Cloneable, Containerable
Collection of resource capabilities. Each element in this collection defines a specific resource capability. Standard midpoint capabilities are defined in a separate namespace. But that is not a closed set. Resource may also specify additional capabilities. If the code that is processing capabilities encounters unknown capability it must ignore it. Each capability should have boolean property "enabled" with true default value. This is used in the configured capabilities section to disable individual capabilities. This part defines native and configured capabilities. The effective capabilities of the resource are determined by application of configured capabilities to native capabilities.Java class for CapabilitiesType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CapabilitiesType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}cachingMetadata" minOccurs="0"/> <element name="native" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}CapabilityCollectionType" minOccurs="0"/> <element name="configured" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}CapabilityCollectionType" 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_CACHING_METADATA
static ItemName
F_CONFIGURED
static ItemName
F_NATIVE
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description CapabilitiesType()
CapabilitiesType(PrismContext prismContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CapabilitiesType
_native(CapabilityCollectionType value)
PrismContainerValue
asPrismContainerValue()
CachingMetadataType
beginCachingMetadata()
CapabilityCollectionType
beginConfigured()
CapabilityCollectionType
beginNative()
CapabilitiesType
cachingMetadata(CachingMetadataType value)
CapabilitiesType
clone()
CapabilitiesType
configured(CapabilityCollectionType value)
<X> X
end()
boolean
equals(Object object)
CachingMetadataType
getCachingMetadata()
CapabilityCollectionType
getConfigured()
Long
getId()
CapabilityCollectionType
getNative()
int
hashCode()
CapabilitiesType
id(Long value)
void
setCachingMetadata(CachingMetadataType value)
void
setConfigured(CapabilityCollectionType value)
void
setId(Long value)
void
setNative(CapabilityCollectionType 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
-
CapabilitiesType
public CapabilitiesType()
-
CapabilitiesType
public CapabilitiesType(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()
-
getCachingMetadata
public CachingMetadataType getCachingMetadata()
-
setCachingMetadata
public void setCachingMetadata(CachingMetadataType value)
-
getNative
public CapabilityCollectionType getNative()
-
setNative
public void setNative(CapabilityCollectionType value)
-
getConfigured
public CapabilityCollectionType getConfigured()
-
setConfigured
public void setConfigured(CapabilityCollectionType value)
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
cachingMetadata
public CapabilitiesType cachingMetadata(CachingMetadataType value)
-
beginCachingMetadata
public CachingMetadataType beginCachingMetadata()
-
_native
public CapabilitiesType _native(CapabilityCollectionType value)
-
beginNative
public CapabilityCollectionType beginNative()
-
configured
public CapabilitiesType configured(CapabilityCollectionType value)
-
beginConfigured
public CapabilityCollectionType beginConfigured()
-
id
public CapabilitiesType id(Long value)
-
clone
public CapabilitiesType clone()
-
-