////////////////////////////////////////////////////////////////////////////////
// Copyright 2013 Michael Schmalle - Teoti Graphix, LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License
//
// Author: Michael Schmalle, Principal Architect
// mschmalle at teotigraphix dot com
////////////////////////////////////////////////////////////////////////////////
package com.teotigraphix.caustk.library;
public class LibraryPhrase extends LibraryItem {
//----------------------------------
// bankIndex
//----------------------------------
private int bankIndex;
public final int getBankIndex() {
return bankIndex;
}
public final void setBankIndex(int value) {
bankIndex = value;
}
//----------------------------------
// patternIndex
//----------------------------------
private int patternIndex;
public final int getPatternIndex() {
return patternIndex;
}
public final void setPatternIndex(int value) {
patternIndex = value;
}
private Resolution resolution;
public final Resolution getResolution() {
return resolution;
}
public final void setResolution(Resolution value) {
resolution = value;
}
//----------------------------------
// dispatcher
//----------------------------------
private int length;
public final int getLength() {
return length;
}
public final void setLength(int value) {
length = value;
}
//----------------------------------
// dispatcher
//----------------------------------
private String swing;
public final String getSwing() {
return swing;
}
public final void setSwing(String value) {
swing = value;
}
//----------------------------------
// dispatcher
//----------------------------------
private String noteData;
public final String getNoteData() {
return noteData;
}
public final void setNoteData(String value) {
noteData = value;
}
//----------------------------------
// dispatcher
//----------------------------------
private MachineType machineType;
public final MachineType getMachineType() {
return machineType;
}
public final void setMachineType(MachineType value) {
machineType = value;
}
//----------------------------------
// tempo
//----------------------------------
private float tempo;
public float getTempo() {
return tempo;
}
public void setTempo(float value) {
tempo = value;
}
//--------------------------------------------------------------------------
// Constructor
//--------------------------------------------------------------------------
public LibraryPhrase() {
}
@Override
public String toString() {
return getMetadataInfo().getName() + ":" + getMetadataInfo().getTags().toString();
}
}