Class SimpleSchemaTypeProperties

    • Constructor Detail

      • SimpleSchemaTypeProperties

        public SimpleSchemaTypeProperties()
        Default constructor
      • SimpleSchemaTypeProperties

        public SimpleSchemaTypeProperties​(SimpleSchemaTypeProperties 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

      • getDataType

        public java.lang.String getDataType()
        Return the data type for this element. Null means unknown data type.
        Returns:
        String data type name
      • setDataType

        public void setDataType​(java.lang.String dataType)
        Set up the data type for this element. Null means unknown data type.
        Parameters:
        dataType - data type name
      • getDefaultValue

        public java.lang.String getDefaultValue()
        Return the default value for the element. Null means no default value set up.
        Returns:
        String containing default value
      • setDefaultValue

        public void setDefaultValue​(java.lang.String defaultValue)
        Set up the default value for the element. Null means no default value set up.
        Parameters:
        defaultValue - String containing default value
      • equals

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

        public java.lang.String toString()
        Standard toString method.
        Overrides:
        toString in class SchemaTypeProperties
        Returns:
        print out of variables in a JSON-style
      • hashCode

        public int hashCode()
        Return hash code for this object
        Overrides:
        hashCode in class SchemaTypeProperties
        Returns:
        int hash code