Class AbstractGraphTest.TestNode

java.lang.Object
de.iip_ecosphere.platform.configuration.easyProducer.ivml.DefaultGraphElement
de.iip_ecosphere.platform.configuration.easyProducer.ivml.DefaultNode
test.de.iip_ecosphere.platform.configuration.easyProducer.AbstractGraphTest.TestNode
All Implemented Interfaces:
de.iip_ecosphere.platform.configuration.easyProducer.ivml.IvmlGraphMapper.IvmlGraphElement, de.iip_ecosphere.platform.configuration.easyProducer.ivml.IvmlGraphMapper.IvmlGraphNode
Enclosing class:
AbstractGraphTest

public static class AbstractGraphTest.TestNode extends de.iip_ecosphere.platform.configuration.easyProducer.ivml.DefaultNode
A test node overriding IVML accesses.
Author:
Holger Eichelberger, SSE
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private int
     
    private String
     
    private int
     
    private int
     
    private int
     

    Fields inherited from class de.iip_ecosphere.platform.configuration.easyProducer.ivml.DefaultGraphElement

    INVALID_POSITION, INVALID_SIZE
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a graph node.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
     
    int
     
    int
     
    int
     
    void
    setHeight(int height)
     
    void
     
    void
    setWidth(int width)
     
    void
    setXPos(int xPos)
     
    void
    setYPos(int yPos)
     

    Methods inherited from class de.iip_ecosphere.platform.configuration.easyProducer.ivml.DefaultNode

    addEdge, getHeightVarName, getImpl, getImplVarName, getInEdgesCount, getOutEdgesCount, getWidthVarName, getXPosVarName, getYPosVarName, inEdges, outEdges, setImpl

    Methods inherited from class de.iip_ecosphere.platform.configuration.easyProducer.ivml.DefaultGraphElement

    getIntValue, getNameVarName, getStringValue, getVariable

    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.configuration.easyProducer.ivml.IvmlGraphMapper.IvmlGraphElement

    getVariable
  • Field Details

    • name

      private String name
    • xPos

      private int xPos
    • yPos

      private int yPos
    • width

      private int width
    • height

      private int height
  • Constructor Details

    • TestNode

      public TestNode()
      Creates a graph node.
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface de.iip_ecosphere.platform.configuration.easyProducer.ivml.IvmlGraphMapper.IvmlGraphElement
      Overrides:
      getName in class de.iip_ecosphere.platform.configuration.easyProducer.ivml.DefaultNode
    • setName

      public void setName(String name)
      Specified by:
      setName in interface de.iip_ecosphere.platform.configuration.easyProducer.ivml.IvmlGraphMapper.IvmlGraphElement
      Overrides:
      setName in class de.iip_ecosphere.platform.configuration.easyProducer.ivml.DefaultGraphElement
    • getXPos

      public int getXPos()
      Specified by:
      getXPos in interface de.iip_ecosphere.platform.configuration.easyProducer.ivml.IvmlGraphMapper.IvmlGraphNode
      Overrides:
      getXPos in class de.iip_ecosphere.platform.configuration.easyProducer.ivml.DefaultNode
    • getYPos

      public int getYPos()
      Specified by:
      getYPos in interface de.iip_ecosphere.platform.configuration.easyProducer.ivml.IvmlGraphMapper.IvmlGraphNode
      Overrides:
      getYPos in class de.iip_ecosphere.platform.configuration.easyProducer.ivml.DefaultNode
    • getWidth

      public int getWidth()
      Specified by:
      getWidth in interface de.iip_ecosphere.platform.configuration.easyProducer.ivml.IvmlGraphMapper.IvmlGraphNode
      Overrides:
      getWidth in class de.iip_ecosphere.platform.configuration.easyProducer.ivml.DefaultNode
    • getHeight

      public int getHeight()
      Specified by:
      getHeight in interface de.iip_ecosphere.platform.configuration.easyProducer.ivml.IvmlGraphMapper.IvmlGraphNode
      Overrides:
      getHeight in class de.iip_ecosphere.platform.configuration.easyProducer.ivml.DefaultNode
    • setXPos

      public void setXPos(int xPos)
      Specified by:
      setXPos in interface de.iip_ecosphere.platform.configuration.easyProducer.ivml.IvmlGraphMapper.IvmlGraphNode
      Overrides:
      setXPos in class de.iip_ecosphere.platform.configuration.easyProducer.ivml.DefaultNode
    • setYPos

      public void setYPos(int yPos)
      Specified by:
      setYPos in interface de.iip_ecosphere.platform.configuration.easyProducer.ivml.IvmlGraphMapper.IvmlGraphNode
      Overrides:
      setYPos in class de.iip_ecosphere.platform.configuration.easyProducer.ivml.DefaultNode
    • setWidth

      public void setWidth(int width)
      Specified by:
      setWidth in interface de.iip_ecosphere.platform.configuration.easyProducer.ivml.IvmlGraphMapper.IvmlGraphNode
      Overrides:
      setWidth in class de.iip_ecosphere.platform.configuration.easyProducer.ivml.DefaultNode
    • setHeight

      public void setHeight(int height)
      Specified by:
      setHeight in interface de.iip_ecosphere.platform.configuration.easyProducer.ivml.IvmlGraphMapper.IvmlGraphNode
      Overrides:
      setHeight in class de.iip_ecosphere.platform.configuration.easyProducer.ivml.DefaultNode