Class TypeDescriptionInfo

    • Constructor Detail

      • TypeDescriptionInfo

        public TypeDescriptionInfo()
        Constructor.
    • Method Detail

      • getDateFractions

        public Set<DateFractions> getDateFractions()
        Gets date fractions.
        Returns:
        data fractions
      • getMaxBinaryLenFix

        public int getMaxBinaryLenFix()
        Gets max fix binary data length.
        Returns:
        max fix binary data length
      • getMaxBinaryLenVar

        public int getMaxBinaryLenVar()
        Gets max variable binary data length.
        Returns:
        max variable binary data length
      • getMaxPrecisionLen

        public int getMaxPrecisionLen()
        Gets max number precision length.
        Returns:
        max number precision length
      • getMaxScaleLen

        public int getMaxScaleLen()
        Gets max number scale length.
        Returns:
        max number scale length
      • getMaxStringLenFix

        public int getMaxStringLenFix()
        Gets max fix string length.
        Returns:
        max fix string length
      • getMaxStringLenVar

        public int getMaxStringLenVar()
        Gets max variable string length.
        Returns:
        max variable string length
      • getMinBinaryLen

        public int getMinBinaryLen()
        Gets min binary data length.
        Returns:
        min binary data length
      • getMinStringLen

        public int getMinStringLen()
        Gets min string length.
        Returns:
        min string length
      • isCompositeTypeEnable

        public boolean isCompositeTypeEnable()
        Is composite type.
        Returns:
        true if is
      • isEmptyTypeEnable

        public boolean isEmptyTypeEnable()
        Is empty type enable.
        Returns:
        true if is
      • isMixSingleEnable

        public boolean isMixSingleEnable()
        Is mix single type enable.
        Returns:
        true if is
      • isNumericPositiveOnly

        public boolean isNumericPositiveOnly()
        Is only positive numeric enable.
        Returns:
        true if is
      • isStringFixedOnly

        public boolean isStringFixedOnly()
        Is only fixed string enable.
        Returns:
        true if is
      • isQualifiersEnable

        public boolean isQualifiersEnable()
        Is qualifiers enable.
        Returns:
        true is qualifiers enable, false otherwise
      • setCompositeTypeEnable

        public void setCompositeTypeEnable​(boolean compositeTypeEnable)
        Sets composite type enable.
        Parameters:
        the - composite type enable flag
      • setDateFractions

        public void setDateFractions​(Set<DateFractions> dateFractions)
        Sets date fraction.
        Parameters:
        date - fractions
      • setEmptyTypeEnable

        public void setEmptyTypeEnable​(boolean emptyTypeEnable)
        Sets empty type enable.
        Parameters:
        emptyTypeEnable - the emptyTypeEnable to set
      • setMaxBinaryLenFix

        public void setMaxBinaryLenFix​(int maxBinaryLenFix)
        Sets max fix binary data length.
        Parameters:
        max - binary len fix
      • setMaxBinaryLenVar

        public void setMaxBinaryLenVar​(int maxBinaryLenVar)
        Sets max varible binary data length.
        Parameters:
        max - binary len fix
      • setMaxPrecisionLen

        public void setMaxPrecisionLen​(int maxPrecisionLen)
        Sets max precision length.
        Parameters:
        max - precision len
      • setMaxScaleLen

        public void setMaxScaleLen​(int maxScaleLen)
        Sets max scale length.
        Parameters:
        max - scale len
      • setMaxStringLenFix

        public void setMaxStringLenFix​(int maxStringLenFix)
        Sets max fix string length.
        Parameters:
        max - string len fix
      • setMaxStringLenVar

        public void setMaxStringLenVar​(int maxStringLenVar)
        Sets max string length variable.
        Parameters:
        max - string length variable
      • setMinBinaryLen

        public void setMinBinaryLen​(int minBinaryLen)
        Sets min binary data length.
        Parameters:
        min - binary data length
      • setMinStringLen

        public void setMinStringLen​(int minStringLen)
        Sets min string length.
        Parameters:
        min - string length
      • setMixSingleEnable

        public void setMixSingleEnable​(boolean mixSingleEnable)
        Sets mix single enable.
        Parameters:
        mix - single enable
      • setNumericPositiveOnly

        public void setNumericPositiveOnly​(boolean numericPositiveOnly)
        Sets number positive only.
        Parameters:
        number - positive only
      • setStringFixedOnly

        public void setStringFixedOnly​(boolean stringFixedOnly)
        Sets fixed string only.
        Parameters:
        fixed - string only
      • setQualifiersEnable

        public void setQualifiersEnable​(boolean qualifiersEnable)
        Sets qualifiers enable.
        Parameters:
        qualifiersEnable - true is qualifiers enable, false otherwise
      • contains

        public abstract boolean contains​(TypeItem type)
        Checks that type contains in this description
        Parameters:
        type - checking type, can't be null
        Returns:
        true if type contains in this description, false otherwise