com.evolveum.midpoint.xml.ns._public.common.common_2a
Class ApprovalLevelType

java.lang.Object
  extended by com.evolveum.midpoint.xml.ns._public.common.common_2a.ApprovalLevelType
All Implemented Interfaces:
Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

public class ApprovalLevelType
extends Object
implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

One "level" (or step) in the approval process.

Java class for ApprovalLevelType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="ApprovalLevelType">
   <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="approverRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}ObjectReferenceType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="approverExpression" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}ExpressionType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="evaluationStrategy" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}LevelEvaluationStrategyType" minOccurs="0"/>
         <element name="automaticallyApproved" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}ExpressionType" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<ExpressionType> approverExpression
           
protected  List<ObjectReferenceType> approverRef
           
protected  ExpressionType automaticallyApproved
           
static QName COMPLEX_TYPE
           
protected  String description
           
protected  LevelEvaluationStrategyType evaluationStrategy
           
static QName F_APPROVER_EXPRESSION
           
static QName F_APPROVER_REF
           
static QName F_AUTOMATICALLY_APPROVED
           
static QName F_DESCRIPTION
           
static QName F_EVALUATION_STRATEGY
           
static QName F_NAME
           
protected  String name
           
 
Constructor Summary
ApprovalLevelType()
          Creates a new ApprovalLevelType instance.
ApprovalLevelType(ApprovalLevelType o)
          Creates a new ApprovalLevelType instance by deeply copying a given ApprovalLevelType instance.
 
Method Summary
 ApprovalLevelType 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)
           
 List<ExpressionType> getApproverExpression()
          Gets the value of the approverExpression property.
 List<ObjectReferenceType> getApproverRef()
          Gets the value of the approverRef property.
 ExpressionType getAutomaticallyApproved()
          Gets the value of the automaticallyApproved property.
 String getDescription()
          Gets the value of the description property.
 LevelEvaluationStrategyType getEvaluationStrategy()
          Gets the value of the evaluationStrategy property.
 String getName()
          Gets the value of the name property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 void setAutomaticallyApproved(ExpressionType value)
          Sets the value of the automaticallyApproved property.
 void setDescription(String value)
          Sets the value of the description property.
 void setEvaluationStrategy(LevelEvaluationStrategyType value)
          Sets the value of the evaluationStrategy property.
 void setName(String value)
          Sets the value of the name property.
 String toString()
          Generates a String representation of the contents of this type.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected String name

description

protected String description

approverRef

protected List<ObjectReferenceType> approverRef

approverExpression

protected List<ExpressionType> approverExpression

evaluationStrategy

protected LevelEvaluationStrategyType evaluationStrategy

automaticallyApproved

protected ExpressionType automaticallyApproved

COMPLEX_TYPE

public static final QName COMPLEX_TYPE

F_NAME

public static final QName F_NAME

F_DESCRIPTION

public static final QName F_DESCRIPTION

F_APPROVER_REF

public static final QName F_APPROVER_REF

F_APPROVER_EXPRESSION

public static final QName F_APPROVER_EXPRESSION

F_EVALUATION_STRATEGY

public static final QName F_EVALUATION_STRATEGY

F_AUTOMATICALLY_APPROVED

public static final QName F_AUTOMATICALLY_APPROVED
Constructor Detail

ApprovalLevelType

public ApprovalLevelType()
Creates a new ApprovalLevelType instance.


ApprovalLevelType

public ApprovalLevelType(ApprovalLevelType o)
Creates a new ApprovalLevelType instance by deeply copying a given ApprovalLevelType instance.

Parameters:
o - The instance to copy.
Throws:
NullPointerException - if o is null.
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 is String

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 is String

getApproverRef

public List<ObjectReferenceType> getApproverRef()
Gets the value of the approverRef property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the approverRef property.

For example, to add a new item, do as follows:

    getApproverRef().add(newItem);
 

Objects of the following type(s) are allowed in the list ObjectReferenceType


getApproverExpression

public List<ExpressionType> getApproverExpression()
Gets the value of the approverExpression property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the approverExpression property.

For example, to add a new item, do as follows:

    getApproverExpression().add(newItem);
 

Objects of the following type(s) are allowed in the list ExpressionType


getEvaluationStrategy

public LevelEvaluationStrategyType getEvaluationStrategy()
Gets the value of the evaluationStrategy property.

Returns:
possible object is LevelEvaluationStrategyType

setEvaluationStrategy

public void setEvaluationStrategy(LevelEvaluationStrategyType value)
Sets the value of the evaluationStrategy property.

Parameters:
value - allowed object is LevelEvaluationStrategyType

getAutomaticallyApproved

public ExpressionType getAutomaticallyApproved()
Gets the value of the automaticallyApproved property.

Returns:
possible object is ExpressionType

setAutomaticallyApproved

public void setAutomaticallyApproved(ExpressionType value)
Sets the value of the automaticallyApproved property.

Parameters:
value - allowed object is ExpressionType

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

Overrides:
toString in class Object

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode

hashCode

public int hashCode()
Overrides:
hashCode in class Object

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 interface org.jvnet.jaxb2_commons.lang.Equals

equals

public boolean equals(Object object)
Overrides:
equals in class Object

clone

public ApprovalLevelType clone()
Creates and returns a deep copy of this object.

Overrides:
clone in class Object
Returns:
A deep copy of this object.


Copyright © 2013 evolveum. All Rights Reserved.