Class NestedSchemaType

  • All Implemented Interfaces:
    Serializable

    public class NestedSchemaType
    extends ComplexSchemaType
    An asset's schema provides information about how the asset structures the data it supports. The NestedSchemaType object describes a nested structure of schema attributes and types.
    See Also:
    Serialized Form
    • Constructor Detail

      • NestedSchemaType

        protected NestedSchemaType()
        Constructor used by the subclasses
      • NestedSchemaType

        public NestedSchemaType​(ComplexSchemaType schemaBean)
        Bean constructor
        Parameters:
        schemaBean - bean containing the schema properties
      • NestedSchemaType

        public NestedSchemaType​(NestedSchemaType template)
        Copy/clone Constructor the parentAsset is passed separately to the template because it is also likely to be being cloned in the same operation and we want the definitions clone to point to the asset clone and not the original asset.
        Parameters:
        template - template object to copy.
    • Method Detail

      • getSchemaAttributes

        public SchemaAttributes getSchemaAttributes()
        Return the list of schema attributes in this schema.
        Returns:
        SchemaAttributes
      • toString

        public String toString()
        Standard toString method.
        Overrides:
        toString in class ComplexSchemaType
        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 ComplexSchemaType
        Parameters:
        objectToCompare - supplied object
        Returns:
        boolean result of comparison