Class FormItemClientValidationType

  • All Implemented Interfaces:
    JaxbVisitable, Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

    public class FormItemClientValidationType
    extends Object
    implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
    javascript stuff, we replace ${this} with proper input id, probably some jQuery black magic TODO: add event type attribute to client element for this validator <p>Java class for FormItemClientValidationType complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> &lt;complexType name="FormItemClientValidationType"&gt; &lt;complexContent&gt; &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; &lt;sequence&gt; &lt;element name="event" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/&gt; &lt;element name="script" type="{http://www.w3.org/2001/XMLSchema}string"/&gt; &lt;/sequence&gt; &lt;/restriction&gt; &lt;/complexContent&gt; &lt;/complexType&gt; </pre>
    See Also:
    Serialized Form
    • Field Detail

      • script

        protected String script
      • COMPLEX_TYPE

        public static final QName COMPLEX_TYPE
      • F_EVENT

        public static final ItemName F_EVENT
      • F_SCRIPT

        public static final ItemName F_SCRIPT
    • Constructor Detail

      • FormItemClientValidationType

        public FormItemClientValidationType()
        Creates a new {@code FormItemClientValidationType} instance.
      • FormItemClientValidationType

        public FormItemClientValidationType​(FormItemClientValidationType o)
        Creates a new {@code FormItemClientValidationType} instance by deeply copying a given {@code FormItemClientValidationType} instance.
        Parameters:
        o - The instance to copy.
        Throws:
        NullPointerException - if {@code o} is {@code null}.
    • Method Detail

      • getEvent

        public List<String> getEvent()
        Gets the value of the event property. <p> This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the event property. <p> For example, to add a new item, do as follows: <pre> getEvent().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the list String
      • getScript

        public String getScript()
        Gets the value of the script property.
        Returns:
        possible object is String
      • setScript

        public void setScript​(String value)
        Sets the value of the script 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