Interface IValued

All Superinterfaces:
IDefaultable
All Known Subinterfaces:
IAssemblyInstanceAbsolute, IBoundFieldValue, IBoundInstance<ITEM>, IBoundInstanceFlag, IBoundInstanceModel<ITEM>, IBoundInstanceModelAssembly, IBoundInstanceModelChoiceGroup, IBoundInstanceModelField<ITEM>, IBoundInstanceModelFieldComplex, IBoundInstanceModelFieldScalar, IBoundInstanceModelNamed<ITEM>, IBoundProperty<ITEM>, IChoiceGroupInstance, IChoiceInstance, IFeatureJavaField, IFeatureScalarItemValueHandler, IFeatureValueless, IFieldInstanceAbsolute, IFlagInstance, IInstanceAbsolute, IModelInstanceAbsolute, INamedModelInstanceAbsolute, IValuedMutable
All Known Implementing Classes:
AbstractChoiceGroupInstance, AbstractChoiceInstance, AbstractFlagInstance, AbstractInlineFlagDefinition

public interface IValued extends IDefaultable
A marker interface for Metaschema constructs that can have a value.
  • Method Details

    • getValue

      @Nullable default Object getValue(@NonNull Object parent)
      Get the current value from the provided parentInstance object.

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

      Parameters:
      parent - the object associated with the definition containing this property
      Returns:
      the value if available, or null otherwise