Class TabularColumnProperties

    • Constructor Detail

      • TabularColumnProperties

        public TabularColumnProperties()
        Default constructor used by subclasses
      • TabularColumnProperties

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

      • getDataType

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

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

        public 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​(String defaultValue)
        Set up the default value for the element. Null means no default value set up.
        Parameters:
        defaultValue - String containing default value
      • getFixedValue

        public String getFixedValue()
        Return a fixed literal value - an alternative to default value.
        Returns:
        string value
      • setFixedValue

        public void setFixedValue​(String fixedValue)
        If the column contains a fixed literal value, set this value here - an alternative to default value.
        Parameters:
        fixedValue - string
      • getExternalTypeGUID

        public String getExternalTypeGUID()
        Return the unique identifier of this column's type.
        Returns:
        unique identifier (guid) of the external schema type
      • setExternalTypeGUID

        public void setExternalTypeGUID​(String externalTypeGUID)
        If the type of this column is represented by an external (standard type) put its value here. No need to set dataType, FixedType or defaultType
        Parameters:
        externalTypeGUID - unique identifier (guid) of the external schema type
      • getValidValuesSetGUID

        public String getValidValuesSetGUID()
        Return the set of valid values for this column.
        Returns:
        unique identifier (guid) of the valid values set
      • setValidValuesSetGUID

        public void setValidValuesSetGUID​(String validValuesSetGUID)
        If the type is controlled by a fixed set of values, set up the unique identifier of the valid values set that lists the valid values.
        Parameters:
        validValuesSetGUID - unique identifier (guid) of the valid values set
      • equals

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