All Implemented Interfaces:
Serializable

public class PrimitiveSchemaType extends SimpleSchemaType
PrimitiveSchemaType describes a schema element that has a primitive type. This class stores which type of primitive type it is an a default value if supplied.
See Also:
  • Constructor Details

    • PrimitiveSchemaType

      public PrimitiveSchemaType()
      Default constructor used by subclasses
    • PrimitiveSchemaType

      public PrimitiveSchemaType(PrimitiveSchemaType template)
      Copy/clone Constructor.
      Parameters:
      template - template object to copy.
  • Method Details

    • cloneSchemaElement

      public SchemaElement cloneSchemaElement()
      Returns a clone of this object as the abstract SchemaElement class.
      Overrides:
      cloneSchemaElement in class SchemaType
      Returns:
      SchemaElement
    • cloneSchemaType

      public SchemaType cloneSchemaType()
      Returns a clone of this object as the abstract SchemaType class.
      Overrides:
      cloneSchemaType in class SchemaType
      Returns:
      PrimitiveSchemaType object
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class SimpleSchemaType
      Returns:
      print out of variables in a JSON-style