Class MetaViewElement

    • Constructor Detail

      • MetaViewElement

        public MetaViewElement​(java.lang.String aName)
        Creates a new meta view element.
        Parameters:
        aName - a String object.
    • Method Detail

      • isReadonly

        public boolean isReadonly()

        isReadonly.

        Returns:
        True if the element is readonly
      • setReadonly

        public void setReadonly​(boolean b)
        Sets if the element is readonly or not.
        Parameters:
        b - flag to set
      • isAutocompleteOff

        public boolean isAutocompleteOff()

        isAutocompleteOff.

        Returns:
        True if autocomplete for this element is off.
      • setAutocompleteOff

        public void setAutocompleteOff​(boolean b)
        Sets if the element allows autocompletion or not.
        Parameters:
        b - flag to set
      • getName

        public java.lang.String getName()

        Getter for the field name.

        Returns:
        name of the element
      • setName

        public void setName​(java.lang.String string)
        Sets name of the element.
        Parameters:
        string - name ot set
      • isComparable

        public boolean isComparable()

        isComparable.

        Returns:
        true if the element is comparable, otherwise - false
      • setComparable

        public void setComparable​(boolean b)
        Sets if document ios comparable.
        Parameters:
        b - flag to set
      • getDecorator

        public MetaDecorator getDecorator()

        Getter for the field decorator.

        Returns:
        decorator for the element
      • setDecorator

        public void setDecorator​(MetaDecorator decorator)
        Sets decorator for the element.
        Parameters:
        decorator - decorator to set
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • isRich

        public boolean isRich()

        isRich.

        Returns:
        a boolean.
      • setRich

        public void setRich​(boolean rich)

        Setter for the field rich.

        Parameters:
        rich - a boolean.
      • isDatetime

        public boolean isDatetime()

        isDatetime.

        Returns:
        a boolean.
      • setDatetime

        public void setDatetime​(boolean datetime)

        Setter for the field datetime.

        Parameters:
        datetime - a boolean.
      • isShowLink

        public boolean isShowLink()
      • setShowLink

        public void setShowLink​(boolean showLink)
      • setCaption

        public void setCaption​(java.lang.String caption)

        Setter for the field caption.

        Parameters:
        caption - a String object.
      • getCaption

        public java.lang.String getCaption()

        Getter for the field caption.

        Returns:
        a String object.
      • setDescription

        public void setDescription​(java.lang.String description)

        Setter for the field description.

        Parameters:
        description - a String object.
      • getDescription

        public java.lang.String getDescription()

        Getter for the field description.

        Returns:
        a String object.
      • setValidators

        public void setValidators​(java.util.List<MetaValidator> validator)

        Setter for the field validators.

        Parameters:
        validator - a List object.
      • getValidators

        public java.util.List<MetaValidator> getValidators()

        Getter for the field validators.

        Returns:
        a List object.
      • isValidated

        public boolean isValidated()

        isValidated.

        Returns:
        a boolean.
      • isJSValidated

        public boolean isJSValidated()

        isJSValidated.

        Returns:
        a boolean.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getSortingType

        public SortingType getSortingType()

        Getter for the field sortingType.

        Returns:
        a SortingType object.
      • setSortingType

        public void setSortingType​(SortingType sortingType)

        Setter for the field sortingType.

        Parameters:
        sortingType - a SortingType object.