All Implemented Interfaces:
Serializable

public class ExternalSchemaType extends SchemaType
ExternalSchemaType links to another schema defined to be reusable in many assets' schema.
See Also:
  • Constructor Details

    • ExternalSchemaType

      public ExternalSchemaType()
      Default constructor used by subclasses
    • ExternalSchemaType

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

    • getLinkedSchemaType

      public SchemaType getLinkedSchemaType()
      Return the list of alternative schema types that this attribute or asset may use.
      Returns:
      list of schema types
    • setLinkedSchemaType

      public void setLinkedSchemaType(SchemaType linkedSchemaType)
      Set up the list of alternative schema types that this attribute or asset may use.
      Parameters:
      linkedSchemaType - list of schema types
    • 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 SchemaType
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class SchemaType
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Hash of properties
      Overrides:
      hashCode in class SchemaType
      Returns:
      int