Class MetaData

  • All Implemented Interfaces:
    Serializable

    public class MetaData
    extends BaseObject
    implements Serializable
    The MetaData defines how the binding from domain-objects to their XML-representation is done, and vice versa. Therefore a set of FieldDefinitions is used.
    See Also:
    Serialized Form
    • Constructor Detail

      • MetaData

        public MetaData()
    • Method Detail

      • setValidation

        public void setValidation​(ValidationGroups value)
        Sets the value of the validation property.
        Parameters:
        value - allowed object is ValidationGroups
      • getFields

        public List<FieldDef> getFields()
        Gets the value of the fields property.

        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 set method for the fields property.

        For example, to add a new item, do as follows:

            getFields().add(newItem);
         

        Objects of the following type(s) are allowed in the list FieldDef

      • getBinding

        public String getBinding()
        The default binding-prefix for all FieldDefs of this metadata.
        Returns:
        possible object is String
      • setBinding

        public void setBinding​(String value)
        Sets the value of the binding property.
        Parameters:
        value - allowed object is String
      • getBindClass

        public String getBindClass()
        The fully qualified name of the class represented by this metadata.
        Returns:
        possible object is String
      • setBindClass

        public void setBindClass​(String value)
        Sets the value of the bindClass property.
        Parameters:
        value - allowed object is String
      • getResultSelector

        public String getResultSelector()
        An expression defining when the actual Result should be marked as selected.
        Returns:
        possible object is String
      • setResultSelector

        public void setResultSelector​(String value)
        Sets the value of the resultSelector property.
        Parameters:
        value - allowed object is String