Class FakeReferenceElement

  • All Implemented Interfaces:
    de.iip_ecosphere.platform.support.aas.Element, de.iip_ecosphere.platform.support.aas.HasDataSpecification, de.iip_ecosphere.platform.support.aas.HasKind, de.iip_ecosphere.platform.support.aas.HasSemantics, de.iip_ecosphere.platform.support.aas.Qualifiable, de.iip_ecosphere.platform.support.aas.Referable, de.iip_ecosphere.platform.support.aas.ReferenceElement, de.iip_ecosphere.platform.support.aas.SubmodelElement

    public class FakeReferenceElement
    extends FakeElement
    implements de.iip_ecosphere.platform.support.aas.ReferenceElement
    Implements a fake reference element holding a reference.
    Author:
    Holger Eichelberger, SSE
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      (package private) static class  FakeReferenceElement.FakeReferenceElementBuilder  
      • Nested classes/interfaces inherited from interface de.iip_ecosphere.platform.support.aas.ReferenceElement

        de.iip_ecosphere.platform.support.aas.ReferenceElement.ReferenceElementBuilder
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private de.iip_ecosphere.platform.support.aas.Reference value  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected FakeReferenceElement​(java.lang.String idShort, de.iip_ecosphere.platform.support.aas.Reference value)
      Creates an instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(de.iip_ecosphere.platform.support.aas.AasVisitor visitor)  
      de.iip_ecosphere.platform.support.aas.Reference getValue()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface de.iip_ecosphere.platform.support.aas.Element

        getIdShort, update
    • Field Detail

      • value

        private de.iip_ecosphere.platform.support.aas.Reference value
    • Constructor Detail

      • FakeReferenceElement

        protected FakeReferenceElement​(java.lang.String idShort,
                                       de.iip_ecosphere.platform.support.aas.Reference value)
        Creates an instance.
        Parameters:
        idShort - the short id
        value - the reference value
    • Method Detail

      • accept

        public void accept​(de.iip_ecosphere.platform.support.aas.AasVisitor visitor)
        Specified by:
        accept in interface de.iip_ecosphere.platform.support.aas.Element
      • getValue

        public de.iip_ecosphere.platform.support.aas.Reference getValue()
        Specified by:
        getValue in interface de.iip_ecosphere.platform.support.aas.ReferenceElement