Class PolicyItemDefinitionType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.api_types_3.PolicyItemDefinitionType
-
- All Implemented Interfaces:
JaxbVisitable,Serializable,Cloneable,org.jvnet.jaxb2_commons.lang.Equals,org.jvnet.jaxb2_commons.lang.HashCode
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>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QNameCOMPLEX_TYPEprotected Booleanexecutestatic ItemNameF_EXECUTEstatic ItemNameF_RESULTstatic ItemNameF_TARGETstatic ItemNameF_VALUEstatic ItemNameF_VALUE_POLICY_REFprotected OperationResultTyperesultprotected PolicyItemTargetTypetargetprotected Objectvalueprotected ObjectReferenceTypevaluePolicyRef
-
Constructor Summary
Constructors Constructor Description PolicyItemDefinitionType()Creates a newPolicyItemDefinitionTypeinstance.PolicyItemDefinitionType(PolicyItemDefinitionType o)Creates a newPolicyItemDefinitionTypeinstance by deeply copying a givenPolicyItemDefinitionTypeinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)OperationResultTypebeginResult()PolicyItemTargetTypebeginTarget()ObjectReferenceTypebeginValuePolicyRef()PolicyItemDefinitionTypeclone()Creates and returns a deep copy of this object.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)PolicyItemDefinitionTypeexecute(Boolean value)OperationResultTypegetResult()Gets the value of the result property.PolicyItemTargetTypegetTarget()Gets the value of the target property.ObjectgetValue()Gets the value of the value property.ObjectReferenceTypegetValuePolicyRef()Gets the value of the valuePolicyRef property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)BooleanisExecute()Gets the value of the execute property.PolicyItemDefinitionTyperesult(OperationResultType value)voidsetExecute(Boolean value)Sets the value of the execute property.voidsetResult(OperationResultType value)Sets the value of the result property.voidsetTarget(PolicyItemTargetType value)Sets the value of the target property.voidsetValue(Object value)Sets the value of the value property.voidsetValuePolicyRef(ObjectReferenceType value)Sets the value of the valuePolicyRef property.PolicyItemDefinitionTypetarget(PolicyItemTargetType value)StringtoString()Generates a String representation of the contents of this type.PolicyItemDefinitionTypevalue(Object value)PolicyItemDefinitionTypevaluePolicyRef(ObjectReferenceType value)PolicyItemDefinitionTypevaluePolicyRef(String oid, QName type)PolicyItemDefinitionTypevaluePolicyRef(String oid, QName type, QName relation)
-
-
-
Field Detail
-
target
protected PolicyItemTargetType target
-
valuePolicyRef
protected ObjectReferenceType valuePolicyRef
-
value
protected Object value
-
execute
protected Boolean execute
-
result
protected OperationResultType result
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_TARGET
public static final ItemName F_TARGET
-
F_VALUE_POLICY_REF
public static final ItemName F_VALUE_POLICY_REF
-
F_VALUE
public static final ItemName F_VALUE
-
F_EXECUTE
public static final ItemName F_EXECUTE
-
F_RESULT
public static final ItemName F_RESULT
-
-
Constructor Detail
-
PolicyItemDefinitionType
public PolicyItemDefinitionType()
Creates a newPolicyItemDefinitionTypeinstance.
-
PolicyItemDefinitionType
public PolicyItemDefinitionType(PolicyItemDefinitionType o)
Creates a newPolicyItemDefinitionTypeinstance by deeply copying a givenPolicyItemDefinitionTypeinstance.- Parameters:
o- The instance to copy.- Throws:
NullPointerException- ifoisnull.
-
-
Method Detail
-
getTarget
public PolicyItemTargetType getTarget()
Gets the value of the target property.- Returns:
- possible object is
PolicyItemTargetType
-
setTarget
public void setTarget(PolicyItemTargetType value)
Sets the value of the target property.- Parameters:
value- allowed object isPolicyItemTargetType
-
getValuePolicyRef
public ObjectReferenceType getValuePolicyRef()
Gets the value of the valuePolicyRef property.- Returns:
- possible object is
ObjectReferenceType
-
setValuePolicyRef
public void setValuePolicyRef(ObjectReferenceType value)
Sets the value of the valuePolicyRef property.- Parameters:
value- allowed object isObjectReferenceType
-
getValue
public Object getValue()
Gets the value of the value property.- Returns:
- possible object is
Object
-
setValue
public void setValue(Object value)
Sets the value of the value property.- Parameters:
value- allowed object isObject
-
isExecute
public Boolean isExecute()
Gets the value of the execute property.- Returns:
- possible object is
Boolean
-
setExecute
public void setExecute(Boolean value)
Sets the value of the execute property.- Parameters:
value- allowed object isBoolean
-
getResult
public OperationResultType getResult()
Gets the value of the result property.- Returns:
- possible object is
OperationResultType
-
setResult
public void setResult(OperationResultType value)
Sets the value of the result property.- Parameters:
value- allowed object isOperationResultType
-
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
-
target
public PolicyItemDefinitionType target(PolicyItemTargetType value)
-
beginTarget
public PolicyItemTargetType beginTarget()
-
valuePolicyRef
public PolicyItemDefinitionType valuePolicyRef(ObjectReferenceType value)
-
valuePolicyRef
public PolicyItemDefinitionType valuePolicyRef(String oid, QName type)
-
valuePolicyRef
public PolicyItemDefinitionType valuePolicyRef(String oid, QName type, QName relation)
-
beginValuePolicyRef
public ObjectReferenceType beginValuePolicyRef()
-
value
public PolicyItemDefinitionType value(Object value)
-
execute
public PolicyItemDefinitionType execute(Boolean value)
-
result
public PolicyItemDefinitionType result(OperationResultType value)
-
beginResult
public OperationResultType beginResult()
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
acceptin interfaceJaxbVisitable
-
clone
public PolicyItemDefinitionType clone()
Creates and returns a deep copy of this object.
-
-