Class AbstractAnyAtomicItem<TYPE>

java.lang.Object
dev.metaschema.core.metapath.item.atomic.AbstractAtomicItemBase<TYPE>
dev.metaschema.core.metapath.item.atomic.AbstractAnyAtomicItem<TYPE>
Type Parameters:
TYPE - the Java type associated with the atomic type.
All Implemented Interfaces:
IAnyAtomicItem, IAtomicValuedItem, ICollectionValue, IItem
Direct Known Subclasses:
AbstractUntypedAtomicItem

public abstract class AbstractAnyAtomicItem<TYPE> extends AbstractAtomicItemBase<TYPE>
Provides a common implementation for all atomic types that have an underlying value.
  • Constructor Details

    • AbstractAnyAtomicItem

      protected AbstractAnyAtomicItem(@NonNull TYPE value)
      Construct a new atomic item using the provided value.
      Parameters:
      value - the value to assign to this atomic item
  • Method Details

    • getValue

      @NonNull public TYPE getValue()
      Description copied from interface: IAnyAtomicItem
      Get the "wrapped" value represented by this item.
      Returns:
      the value