Interface IFeatureValueless

All Superinterfaces:
IDefaultable, IInstance, IInstanceAbsolute, IModelElement, IModelElementVisitable, IValued

public interface IFeatureValueless extends IInstanceAbsolute
Represents an instance that has no value.

This interface marks instances that do not produce a value when queried, always returning null from getValue(Object).

  • Method Details

    • getValue

      default Object getValue(Object parent)
      Description copied from interface: IValued
      Get the current value from the provided parentInstance object.

      The provided object must be of the type associated with the definition containing this instance.

      Specified by:
      getValue in interface IValued
      Parameters:
      parent - the object associated with the definition containing this property
      Returns:
      the value if available, or null otherwise