Interface ITypeDescriptionModel

    • Method Detail

      • getTypes

        List<TypeItem> getTypes​(boolean needUpdate)
        Returns a list of TypeItem. If model type filter is set, the list will be filtered.
        Parameters:
        needUpdate - true if the collection of type is need to update
        Returns:
        a list of TypeItem objects, never null
      • setTypeFilter

        void setTypeFilter​(Predicate<TypeItem> filter)
        Sets the filter to apply to the list of model type items.
        Parameters:
        filter - the filter to apply to the list of returned type items, cannot be null
      • getNumberPrecision

        IValue<Integer> getNumberPrecision()
        Returns:
        the Integer model that represents number precision
      • getNumberScale

        IValue<Integer> getNumberScale()
        Returns:
        the Integer model that represents number scale
      • getNumberNonNegative

        IValue<Boolean> getNumberNonNegative()
        Returns:
        the Boolean model that indicates number is not negative
      • getStringLength

        IValue<Integer> getStringLength()
        Returns:
        the Integer model that represents string length
      • getStringFixed

        IValue<Boolean> getStringFixed()
        Returns:
        the Boolean model that indicates string is fixed or not
      • getBinaryLength

        IValue<Integer> getBinaryLength()
        Returns:
        the Integer model that represents binary length
      • getBinaryFixed

        IValue<Boolean> getBinaryFixed()
        Returns:
        the Boolean model that indicates binary is fixed or not
      • isNumberPositiveOnly

        boolean isNumberPositiveOnly()
        Returns:
        the number positive only state
      • getNumberPrecisionMinimum

        int getNumberPrecisionMinimum()
        Returns:
        the number precision minimum value
      • getNumberPrecisionMaximum

        int getNumberPrecisionMaximum()
        Returns:
        the number precision maximum value
      • getNumberScaleMinimum

        int getNumberScaleMinimum()
        Returns:
        the number scale minimum value
      • getNumberScaleMaximum

        int getNumberScaleMaximum()
        Returns:
        the number scale maximum value
      • getStringLengthMinimum

        int getStringLengthMinimum()
        Returns:
        the string length minimum value
      • getStringLengthMaximum

        int getStringLengthMaximum()
        Returns:
        the string length maximum value
      • getBinaryLengthMinimum

        int getBinaryLengthMinimum()
        Returns:
        the binary length minimum value
      • getBinaryLengthMaximum

        int getBinaryLengthMaximum()
        Returns:
        the binary length maximum value
      • getParent

        org.eclipse.emf.ecore.EObject getParent()
        Returns:
        the parent object
      • getParentContext

        org.eclipse.emf.ecore.EObject getParentContext()
        Gets parent context of the ITypeDescriptionModel
        Returns:
        parent context object, can be null if there is no context
      • getFeature

        org.eclipse.emf.ecore.EReference getFeature()
        Returns:
        the feature
      • isNumberPositiveEnabled

        boolean isNumberPositiveEnabled()
        Returns:
        the number positive enabling state
      • isDateFractionsEnabled

        boolean isDateFractionsEnabled()
        Returns:
        the DateFractions enabling state
      • isStringFixedEnabled

        boolean isStringFixedEnabled()
        Returns:
        the string fixed enabling state
      • isBinaryFixedEnabled

        boolean isBinaryFixedEnabled()
        Returns:
        the binary fixed enabling state