Class CheckExpressionType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.CheckExpressionType
-
- All Implemented Interfaces:
JaxbVisitable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
public class CheckExpressionType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Expression used to check the data and report a user-friendly message in case that the check fails.Java class for CheckExpressionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CheckExpressionType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="expression" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ExpressionType" minOccurs="0"/> <element name="localizableFailureMessage" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}LocalizableMessageType" minOccurs="0"/> <element name="failureMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="display" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}DisplayType" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
protected DisplayType
display
protected ExpressionType
expression
static ItemName
F_DISPLAY
static ItemName
F_EXPRESSION
static ItemName
F_FAILURE_MESSAGE
static ItemName
F_LOCALIZABLE_FAILURE_MESSAGE
protected String
failureMessage
protected LocalizableMessageType
localizableFailureMessage
-
Constructor Summary
Constructors Constructor Description CheckExpressionType()
Creates a newCheckExpressionType
instance.CheckExpressionType(CheckExpressionType o)
Creates a newCheckExpressionType
instance by deeply copying a givenCheckExpressionType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
DisplayType
beginDisplay()
ExpressionType
beginExpression()
CheckExpressionType
clone()
Creates and returns a deep copy of this object.CheckExpressionType
display(DisplayType 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)
CheckExpressionType
expression(ExpressionType value)
CheckExpressionType
failureMessage(String value)
DisplayType
getDisplay()
Gets the value of the display property.ExpressionType
getExpression()
Gets the value of the expression property.String
getFailureMessage()
Gets the value of the failureMessage property.LocalizableMessageType
getLocalizableFailureMessage()
Gets the value of the localizableFailureMessage property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
CheckExpressionType
localizableFailureMessage(LocalizableMessageType value)
void
setDisplay(DisplayType value)
Sets the value of the display property.void
setExpression(ExpressionType value)
Sets the value of the expression property.void
setFailureMessage(String value)
Sets the value of the failureMessage property.void
setLocalizableFailureMessage(LocalizableMessageType value)
Sets the value of the localizableFailureMessage property.String
toString()
Generates a String representation of the contents of this type.
-
-
-
Field Detail
-
expression
protected ExpressionType expression
-
localizableFailureMessage
protected LocalizableMessageType localizableFailureMessage
-
failureMessage
protected String failureMessage
-
display
protected DisplayType display
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_EXPRESSION
public static final ItemName F_EXPRESSION
-
F_LOCALIZABLE_FAILURE_MESSAGE
public static final ItemName F_LOCALIZABLE_FAILURE_MESSAGE
-
F_FAILURE_MESSAGE
public static final ItemName F_FAILURE_MESSAGE
-
F_DISPLAY
public static final ItemName F_DISPLAY
-
-
Constructor Detail
-
CheckExpressionType
public CheckExpressionType()
Creates a newCheckExpressionType
instance.
-
CheckExpressionType
public CheckExpressionType(CheckExpressionType o)
Creates a newCheckExpressionType
instance by deeply copying a givenCheckExpressionType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
Method Detail
-
getExpression
public ExpressionType getExpression()
Gets the value of the expression property.- Returns:
- possible object is
ExpressionType
-
setExpression
public void setExpression(ExpressionType value)
Sets the value of the expression property.- Parameters:
value
- allowed object isExpressionType
-
getLocalizableFailureMessage
public LocalizableMessageType getLocalizableFailureMessage()
Gets the value of the localizableFailureMessage property.- Returns:
- possible object is
LocalizableMessageType
-
setLocalizableFailureMessage
public void setLocalizableFailureMessage(LocalizableMessageType value)
Sets the value of the localizableFailureMessage property.- Parameters:
value
- allowed object isLocalizableMessageType
-
getFailureMessage
public String getFailureMessage()
Gets the value of the failureMessage property.- Returns:
- possible object is
String
-
setFailureMessage
public void setFailureMessage(String value)
Sets the value of the failureMessage property.- Parameters:
value
- allowed object isString
-
getDisplay
public DisplayType getDisplay()
Gets the value of the display property.- Returns:
- possible object is
DisplayType
-
setDisplay
public void setDisplay(DisplayType value)
Sets the value of the display property.- Parameters:
value
- allowed object isDisplayType
-
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
-
expression
public CheckExpressionType expression(ExpressionType value)
-
beginExpression
public ExpressionType beginExpression()
-
localizableFailureMessage
public CheckExpressionType localizableFailureMessage(LocalizableMessageType value)
-
failureMessage
public CheckExpressionType failureMessage(String value)
-
display
public CheckExpressionType display(DisplayType value)
-
beginDisplay
public DisplayType beginDisplay()
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
-
clone
public CheckExpressionType clone()
Creates and returns a deep copy of this object.
-
-