Package eu.bandm.music.entities
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
Modifier and TypeFieldDescriptionprotected 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
ConstructorDescriptionNota_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 TypeMethodDescriptiondoclone()
Clones this object.boolean
Generated by umod because this class isALGEBRAIC
.format()
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
hashCode()
Generated by umod because this class isALGEBRAIC
.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.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.with_level
(int val) The level of the metric tree which is influenced by this instance.with_singleCriterion
(int val) Every increase has a max-criterion on the number of child nodes, which must be matched by both nodes involved.boolean
-
Field Details
-
BASE_HASH
protected static final int BASE_HASH -
level
protected int levelThe 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 additionThis 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 singleCriterionEvery increase has a max-criterion on the number of child nodes, which must be matched by both nodes involved.(This definition has been created by UMod from the source at SYSTEM "MetricParameters.umod":188.5-189.5, see this pretty print.)
Every decrease a min criterion, which must be matched by at least ONE side.
The type of this field is int(never null)
It is set by every possible constructor. -
doubleCriterion
protected int doubleCriterionEvery increase has a max-criterion on the number of child nodes, which must be matched by the sum value for both nodes.(This definition has been created by UMod from the source at SYSTEM "MetricParameters.umod":194.5-195.5, see this pretty print.)
Every decrease a min criterion, which must be matched by both sides.
The type of this field is int(never null)
It is set by every possible constructor.
-
-
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 fieldlevel
addition
- is copied to fieldaddition
singleCriterion
- is copied to fieldsingleCriterion
doubleCriterion
- is copied to fielddoubleCriterion
-
-
Method Details
-
doclone
Clones this object. Method never fails, sinceCloneable
is known to be implemented.- Returns:
- a fresh copy.
-
format
Delivers a format object for pretty-printing by inheritance from some ancestor class.- Specified by:
format
in interfaceFormattable
- Returns:
- a format that represents this object in a pretty-printable way
-
equals
Generated by umod because this class isALGEBRAIC
. -
x_equals
-
hashCode
public int hashCode()Generated by umod because this class isALGEBRAIC
. -
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
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
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.(This definition has been created by UMod from the source at SYSTEM "MetricParameters.umod":188.5-189.5, see this pretty print.)
Every decrease a min criterion, which must be matched by at least ONE side.
Generated getter method. @see #singleCriterion- Returns:
- The current field value of type int(never null)
-
with_singleCriterion
Every increase has a max-criterion on the number of child nodes, which must be matched by both nodes involved.(This definition has been created by UMod from the source at SYSTEM "MetricParameters.umod":188.5-189.5, see this pretty print.)
Every decrease a min criterion, which must be matched by at least ONE side.
- 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.(This definition has been created by UMod from the source at SYSTEM "MetricParameters.umod":194.5-195.5, see this pretty print.)
Every decrease a min criterion, which must be matched by both sides.
Generated getter method. @see #doubleCriterion- Returns:
- The current field value of type int(never null)
-
with_doubleCriterion
Every increase has a max-criterion on the number of child nodes, which must be matched by the sum value for both nodes.(This definition has been created by UMod from the source at SYSTEM "MetricParameters.umod":194.5-195.5, see this pretty print.)
Every decrease a min criterion, which must be matched by both sides.
- 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:
-