public class PolicyItemDefinitionType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for PolicyItemDefinitionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PolicyItemDefinitionType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="target" type="{http://midpoint.evolveum.com/xml/ns/public/common/api-types-3}PolicyItemTargetType"/> <element name="valuePolicyRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" minOccurs="0"/> <element name="value" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/> <element name="execute" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="result" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}OperationResultType" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
static QName |
COMPLEX_TYPE |
protected Boolean |
execute |
static ItemName |
F_EXECUTE |
static ItemName |
F_RESULT |
static ItemName |
F_TARGET |
static ItemName |
F_VALUE |
static ItemName |
F_VALUE_POLICY_REF |
protected OperationResultType |
result |
protected PolicyItemTargetType |
target |
protected Object |
value |
protected ObjectReferenceType |
valuePolicyRef |
Constructor and Description |
---|
PolicyItemDefinitionType()
Creates a new
PolicyItemDefinitionType instance. |
PolicyItemDefinitionType(PolicyItemDefinitionType o)
Creates a new
PolicyItemDefinitionType instance by deeply copying a given PolicyItemDefinitionType instance. |
Modifier and Type | Method and Description |
---|---|
void |
accept(JaxbVisitor visitor) |
OperationResultType |
beginResult() |
PolicyItemTargetType |
beginTarget() |
ObjectReferenceType |
beginValuePolicyRef() |
PolicyItemDefinitionType |
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) |
PolicyItemDefinitionType |
execute(Boolean value) |
OperationResultType |
getResult()
Gets the value of the result property.
|
PolicyItemTargetType |
getTarget()
Gets the value of the target property.
|
Object |
getValue()
Gets the value of the value property.
|
ObjectReferenceType |
getValuePolicyRef()
Gets the value of the valuePolicyRef property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
Boolean |
isExecute()
Gets the value of the execute property.
|
PolicyItemDefinitionType |
result(OperationResultType value) |
void |
setExecute(Boolean value)
Sets the value of the execute property.
|
void |
setResult(OperationResultType value)
Sets the value of the result property.
|
void |
setTarget(PolicyItemTargetType value)
Sets the value of the target property.
|
void |
setValue(Object value)
Sets the value of the value property.
|
void |
setValuePolicyRef(ObjectReferenceType value)
Sets the value of the valuePolicyRef property.
|
PolicyItemDefinitionType |
target(PolicyItemTargetType value) |
String |
toString()
Generates a String representation of the contents of this type.
|
PolicyItemDefinitionType |
value(Object value) |
PolicyItemDefinitionType |
valuePolicyRef(ObjectReferenceType value) |
PolicyItemDefinitionType |
valuePolicyRef(String oid,
QName type) |
PolicyItemDefinitionType |
valuePolicyRef(String oid,
QName type,
QName relation) |
finalize, getClass, notify, notifyAll, wait, wait, wait
visitPrismStructure
protected PolicyItemTargetType target
protected ObjectReferenceType valuePolicyRef
protected Object value
protected Boolean execute
protected OperationResultType result
public static final QName COMPLEX_TYPE
public static final ItemName F_TARGET
public static final ItemName F_VALUE_POLICY_REF
public static final ItemName F_VALUE
public static final ItemName F_EXECUTE
public static final ItemName F_RESULT
public PolicyItemDefinitionType()
PolicyItemDefinitionType
instance.public PolicyItemDefinitionType(PolicyItemDefinitionType o)
PolicyItemDefinitionType
instance by deeply copying a given PolicyItemDefinitionType
instance.o
- The instance to copy.NullPointerException
- if o
is null
.public PolicyItemTargetType getTarget()
PolicyItemTargetType
public void setTarget(PolicyItemTargetType value)
value
- allowed object is
PolicyItemTargetType
public ObjectReferenceType getValuePolicyRef()
ObjectReferenceType
public void setValuePolicyRef(ObjectReferenceType value)
value
- allowed object is
ObjectReferenceType
public Object getValue()
Object
public void setValue(Object value)
value
- allowed object is
Object
public Boolean isExecute()
Boolean
public void setExecute(Boolean value)
value
- allowed object is
Boolean
public OperationResultType getResult()
OperationResultType
public void setResult(OperationResultType value)
value
- allowed object is
OperationResultType
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 PolicyItemDefinitionType target(PolicyItemTargetType value)
public PolicyItemTargetType beginTarget()
public PolicyItemDefinitionType valuePolicyRef(ObjectReferenceType value)
public PolicyItemDefinitionType valuePolicyRef(String oid, QName type)
public PolicyItemDefinitionType valuePolicyRef(String oid, QName type, QName relation)
public ObjectReferenceType beginValuePolicyRef()
public PolicyItemDefinitionType value(Object value)
public PolicyItemDefinitionType execute(Boolean value)
public PolicyItemDefinitionType result(OperationResultType value)
public OperationResultType beginResult()
public void accept(JaxbVisitor visitor)
accept
in interface JaxbVisitable
public PolicyItemDefinitionType clone()
Copyright © 2020 Evolveum. All rights reserved.