Interface IAspectRead<V extends IValue,T extends IValueType<V>>

All Superinterfaces:
IAspect<V,T>
All Known Implementing Classes:
AspectReadBase

public interface IAspectRead<V extends IValue,T extends IValueType<V>> extends IAspect<V,T>
An element that can be used inside parts to access a specific aspect of something to read.
  • Method Details

    • createNewVariable

      @Deprecated default IAspectVariable<V> createNewVariable(PartTarget target)
      Deprecated.
      Creates a new variable for this aspect.
      Parameters:
      target - The target for this aspect.
      Returns:
      The variable pointing to the given target.
    • createNewVariable

      IAspectVariable<V> createNewVariable(Supplier<PartTarget> targetSupplier)
      Creates a new variable for this aspect.
      Parameters:
      targetSupplier - The target supplier for this aspect.
      Returns:
      The variable pointing to the given target.
    • getUpdateType

      AspectUpdateType getUpdateType()
      Returns:
      The update type on which this aspect should invalidate.