Class HookType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.HookType
-
- All Implemented Interfaces:
JaxbVisitable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
public class HookType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
TODOJava class for HookType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="HookType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}documentation" minOccurs="0"/> <element name="enabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="state" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ModelStateType" minOccurs="0"/> <element name="focusType" type="{http://www.w3.org/2001/XMLSchema}QName" minOccurs="0"/> <element name="ref" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> <element name="script" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ScriptExpressionEvaluatorType" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
protected String
description
protected String
documentation
protected Boolean
enabled
static ItemName
F_DESCRIPTION
static ItemName
F_DOCUMENTATION
static ItemName
F_ENABLED
static ItemName
F_FOCUS_TYPE
static ItemName
F_NAME
static ItemName
F_REF
static ItemName
F_SCRIPT
static ItemName
F_STATE
protected QName
focusType
protected String
name
protected String
ref
protected ScriptExpressionEvaluatorType
script
protected ModelStateType
state
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
ScriptExpressionEvaluatorType
beginScript()
HookType
clone()
Creates and returns a deep copy of this object.HookType
description(String value)
HookType
documentation(String value)
HookType
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)
HookType
focusType(QName value)
String
getDescription()
Gets the value of the description property.String
getDocumentation()
Gets the value of the documentation property.QName
getFocusType()
Gets the value of the focusType property.String
getName()
Gets the value of the name property.String
getRef()
Gets the value of the ref property.ScriptExpressionEvaluatorType
getScript()
Gets the value of the script property.ModelStateType
getState()
Gets the value of the state property.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.HookType
name(String value)
HookType
ref(String value)
HookType
script(ScriptExpressionEvaluatorType value)
void
setDescription(String value)
Sets the value of the description property.void
setDocumentation(String value)
Sets the value of the documentation property.void
setEnabled(Boolean value)
Sets the value of the enabled property.void
setFocusType(QName value)
Sets the value of the focusType property.void
setName(String value)
Sets the value of the name property.void
setRef(String value)
Sets the value of the ref property.void
setScript(ScriptExpressionEvaluatorType value)
Sets the value of the script property.void
setState(ModelStateType value)
Sets the value of the state property.HookType
state(ModelStateType value)
String
toString()
Generates a String representation of the contents of this type.
-
-
-
Field Detail
-
name
protected String name
-
description
protected String description
-
documentation
protected String documentation
-
enabled
protected Boolean enabled
-
state
protected ModelStateType state
-
focusType
protected QName focusType
-
ref
protected String ref
-
script
protected ScriptExpressionEvaluatorType script
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_NAME
public static final ItemName F_NAME
-
F_DESCRIPTION
public static final ItemName F_DESCRIPTION
-
F_DOCUMENTATION
public static final ItemName F_DOCUMENTATION
-
F_ENABLED
public static final ItemName F_ENABLED
-
F_STATE
public static final ItemName F_STATE
-
F_FOCUS_TYPE
public static final ItemName F_FOCUS_TYPE
-
F_REF
public static final ItemName F_REF
-
F_SCRIPT
public static final ItemName F_SCRIPT
-
-
Constructor Detail
-
HookType
public HookType()
Creates a newHookType
instance.
-
HookType
public HookType(HookType o)
Creates a newHookType
instance by deeply copying a givenHookType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
Method Detail
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value
- allowed object isString
-
getDocumentation
public String getDocumentation()
Gets the value of the documentation property.- Returns:
- possible object is
String
-
setDocumentation
public void setDocumentation(String value)
Sets the value of the documentation property.- Parameters:
value
- allowed object isString
-
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
-
getState
public ModelStateType getState()
Gets the value of the state property.- Returns:
- possible object is
ModelStateType
-
setState
public void setState(ModelStateType value)
Sets the value of the state property.- Parameters:
value
- allowed object isModelStateType
-
getFocusType
public QName getFocusType()
Gets the value of the focusType property.- Returns:
- possible object is
QName
-
setFocusType
public void setFocusType(QName value)
Sets the value of the focusType property.- Parameters:
value
- allowed object isQName
-
getRef
public String getRef()
Gets the value of the ref property.- Returns:
- possible object is
String
-
setRef
public void setRef(String value)
Sets the value of the ref property.- Parameters:
value
- allowed object isString
-
getScript
public ScriptExpressionEvaluatorType getScript()
Gets the value of the script property.- Returns:
- possible object is
ScriptExpressionEvaluatorType
-
setScript
public void setScript(ScriptExpressionEvaluatorType value)
Sets the value of the script property.- Parameters:
value
- allowed object isScriptExpressionEvaluatorType
-
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
-
state
public HookType state(ModelStateType value)
-
script
public HookType script(ScriptExpressionEvaluatorType value)
-
beginScript
public ScriptExpressionEvaluatorType beginScript()
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
-
-