Class SchemaElementSimple
java.lang.Object
com.espertech.esper.common.internal.event.xml.SchemaElementSimple
- All Implemented Interfaces:
SchemaElement
,SchemaItem
,Serializable
Represents a simple value in a schema.
- See Also:
-
Constructor Summary
ConstructorDescriptionSchemaElementSimple
(String name, String namespace, short type, String typeName, boolean isArray, Integer fractionDigits) Ctor. -
Method Summary
-
Constructor Details
-
SchemaElementSimple
public SchemaElementSimple(String name, String namespace, short type, String typeName, boolean isArray, Integer fractionDigits) Ctor.- Parameters:
name
- namenamespace
- namespacetype
- is the simple element typeisArray
- if unboundtypeName
- name of typefractionDigits
- fraction digits if defined
-
-
Method Details
-
getName
Returns element name.- Specified by:
getName
in interfaceSchemaElement
- Returns:
- element name
-
getXsSimpleType
public short getXsSimpleType()Returns type.- Returns:
- type
-
getNamespace
Description copied from interface:SchemaElement
Returns the namespace.- Specified by:
getNamespace
in interfaceSchemaElement
- Returns:
- namespace
-
isArray
public boolean isArray()Description copied from interface:SchemaElement
Returns true for unbounded or max>1- Specified by:
isArray
in interfaceSchemaElement
- Returns:
- array indicator
-
getTypeName
Returns the type name.- Returns:
- type name
-
getFractionDigits
Returns the fraction digits if defined.- Returns:
- digits
-
toString
-