Interface Schema.Entry

    • Method Detail

      • getType

        Schema.Type getType()
        Returns:
        Type of the entry, this determine which other fields are populated.
      • isNullable

        boolean isNullable()
        Returns:
        Is this entry nullable or always valued.
      • isMetadata

        boolean isMetadata()
        Returns:
        true if this entry is for metadata; false for ordinary data.
      • getDefaultValue

        <T> T getDefaultValue()
        Type Parameters:
        T - the default value type.
        Returns:
        Default value for this entry.
      • getComment

        String getComment()
        Returns:
        Allows to associate to this field a comment - for doc purposes, no use in the runtime.
      • getProp

        String getProp​(String property)
        Parameters:
        property - : property name.
        Returns:
        the requested metadata prop
      • getJsonProp

        default javax.json.JsonValue getJsonProp​(String name)
        Get a property values from entry with its name.
        Parameters:
        name - : property's name.
        Returns:
        property's value.