Class CapabilityType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.resource.capabilities_3.CapabilityType
-
- All Implemented Interfaces:
JaxbVisitable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
- Direct Known Subclasses:
AbstractWriteCapabilityType
,ActivationCapabilityType
,ActivationLockoutStatusCapabilityType
,ActivationStatusCapabilityType
,ActivationValidityCapabilityType
,AddRemoveAttributeValuesCapabilityType
,AsyncUpdateCapabilityType
,AuxiliaryObjectClassesCapabilityType
,CountObjectsCapabilityType
,CredentialsCapabilityType
,LiveSyncCapabilityType
,PagedSearchCapabilityType
,PasswordCapabilityType
,ReadCapabilityType
,RunAsCapabilityType
,SchemaCapabilityType
,ScriptCapabilityType
,TestConnectionCapabilityType
public abstract class CapabilityType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Abstract supertype for all (static schema) capabilities. It is in fact just a shortcut to introduce common "enabled" flag. As custom capabilities are expected to be in a dynamic schema this has probably very little conceptual value.Java class for CapabilityType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CapabilityType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3}enabled" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CapabilityType()
Creates a newCapabilityType
instance.CapabilityType(CapabilityType o)
Creates a newCapabilityType
instance by deeply copying a givenCapabilityType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
CapabilityType
clone()
Creates and returns a deep copy of this object.CapabilityType
enabled(Boolean value)
boolean
equals(Object object)
boolean
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Boolean
isEnabled()
Gets the value of the enabled property.void
setEnabled(Boolean value)
Sets the value of the enabled property.String
toString()
Generates a String representation of the contents of this type.
-
-
-
Constructor Detail
-
CapabilityType
public CapabilityType()
Creates a newCapabilityType
instance.
-
CapabilityType
public CapabilityType(CapabilityType o)
Creates a newCapabilityType
instance by deeply copying a givenCapabilityType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
Method Detail
-
isEnabled
public Boolean isEnabled()
Gets the value of the enabled property.- Returns:
- possible object is
Boolean
-
setEnabled
public void setEnabled(Boolean value)
Sets the value of the enabled property.- Parameters:
value
- allowed object isBoolean
-
toString
public String toString()
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
- Specified by:
hashCode
in interfaceorg.jvnet.jaxb2_commons.lang.HashCode
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
- Specified by:
equals
in interfaceorg.jvnet.jaxb2_commons.lang.Equals
-
enabled
public CapabilityType enabled(Boolean value)
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
-
clone
public CapabilityType clone()
Creates and returns a deep copy of this object.
-
-