Class EnhancedValueReferencePair<EnhancementT>

java.lang.Object
aas_core.aas3_0.enhancing.Enhanced<EnhancementT>
aas_core.aas3_0.enhancing.EnhancedValueReferencePair<EnhancementT>
All Implemented Interfaces:
IClass, IValueReferencePair

public class EnhancedValueReferencePair<EnhancementT> extends Enhanced<EnhancementT> implements IValueReferencePair
  • Constructor Details

  • Method Details

    • getValue

      public String getValue()
      Description copied from interface: IValueReferencePair
      The value of the referenced concept definition of the value in IValueReferencePair.getValueId().
      Specified by:
      getValue in interface IValueReferencePair
    • setValue

      public void setValue(String value)
      Specified by:
      setValue in interface IValueReferencePair
    • getValueId

      public IReference getValueId()
      Description copied from interface: IValueReferencePair
      Global unique id of the value.

      It is recommended to use a global reference.

      Specified by:
      getValueId in interface IValueReferencePair
    • setValueId

      public void setValueId(IReference valueId)
      Specified by:
      setValueId in interface IValueReferencePair
    • descendOnce

      public Iterable<IClass> descendOnce()
      Description copied from interface: IClass
      Iterate over all the class instances referenced from this instance without further recursion.
      Specified by:
      descendOnce in interface IClass
    • descend

      public Iterable<IClass> descend()
      Description copied from interface: IClass
      Iterate recursively over all the class instances referenced from this instance.
      Specified by:
      descend in interface IClass
    • accept

      public void accept(IVisitor visitor)
      Description copied from interface: IClass
      Accept the visitor to visit this instance for double dispatch.
      Specified by:
      accept in interface IClass
    • accept

      public <ContextT> void accept(IVisitorWithContext<ContextT> visitor, ContextT context)
      Description copied from interface: IClass
      Accept the visitor to visit this instance for double dispatch with the context.
      Specified by:
      accept in interface IClass
    • transform

      public <T> T transform(ITransformer<T> transformer)
      Description copied from interface: IClass
      Accept the transformer to transform this instance for double dispatch.
      Specified by:
      transform in interface IClass
    • transform

      public <ContextT, T> T transform(ITransformerWithContext<ContextT,T> transformer, ContextT context)
      Description copied from interface: IClass
      Accept the transformer to visit this instance for double dispatch with the context.
      Specified by:
      transform in interface IClass