Class 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"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Detail

      • failureMessage

        protected String failureMessage
      • 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
    • Constructor Detail

      • CheckExpressionType

        public CheckExpressionType()
        Creates a new CheckExpressionType instance.
      • CheckExpressionType

        public CheckExpressionType​(CheckExpressionType o)
        Creates a new CheckExpressionType instance by deeply copying a given CheckExpressionType instance.
        Parameters:
        o - The instance to copy.
        Throws:
        NullPointerException - if o is null.
    • 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 is ExpressionType
      • setLocalizableFailureMessage

        public void setLocalizableFailureMessage​(LocalizableMessageType value)
        Sets the value of the localizableFailureMessage property.
        Parameters:
        value - allowed object is LocalizableMessageType
      • 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 is String
      • 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
      • clone

        public CheckExpressionType clone()
        Creates and returns a deep copy of this object.
        Overrides:
        clone in class Object
        Returns:
        A deep copy of this object.