Class ValueSetDefinitionType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ValueSetDefinitionType
-
- All Implemented Interfaces:
JaxbVisitable,Serializable,Cloneable,org.jvnet.jaxb2_commons.lang.Equals,org.jvnet.jaxb2_commons.lang.HashCode
public class ValueSetDefinitionType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Definition of value set. It can define a set of values by several methods. E.g. it can define set by a condition, enumeration of the values and so on.Java class for ValueSetDefinitionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ValueSetDefinitionType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="predefined" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ValueSetDefinitionPredefinedType" minOccurs="0"/> <element name="condition" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ExpressionType" minOccurs="0"/> <element name="yieldCondition" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ExpressionType" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QNameCOMPLEX_TYPEprotected ExpressionTypeconditionstatic ItemNameF_CONDITIONstatic ItemNameF_PREDEFINEDstatic ItemNameF_YIELD_CONDITIONprotected ValueSetDefinitionPredefinedTypepredefinedprotected ExpressionTypeyieldCondition
-
Constructor Summary
Constructors Constructor Description ValueSetDefinitionType()Creates a newValueSetDefinitionTypeinstance.ValueSetDefinitionType(ValueSetDefinitionType o)Creates a newValueSetDefinitionTypeinstance by deeply copying a givenValueSetDefinitionTypeinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)ExpressionTypebeginCondition()ExpressionTypebeginYieldCondition()ValueSetDefinitionTypeclone()Creates and returns a deep copy of this object.ValueSetDefinitionTypecondition(ExpressionType value)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)ExpressionTypegetCondition()Gets the value of the condition property.ValueSetDefinitionPredefinedTypegetPredefined()Gets the value of the predefined property.ExpressionTypegetYieldCondition()Gets the value of the yieldCondition property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)ValueSetDefinitionTypepredefined(ValueSetDefinitionPredefinedType value)voidsetCondition(ExpressionType value)Sets the value of the condition property.voidsetPredefined(ValueSetDefinitionPredefinedType value)Sets the value of the predefined property.voidsetYieldCondition(ExpressionType value)Sets the value of the yieldCondition property.StringtoString()Generates a String representation of the contents of this type.ValueSetDefinitionTypeyieldCondition(ExpressionType value)
-
-
-
Field Detail
-
predefined
protected ValueSetDefinitionPredefinedType predefined
-
condition
protected ExpressionType condition
-
yieldCondition
protected ExpressionType yieldCondition
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_PREDEFINED
public static final ItemName F_PREDEFINED
-
F_CONDITION
public static final ItemName F_CONDITION
-
F_YIELD_CONDITION
public static final ItemName F_YIELD_CONDITION
-
-
Constructor Detail
-
ValueSetDefinitionType
public ValueSetDefinitionType()
Creates a newValueSetDefinitionTypeinstance.
-
ValueSetDefinitionType
public ValueSetDefinitionType(ValueSetDefinitionType o)
Creates a newValueSetDefinitionTypeinstance by deeply copying a givenValueSetDefinitionTypeinstance.- Parameters:
o- The instance to copy.- Throws:
NullPointerException- ifoisnull.
-
-
Method Detail
-
getPredefined
public ValueSetDefinitionPredefinedType getPredefined()
Gets the value of the predefined property.- Returns:
- possible object is
ValueSetDefinitionPredefinedType
-
setPredefined
public void setPredefined(ValueSetDefinitionPredefinedType value)
Sets the value of the predefined property.- Parameters:
value- allowed object isValueSetDefinitionPredefinedType
-
getCondition
public ExpressionType getCondition()
Gets the value of the condition property.- Returns:
- possible object is
ExpressionType
-
setCondition
public void setCondition(ExpressionType value)
Sets the value of the condition property.- Parameters:
value- allowed object isExpressionType
-
getYieldCondition
public ExpressionType getYieldCondition()
Gets the value of the yieldCondition property.- Returns:
- possible object is
ExpressionType
-
setYieldCondition
public void setYieldCondition(ExpressionType value)
Sets the value of the yieldCondition property.- Parameters:
value- allowed object isExpressionType
-
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
-
predefined
public ValueSetDefinitionType predefined(ValueSetDefinitionPredefinedType value)
-
condition
public ValueSetDefinitionType condition(ExpressionType value)
-
beginCondition
public ExpressionType beginCondition()
-
yieldCondition
public ValueSetDefinitionType yieldCondition(ExpressionType value)
-
beginYieldCondition
public ExpressionType beginYieldCondition()
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
acceptin interfaceJaxbVisitable
-
clone
public ValueSetDefinitionType clone()
Creates and returns a deep copy of this object.
-
-