Interface Feature

    • Method Detail

      • getDomain

        Type getDomain()
        Get the domain type for this feature. The domain is the type which defines this feature.
        Returns:
        The domain type. This can not be null.
      • getRange

        Type getRange()
        Get the range type for this feature. The range defines the type of the feature value.
        Returns:
        The range type. This can not be null.
      • isMultipleReferencesAllowed

        boolean isMultipleReferencesAllowed()
        Checks if there can be multiple references to values of this feature. This is only meaningful for array-valued or list-values features.

        If this is false it indicates that this feature has exclusive ownership of the array or list, so changes to the array or list are localized. If this is true it indicates that the array or list may be shared, so changes to it may affect other objects in the CAS.

        Returns:
        true iff the value type of this feature is an array or list and has been declared to allow multiple references.