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 QNameCOMPLEX_TYPEprotected Stringdescriptionprotected Stringdocumentationprotected Booleanenabledstatic ItemNameF_DESCRIPTIONstatic ItemNameF_DOCUMENTATIONstatic ItemNameF_ENABLEDstatic ItemNameF_FOCUS_TYPEstatic ItemNameF_NAMEstatic ItemNameF_REFstatic ItemNameF_SCRIPTstatic ItemNameF_STATEprotected QNamefocusTypeprotected Stringnameprotected Stringrefprotected ScriptExpressionEvaluatorTypescriptprotected ModelStateTypestate
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)ScriptExpressionEvaluatorTypebeginScript()HookTypeclone()Creates and returns a deep copy of this object.HookTypedescription(String value)HookTypedocumentation(String value)HookTypeenabled(Boolean value)booleanequals(Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)HookTypefocusType(QName value)StringgetDescription()Gets the value of the description property.StringgetDocumentation()Gets the value of the documentation property.QNamegetFocusType()Gets the value of the focusType property.StringgetName()Gets the value of the name property.StringgetRef()Gets the value of the ref property.ScriptExpressionEvaluatorTypegetScript()Gets the value of the script property.ModelStateTypegetState()Gets the value of the state property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)BooleanisEnabled()Gets the value of the enabled property.HookTypename(String value)HookTyperef(String value)HookTypescript(ScriptExpressionEvaluatorType value)voidsetDescription(String value)Sets the value of the description property.voidsetDocumentation(String value)Sets the value of the documentation property.voidsetEnabled(Boolean value)Sets the value of the enabled property.voidsetFocusType(QName value)Sets the value of the focusType property.voidsetName(String value)Sets the value of the name property.voidsetRef(String value)Sets the value of the ref property.voidsetScript(ScriptExpressionEvaluatorType value)Sets the value of the script property.voidsetState(ModelStateType value)Sets the value of the state property.HookTypestate(ModelStateType value)StringtoString()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 newHookTypeinstance.
-
HookType
public HookType(HookType o)
Creates a newHookTypeinstance by deeply copying a givenHookTypeinstance.- Parameters:
o- The instance to copy.- Throws:
NullPointerException- ifoisnull.
-
-
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:
hashCodein 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:
equalsin 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:
acceptin interfaceJaxbVisitable
-
-