Class SchemaAttachedPolicyRuleType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.SchemaAttachedPolicyRuleType
-
- All Implemented Interfaces:
JaxbVisitable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
public class SchemaAttachedPolicyRuleType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
TODO Note that the rule should be triggered. All irrelevant (non-approval) action types should be removed.Java class for SchemaAttachedPolicyRuleType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SchemaAttachedPolicyRuleType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="stageMin" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="stageMax" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="rule" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}EvaluatedPolicyRuleType" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_RULE
static ItemName
F_STAGE_MAX
static ItemName
F_STAGE_MIN
protected EvaluatedPolicyRuleType
rule
protected Integer
stageMax
protected Integer
stageMin
-
Constructor Summary
Constructors Constructor Description SchemaAttachedPolicyRuleType()
Creates a newSchemaAttachedPolicyRuleType
instance.SchemaAttachedPolicyRuleType(SchemaAttachedPolicyRuleType o)
Creates a newSchemaAttachedPolicyRuleType
instance by deeply copying a givenSchemaAttachedPolicyRuleType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
EvaluatedPolicyRuleType
beginRule()
SchemaAttachedPolicyRuleType
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)
EvaluatedPolicyRuleType
getRule()
Gets the value of the rule property.Integer
getStageMax()
Gets the value of the stageMax property.Integer
getStageMin()
Gets the value of the stageMin property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
SchemaAttachedPolicyRuleType
rule(EvaluatedPolicyRuleType value)
void
setRule(EvaluatedPolicyRuleType value)
Sets the value of the rule property.void
setStageMax(Integer value)
Sets the value of the stageMax property.void
setStageMin(Integer value)
Sets the value of the stageMin property.SchemaAttachedPolicyRuleType
stageMax(Integer value)
SchemaAttachedPolicyRuleType
stageMin(Integer value)
String
toString()
Generates a String representation of the contents of this type.
-
-
-
Field Detail
-
stageMin
protected Integer stageMin
-
stageMax
protected Integer stageMax
-
rule
protected EvaluatedPolicyRuleType rule
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_STAGE_MIN
public static final ItemName F_STAGE_MIN
-
F_STAGE_MAX
public static final ItemName F_STAGE_MAX
-
F_RULE
public static final ItemName F_RULE
-
-
Constructor Detail
-
SchemaAttachedPolicyRuleType
public SchemaAttachedPolicyRuleType()
Creates a newSchemaAttachedPolicyRuleType
instance.
-
SchemaAttachedPolicyRuleType
public SchemaAttachedPolicyRuleType(SchemaAttachedPolicyRuleType o)
Creates a newSchemaAttachedPolicyRuleType
instance by deeply copying a givenSchemaAttachedPolicyRuleType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
Method Detail
-
getStageMin
public Integer getStageMin()
Gets the value of the stageMin property.- Returns:
- possible object is
Integer
-
setStageMin
public void setStageMin(Integer value)
Sets the value of the stageMin property.- Parameters:
value
- allowed object isInteger
-
getStageMax
public Integer getStageMax()
Gets the value of the stageMax property.- Returns:
- possible object is
Integer
-
setStageMax
public void setStageMax(Integer value)
Sets the value of the stageMax property.- Parameters:
value
- allowed object isInteger
-
getRule
public EvaluatedPolicyRuleType getRule()
Gets the value of the rule property.- Returns:
- possible object is
EvaluatedPolicyRuleType
-
setRule
public void setRule(EvaluatedPolicyRuleType value)
Sets the value of the rule property.- Parameters:
value
- allowed object isEvaluatedPolicyRuleType
-
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:
hashCode
in 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:
equals
in interfaceorg.jvnet.jaxb2_commons.lang.Equals
-
stageMin
public SchemaAttachedPolicyRuleType stageMin(Integer value)
-
stageMax
public SchemaAttachedPolicyRuleType stageMax(Integer value)
-
rule
public SchemaAttachedPolicyRuleType rule(EvaluatedPolicyRuleType value)
-
beginRule
public EvaluatedPolicyRuleType beginRule()
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
-
clone
public SchemaAttachedPolicyRuleType clone()
Creates and returns a deep copy of this object.
-
-