Class SchemaElementSimple

java.lang.Object
com.espertech.esper.common.internal.event.xml.SchemaElementSimple
All Implemented Interfaces:
SchemaElement, SchemaItem, Serializable

public class SchemaElementSimple extends Object implements SchemaElement, Serializable
Represents a simple value in a schema.
See Also:
  • Constructor Details

    • SchemaElementSimple

      public SchemaElementSimple(String name, String namespace, short type, String typeName, boolean isArray, Integer fractionDigits)
      Ctor.
      Parameters:
      name - name
      namespace - namespace
      type - is the simple element type
      isArray - if unbound
      typeName - name of type
      fractionDigits - fraction digits if defined
  • Method Details

    • getName

      public String getName()
      Returns element name.
      Specified by:
      getName in interface SchemaElement
      Returns:
      element name
    • getXsSimpleType

      public short getXsSimpleType()
      Returns type.
      Returns:
      type
    • getNamespace

      public String getNamespace()
      Description copied from interface: SchemaElement
      Returns the namespace.
      Specified by:
      getNamespace in interface SchemaElement
      Returns:
      namespace
    • isArray

      public boolean isArray()
      Description copied from interface: SchemaElement
      Returns true for unbounded or max>1
      Specified by:
      isArray in interface SchemaElement
      Returns:
      array indicator
    • getTypeName

      public String getTypeName()
      Returns the type name.
      Returns:
      type name
    • getFractionDigits

      public Integer getFractionDigits()
      Returns the fraction digits if defined.
      Returns:
      digits
    • toString

      public String toString()
      Overrides:
      toString in class Object