Module m3DCS

Class Variation

All Implemented Interfaces:
Manageable, PersistenceCapable, Shareable, UserFields, XObject, Map, Instantiator<Instantiation>, Serializable

public class Variation extends Node implements Instantiator<Instantiation>
See Also:
  • Field Details

  • Constructor Details

    • Variation

      public Variation()
    • Variation

      public Variation(int type)
    • Variation

      public Variation(int type, int numberS)
  • Method Details

    • getInstantiator

      public Instantiator getInstantiator()
      Overrides:
      getInstantiator in class Node
    • instantiate

      public void instantiate(Instantiation state)
      Specified by:
      instantiate in interface Instantiator<Instantiation>
    • setNumber

      public void setNumber(int value)
    • setType

      public void setType(int value)
    • get

      public static Node get(Node n, int index, int edgeBits)
    • getFirstChild

      public static Node getFirstChild(Node n, int edgeBits)
    • getNextSibling

      public static Node getNextSibling(Node n, int edgeBits)
    • getChildCount

      public static int getChildCount(Node n, int edgeBits)
    • fieldModified

      public void fieldModified(PersistenceField field, int[] indices, Transaction t)
      Specified by:
      fieldModified in interface Manageable
      Overrides:
      fieldModified in class Node
    • getN1

      public float getN1()
    • getN2

      public float getN2()
    • getN3

      public float getN3()
    • getNTypeImpl

      protected Node.NType getNTypeImpl()
      Description copied from class: Node
      This method returns the Node.NType which describes the managed fields of the class of this node. This method has to be implemented in every concrete subclass.
      Overrides:
      getNTypeImpl in class Node
      Returns:
      type describing the managed fields of the class of this node
    • newInstance

      protected Node newInstance()
      Description copied from class: Node
      This method returns a new instance of the class of this node. This method has to be implemented in every concrete subclass.
      Overrides:
      newInstance in class Node
      Returns:
      new instance of class of this node
    • isInitAll

      public boolean isInitAll()
    • setInitAll

      public void setInitAll(boolean value)
    • getType

      public int getType()
    • getExceptionValue

      public int getExceptionValue()
    • setExceptionValue

      public void setExceptionValue(int value)
    • getSeed

      public long getSeed()
    • setSeed

      public void setSeed(long value)
    • getLocationParameter

      public LocationParameterBase getLocationParameter()
    • setLocationParameter

      public void setLocationParameter(LocationParameterBase value)