com.evolveum.midpoint.xml.ns._public.resource.capabilities_2
Class CapabilityType

java.lang.Object
  extended by com.evolveum.midpoint.xml.ns._public.resource.capabilities_2.CapabilityType
All Implemented Interfaces:
Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Direct Known Subclasses:
ActivationCapabilityType, ActivationEnableDisableCapabilityType, CredentialsCapabilityType, LiveSyncCapabilityType, PasswordCapabilityType, ScriptCapabilityType, TestConnectionCapabilityType

public abstract class CapabilityType
extends Object
implements Serializable, Cloneable, 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-2}enabled" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
static QName COMPLEX_TYPE
           
protected  Boolean enabled
           
static QName F_ENABLED
           
 
Constructor Summary
CapabilityType()
          Creates a new CapabilityType instance.
CapabilityType(CapabilityType o)
          Creates a new CapabilityType instance by deeply copying a given CapabilityType instance.
 
Method Summary
 CapabilityType clone()
          Creates and returns a deep copy of this object.
 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.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

enabled

protected Boolean enabled

COMPLEX_TYPE

public static final QName COMPLEX_TYPE

F_ENABLED

public static final QName F_ENABLED
Constructor Detail

CapabilityType

public CapabilityType()
Creates a new CapabilityType instance.


CapabilityType

public CapabilityType(CapabilityType o)
Creates a new CapabilityType instance by deeply copying a given CapabilityType instance.

Parameters:
o - The instance to copy.
Throws:
NullPointerException - if o is null.
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 is Boolean

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

Overrides:
toString in class Object

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode

hashCode

public int hashCode()
Overrides:
hashCode in class Object

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 interface org.jvnet.jaxb2_commons.lang.Equals

equals

public boolean equals(Object object)
Overrides:
equals in class Object

clone

public CapabilityType clone()
Creates and returns a deep copy of this object.

Overrides:
clone in class Object
Returns:
A deep copy of this object.


Copyright © 2013 evolveum. All Rights Reserved.