Class MetricParameters.Nota_trabes_alteraNatas

java.lang.Object
eu.bandm.music.entities.MetricParameters.Nota_trabes_alteraNatas
All Implemented Interfaces:
Formattable, Cloneable
Enclosing class:
MetricParameters

public static class MetricParameters.Nota_trabes_alteraNatas extends Object implements Cloneable, Formattable
A set of these objects reflects the traditional modifications of the genuine beams, i.e. the beams induced by the metric tree as such.
(This definition has been created by UMod from the source at SYSTEM "MetricParameters.umod":172.3-195.5, see this pretty print.)
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected int
    This number (pos or neg) will be added to the beam between the last and the first printed node under two adjacent nodes of the given level, iff the conditions are met.
    protected static final int
     
    protected int
    Every increase has a max-criterion on the number of child nodes, which must be matched by the sum value for both nodes.
    Every decrease a min criterion, which must be matched by both sides.
    protected int
    The level of the metric tree which is influenced by this instance.
    protected int
    Every increase has a max-criterion on the number of child nodes, which must be matched by both nodes involved.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Nota_trabes_alteraNatas(int level, int addition, int singleCriterion, int doubleCriterion)
    Constructor generated according to specification #0
    Constructor defined according to directive "C 0/..".
  • Method Summary

    Modifier and Type
    Method
    Description
    Clones this object.
    boolean
    Generated by umod because this class is ALGEBRAIC.
    Delivers a format object for pretty-printing by inheritance from some ancestor class.
    int
    This number (pos or neg) will be added to the beam between the last and the first printed node under two adjacent nodes of the given level, iff the conditions are met.
    int
    Every increase has a max-criterion on the number of child nodes, which must be matched by the sum value for both nodes.
    Every decrease a min criterion, which must be matched by both sides.
    int
    The level of the metric tree which is influenced by this instance.
    int
    Every increase has a max-criterion on the number of child nodes, which must be matched by both nodes involved.
    int
    Generated by umod because this class is ALGEBRAIC.
    Copies values of all common fields from the argument.
    with_addition(int val)
    This number (pos or neg) will be added to the beam between the last and the first printed node under two adjacent nodes of the given level, iff the conditions are met.
    Every increase has a max-criterion on the number of child nodes, which must be matched by the sum value for both nodes.
    Every decrease a min criterion, which must be matched by both sides.
    with_level(int val)
    The level of the metric tree which is influenced by this instance.
    Every increase has a max-criterion on the number of child nodes, which must be matched by both nodes involved.
    boolean
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • BASE_HASH

      protected static final int BASE_HASH
    • level

      protected int level
      The level of the metric tree which is influenced by this instance. The root is addressed as "0", the numbers increase downward. In a 4/4 meter, the level=3 will influence the connection between two note groups which fill the 1/8 intervals of the same 1/4 interval.
      (This definition has been created by UMod from the source at SYSTEM "MetricParameters.umod":176.5-177.5, see this pretty print.)
      The type of this field is int(never null)
      It is set by every possible constructor.
      See Also:
    • addition

      protected int addition
      This number (pos or neg) will be added to the beam between the last and the first printed node under two adjacent nodes of the given level, iff the conditions are met.
      (This definition has been created by UMod from the source at SYSTEM "MetricParameters.umod":183.5-184.5, see this pretty print.)
      The type of this field is int(never null)
      It is set by every possible constructor.
      See Also:
    • singleCriterion

      protected int singleCriterion
      Every increase has a max-criterion on the number of child nodes, which must be matched by both nodes involved.
      Every decrease a min criterion, which must be matched by at least ONE side.
      (This definition has been created by UMod from the source at SYSTEM "MetricParameters.umod":188.5-189.5, see this pretty print.)
      The type of this field is int(never null)
      It is set by every possible constructor.
      See Also:
    • doubleCriterion

      protected int doubleCriterion
      Every increase has a max-criterion on the number of child nodes, which must be matched by the sum value for both nodes.
      Every decrease a min criterion, which must be matched by both sides.
      (This definition has been created by UMod from the source at SYSTEM "MetricParameters.umod":194.5-195.5, see this pretty print.)
      The type of this field is int(never null)
      It is set by every possible constructor.
      See Also:
  • Constructor Details

    • Nota_trabes_alteraNatas

      public Nota_trabes_alteraNatas(int level, int addition, int singleCriterion, int doubleCriterion)
      Constructor generated according to specification #0
      Constructor defined according to directive "C 0/..".
      Parameters:
      level - is copied to field level
      addition - is copied to field addition
      singleCriterion - is copied to field singleCriterion
      doubleCriterion - is copied to field doubleCriterion
  • Method Details

    • doclone

      Clones this object. Method never fails, since Cloneable is known to be implemented.
      Returns:
      a fresh copy.
    • format

      public Format format()
      Delivers a format object for pretty-printing by inheritance from some ancestor class.
      Specified by:
      format in interface Formattable
      Returns:
      a format that represents this object in a pretty-printable way
    • equals

      public boolean equals(Object e0)
      Generated by umod because this class is ALGEBRAIC.
      Overrides:
      equals in class Object
    • x_equals

      public boolean x_equals(MetricParameters.Nota_trabes_alteraNatas e0)
    • hashCode

      public int hashCode()
      Generated by umod because this class is ALGEBRAIC.
      Overrides:
      hashCode in class Object
    • initFrom

      Copies values of all common fields from the argument. All fields of this class definition are copied, iff the argument is of this class. Then the superclass method is invoked with the same argument.
    • get_level

      public int get_level()
      The level of the metric tree which is influenced by this instance. The root is addressed as "0", the numbers increase downward. In a 4/4 meter, the level=3 will influence the connection between two note groups which fill the 1/8 intervals of the same 1/4 interval.
      (This definition has been created by UMod from the source at SYSTEM "MetricParameters.umod":176.5-177.5, see this pretty print.)
      Generated getter method. @see #level
      Returns:
      The current field value of type int(never null)
    • with_level

      public MetricParameters.Nota_trabes_alteraNatas with_level(int val)
      The level of the metric tree which is influenced by this instance. The root is addressed as "0", the numbers increase downward. In a 4/4 meter, the level=3 will influence the connection between two note groups which fill the 1/8 intervals of the same 1/4 interval.
      (This definition has been created by UMod from the source at SYSTEM "MetricParameters.umod":176.5-177.5, see this pretty print.)
      Parameters:
      val - the new value of type int(never null)
      Returns:
      a new instance of the algebraic/immutable data type, with the addressed field set to the new value.
      See Also:
    • get_addition

      public int get_addition()
      This number (pos or neg) will be added to the beam between the last and the first printed node under two adjacent nodes of the given level, iff the conditions are met.
      (This definition has been created by UMod from the source at SYSTEM "MetricParameters.umod":183.5-184.5, see this pretty print.)
      Generated getter method. @see #addition
      Returns:
      The current field value of type int(never null)
    • with_addition

      public MetricParameters.Nota_trabes_alteraNatas with_addition(int val)
      This number (pos or neg) will be added to the beam between the last and the first printed node under two adjacent nodes of the given level, iff the conditions are met.
      (This definition has been created by UMod from the source at SYSTEM "MetricParameters.umod":183.5-184.5, see this pretty print.)
      Parameters:
      val - the new value of type int(never null)
      Returns:
      a new instance of the algebraic/immutable data type, with the addressed field set to the new value.
      See Also:
    • get_singleCriterion

      public int get_singleCriterion()
      Every increase has a max-criterion on the number of child nodes, which must be matched by both nodes involved.
      Every decrease a min criterion, which must be matched by at least ONE side.
      (This definition has been created by UMod from the source at SYSTEM "MetricParameters.umod":188.5-189.5, see this pretty print.)
      Generated getter method. @see #singleCriterion
      Returns:
      The current field value of type int(never null)
    • with_singleCriterion

      public MetricParameters.Nota_trabes_alteraNatas with_singleCriterion(int val)
      Every increase has a max-criterion on the number of child nodes, which must be matched by both nodes involved.
      Every decrease a min criterion, which must be matched by at least ONE side.
      (This definition has been created by UMod from the source at SYSTEM "MetricParameters.umod":188.5-189.5, see this pretty print.)
      Parameters:
      val - the new value of type int(never null)
      Returns:
      a new instance of the algebraic/immutable data type, with the addressed field set to the new value.
      See Also:
    • get_doubleCriterion

      public int get_doubleCriterion()
      Every increase has a max-criterion on the number of child nodes, which must be matched by the sum value for both nodes.
      Every decrease a min criterion, which must be matched by both sides.
      (This definition has been created by UMod from the source at SYSTEM "MetricParameters.umod":194.5-195.5, see this pretty print.)
      Generated getter method. @see #doubleCriterion
      Returns:
      The current field value of type int(never null)
    • with_doubleCriterion

      public MetricParameters.Nota_trabes_alteraNatas with_doubleCriterion(int val)
      Every increase has a max-criterion on the number of child nodes, which must be matched by the sum value for both nodes.
      Every decrease a min criterion, which must be matched by both sides.
      (This definition has been created by UMod from the source at SYSTEM "MetricParameters.umod":194.5-195.5, see this pretty print.)
      Parameters:
      val - the new value of type int(never null)
      Returns:
      a new instance of the algebraic/immutable data type, with the addressed field set to the new value.
      See Also: