Module rgg

Class FruitObject

All Implemented Interfaces:
Manageable, PersistenceCapable, Shareable, UserFields, XObject, Map, Serializable

public class FruitObject extends Node
Class is used to realize the FruitObject-command in the DTD-syntax
Author:
Jan Dérer
See Also:
  • Field Details

    • file

      public String file
      Represents the rgg-filename for the FruitObject
    • startaxiom

      public String startaxiom
      Represents the startaxiom for derivation
    • methodForDerivation

      public String methodForDerivation
      Contains the methodname for Derivation
    • numberOfDerivationsteps

      public int numberOfDerivationsteps
      Contains the number of Derivationsteps
    • $TYPE

      public static final Node.NType $TYPE
    • file$FIELD

      public static final Node.NType.Field file$FIELD
    • startaxiom$FIELD

      public static final Node.NType.Field startaxiom$FIELD
    • methodForDerivation$FIELD

      public static final Node.NType.Field methodForDerivation$FIELD
    • numberOfDerivationsteps$FIELD

      public static final Node.NType.Field numberOfDerivationsteps$FIELD
  • Constructor Details

    • FruitObject

      public FruitObject(String file, String startaxiom, String methodForDerivation, int numberOfDerivationsteps)
      Standard-constructor to create a new object of that class
      Parameters:
      file - Represents the rgg-filename for the FruitObject
      startaxiom - Represents the startaxiom for derivation
      methodForDerivation - Contains the methodname for Derivation
      numberOfDerivationsteps - Contains the number of Derivationsteps
  • Method Details

    • 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