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"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
protected ExpressionType
condition
static ItemName
F_CONDITION
static ItemName
F_PREDEFINED
protected ValueSetDefinitionPredefinedType
predefined
-
Constructor Summary
Constructors Constructor Description ValueSetDefinitionType()
Creates a newValueSetDefinitionType
instance.ValueSetDefinitionType(ValueSetDefinitionType o)
Creates a newValueSetDefinitionType
instance by deeply copying a givenValueSetDefinitionType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
ExpressionType
beginCondition()
ValueSetDefinitionType
clone()
Creates and returns a deep copy of this object.ValueSetDefinitionType
condition(ExpressionType value)
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)
ExpressionType
getCondition()
Gets the value of the condition property.ValueSetDefinitionPredefinedType
getPredefined()
Gets the value of the predefined property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
ValueSetDefinitionType
predefined(ValueSetDefinitionPredefinedType value)
void
setCondition(ExpressionType value)
Sets the value of the condition property.void
setPredefined(ValueSetDefinitionPredefinedType value)
Sets the value of the predefined property.String
toString()
Generates a String representation of the contents of this type.
-
-
-
Field Detail
-
predefined
protected ValueSetDefinitionPredefinedType predefined
-
condition
protected ExpressionType condition
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_PREDEFINED
public static final ItemName F_PREDEFINED
-
F_CONDITION
public static final ItemName F_CONDITION
-
-
Constructor Detail
-
ValueSetDefinitionType
public ValueSetDefinitionType()
Creates a newValueSetDefinitionType
instance.
-
ValueSetDefinitionType
public ValueSetDefinitionType(ValueSetDefinitionType o)
Creates a newValueSetDefinitionType
instance by deeply copying a givenValueSetDefinitionType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
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
-
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
-
predefined
public ValueSetDefinitionType predefined(ValueSetDefinitionPredefinedType value)
-
condition
public ValueSetDefinitionType condition(ExpressionType value)
-
beginCondition
public ExpressionType beginCondition()
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
-
clone
public ValueSetDefinitionType clone()
Creates and returns a deep copy of this object.
-
-