import { AccidentalEnum } from "../../Common/DataObjects/Pitch" ; import { PlacementEnum } from "./Expressions/AbstractExpression" ; export class OrnamentContainer { constructor ( ornament ) { this . ornament = ornament ; } private ornament : OrnamentEnum ; public placement : PlacementEnum = PlacementEnum . Above ; private accidentalAbove : AccidentalEnum = AccidentalEnum . NONE ; private accidentalBelow : AccidentalEnum = AccidentalEnum . NONE ; public get GetOrnament ( ) : OrnamentEnum { return this . ornament ; } public get AccidentalAbove ( ) : AccidentalEnum { return this . accidentalAbove ; } public set AccidentalAbove ( value ) { this . accidentalAbove = value ; } public get AccidentalBelow ( ) : AccidentalEnum { return this . accidentalBelow ; } public set AccidentalBelow ( value ) { this . accidentalBelow = value ; } } export enum OrnamentEnum { Trill , Turn , InvertedTurn , DelayedTurn , DelayedInvertedTurn , Mordent , InvertedMordent }