Interface IValuedMutable

All Superinterfaces:
dev.metaschema.core.model.IDefaultable, dev.metaschema.core.model.IValued
All Known Subinterfaces:
IBoundFieldValue, IBoundInstance<ITEM>, IBoundInstanceFlag, IBoundInstanceModel<ITEM>, IBoundInstanceModelAssembly, IBoundInstanceModelChoiceGroup, IBoundInstanceModelField<ITEM>, IBoundInstanceModelFieldComplex, IBoundInstanceModelFieldScalar, IBoundInstanceModelNamed<ITEM>, IBoundProperty<ITEM>, IFeatureJavaField, IFeatureScalarItemValueHandler
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface IValuedMutable extends dev.metaschema.core.model.IValued
Extends IValued to provide the ability to set a value on a parent object.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setValue(Object parentObject, Object value)
    Set the provided value on the provided object.

    Methods inherited from interface dev.metaschema.core.model.IDefaultable

    getDefaultValue, getEffectiveDefaultValue, getResolvedDefaultValue

    Methods inherited from interface dev.metaschema.core.model.IValued

    getValue
  • Method Details

    • setValue

      void setValue(@NonNull Object parentObject, Object value)
      Set the provided value on the provided object. The provided object must be of the item's type associated with this instance.
      Parameters:
      parentObject - the object
      value - a value, which may be a simple Type or a ParameterizedType for a collection