public class HookType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java 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 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>
Modifier and Type | Field and Description |
---|---|
static QName |
COMPLEX_TYPE |
protected String |
description |
protected Boolean |
enabled |
static QName |
F_DESCRIPTION |
static QName |
F_ENABLED |
static QName |
F_FOCUS_TYPE |
static QName |
F_NAME |
static QName |
F_REF |
static QName |
F_SCRIPT |
static QName |
F_STATE |
protected QName |
focusType |
protected String |
name |
protected String |
ref |
protected ScriptExpressionEvaluatorType |
script |
protected ModelStateType |
state |
Constructor and Description |
---|
HookType()
Creates a new
HookType instance. |
HookType(HookType o)
Creates a new
HookType instance by deeply copying a given HookType instance. |
Modifier and Type | Method and Description |
---|---|
ScriptExpressionEvaluatorType |
beginScript() |
HookType |
clone()
Creates and returns a deep copy of this object.
|
HookType |
description(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.
|
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 |
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.
|
protected String name
protected String description
protected Boolean enabled
protected ModelStateType state
protected QName focusType
protected String ref
protected ScriptExpressionEvaluatorType script
public static final QName COMPLEX_TYPE
public static final QName F_NAME
public static final QName F_DESCRIPTION
public static final QName F_ENABLED
public static final QName F_STATE
public static final QName F_FOCUS_TYPE
public static final QName F_REF
public static final QName F_SCRIPT
public HookType()
HookType
instance.public HookType(HookType o)
HookType
instance by deeply copying a given HookType
instance.o
- The instance to copy.NullPointerException
- if o
is null
.public String getName()
String
public void setName(String value)
value
- allowed object is
String
public String getDescription()
String
public void setDescription(String value)
value
- allowed object is
String
public Boolean isEnabled()
Boolean
public void setEnabled(Boolean value)
value
- allowed object is
Boolean
public ModelStateType getState()
ModelStateType
public void setState(ModelStateType value)
value
- allowed object is
ModelStateType
public QName getFocusType()
QName
public void setFocusType(QName value)
value
- allowed object is
QName
public String getRef()
String
public void setRef(String value)
value
- allowed object is
String
public ScriptExpressionEvaluatorType getScript()
ScriptExpressionEvaluatorType
public void setScript(ScriptExpressionEvaluatorType value)
value
- allowed object is
ScriptExpressionEvaluatorType
public String toString()
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
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)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
public HookType state(ModelStateType value)
public HookType script(ScriptExpressionEvaluatorType value)
public ScriptExpressionEvaluatorType beginScript()
Copyright © 2019 Evolveum. All rights reserved.