Interface OapiMappedDatatype


public interface OapiMappedDatatype
A datatype corresponding to various type systems.

The following attributes and references are supported:

  • Method Summary

    Modifier and Type
    Method
    Description
    Returns all metadata on an element (documentation etc.).
    Returns a datatype of elements if this datatype is an array.
    Returns an XML snippet of a mapped datatype in the native schema belonging to its encoding standard.
    Returns an inclusive upper bound of a valid value range.
    Returns an inclusive lower bound of a valid value range.
    Returns a standard parameter string specifying the datatype.
    Returns a regular expression defining a valid value pattern.
    Returns the type of the system to which the datatype is mapped.
    boolean
    Returns an indication whether this datatype is built-in.
    void
    Set all metadata on an element (documentation etc.).
    void
    setBuiltin(boolean value)
    Set an indication whether this datatype is built-in.
    void
    Set a datatype of elements if this datatype is an array.
    void
    Set an XML snippet of a mapped datatype in the native schema belonging to its encoding standard.
    void
    Set an inclusive upper bound of a valid value range.
    void
    Set an inclusive lower bound of a valid value range.
    void
    Set a standard parameter string specifying the datatype.
    void
    Set a regular expression defining a valid value pattern.
    void
    Set the type of the system to which the datatype is mapped.
  • Method Details

    • getExtension

      OapiExtension getExtension()
      Returns an XML snippet of a mapped datatype in the native schema belonging to its encoding standard.
      Returns:
      an XML snippet of a mapped datatype in the native schema belonging to its encoding standard
      See Also:
    • setExtension

      void setExtension(OapiExtension value)
      Set an XML snippet of a mapped datatype in the native schema belonging to its encoding standard.
      Parameters:
      value - the new value of the 'Extension' containment reference.
      See Also:
    • getAnnotation

      OapiAnnotation getAnnotation()
      Returns all metadata on an element (documentation etc.).
      Returns:
      all metadata on an element (documentation etc.)
      See Also:
    • setAnnotation

      void setAnnotation(OapiAnnotation value)
      Set all metadata on an element (documentation etc.).
      Parameters:
      value - the new value of the 'Annotation' containment reference.
      See Also:
    • isBuiltin

      boolean isBuiltin()
      Returns an indication whether this datatype is built-in.
      Returns:
      an indication whether this datatype is built-in
      See Also:
    • setBuiltin

      void setBuiltin(boolean value)
      Set an indication whether this datatype is built-in.
      Parameters:
      value - the new value of the 'Builtin' attribute.
      See Also:
    • getElement

      String getElement()
      Returns a datatype of elements if this datatype is an array.
      Returns:
      a datatype of elements if this datatype is an array
      See Also:
    • setElement

      void setElement(String value)
      Set a datatype of elements if this datatype is an array.
      Parameters:
      value - the new value of the 'Element' attribute.
      See Also:
    • getMaxInclusive

      String getMaxInclusive()
      Returns an inclusive upper bound of a valid value range.
      Returns:
      an inclusive upper bound of a valid value range
      See Also:
    • setMaxInclusive

      void setMaxInclusive(String value)
      Set an inclusive upper bound of a valid value range.
      Parameters:
      value - the new value of the 'Max Inclusive' attribute.
      See Also:
    • getMinInclusive

      String getMinInclusive()
      Returns an inclusive lower bound of a valid value range.
      Returns:
      an inclusive lower bound of a valid value range
      See Also:
    • setMinInclusive

      void setMinInclusive(String value)
      Set an inclusive lower bound of a valid value range.
      Parameters:
      value - the new value of the 'Min Inclusive' attribute.
      See Also:
    • getParameter

      String getParameter()
      Returns a standard parameter string specifying the datatype.
      Returns:
      a standard parameter string specifying the datatype
      See Also:
    • setParameter

      void setParameter(String value)
      Set a standard parameter string specifying the datatype.
      Parameters:
      value - the new value of the 'Parameter' attribute.
      See Also:
    • getPattern

      String getPattern()
      Returns a regular expression defining a valid value pattern.
      Returns:
      a regular expression defining a valid value pattern
      See Also:
    • setPattern

      void setPattern(String value)
      Set a regular expression defining a valid value pattern.
      Parameters:
      value - the new value of the 'Pattern' attribute.
      See Also:
    • getStandard

      Object getStandard()
      Returns the type of the system to which the datatype is mapped.
      Returns:
      the type of the system to which the datatype is mapped
      See Also:
    • setStandard

      void setStandard(Object value)
      Set the type of the system to which the datatype is mapped.
      Parameters:
      value - the new value of the 'Standard' attribute.
      See Also: