Class APISchemaType

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    DeployedAPISchemaType

    public class APISchemaType
    extends SchemaType
    APISchemaType describes the header of an API Schema. The operations may be numerous and so they are passed in a separate iterator. The operation count helps to set up the iterator.
    See Also:
    Serialized Form
    • Field Detail

      • operationCount

        protected int operationCount
    • Constructor Detail

      • APISchemaType

        public APISchemaType()
        Default constructor used by subclasses
      • APISchemaType

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

      • getOperationCount

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

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

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