Class ComplexSchemaType

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    NestedSchemaType, StructSchemaType

    public class ComplexSchemaType
    extends SchemaType
    ComplexSchemaType describes a schema with multiple attributes. Notice it does not contain the attributes, just a count of them. This is because a complex schema type may have literally thousands of attributes and so the attribute contents are retrieved separated through calls that support paging.
    See Also:
    Serialized Form
    • Field Detail

      • attributeCount

        protected int attributeCount
    • Constructor Detail

      • ComplexSchemaType

        public ComplexSchemaType()
        Default constructor used by subclasses
      • ComplexSchemaType

        public ComplexSchemaType​(ComplexSchemaType template)
        Copy/clone Constructor.
        Parameters:
        template - template object to copy.
    • Method Detail

      • getAttributeCount

        public int getAttributeCount()
        Return the count of attributes in this schema type.
        Returns:
        String data type name
      • setAttributeCount

        public void setAttributeCount​(int attributeCount)
        Set up the count of attributes in this schema type
        Parameters:
        attributeCount - data type name
      • cloneSchemaElement

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

        public SchemaType cloneSchemaType()
        Returns a clone of this object as the abstract SchemaType class.
        Overrides:
        cloneSchemaType in class SchemaType
        Returns:
        ComplexSchemaType 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