001/*
002 * SPDX-FileCopyrightText: none
003 * SPDX-License-Identifier: CC0-1.0
004 */
005
006package dev.metaschema.core.model;
007
008/**
009 * Represents an instance that has no value.
010 * <p>
011 * This interface marks instances that do not produce a value when queried,
012 * always returning {@code null} from {@link #getValue(Object)}.
013 */
014// REFACTOR: rename to IFeatureValuelessInstance
015public interface IFeatureValueless extends IInstanceAbsolute {
016  @Override
017  default Object getValue(Object parent) {
018    // no value
019    return null;
020  }
021}