package org.herac.tuxguitar.song.models;
import org.herac.tuxguitar.song.factory.TGFactory;
public class TGText{
private String value;
private TGBeat beat;
public TGText(){
super();
}
public TGBeat getBeat() {
return this.beat;
}
public void setBeat(TGBeat beat) {
this.beat = beat;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public boolean isEmpty(){
return (this.value == null || this.value.length() == 0);
}
public void copy(TGText text) {
text.setValue(getValue());
}
public TGText clone(TGFactory factory) {
TGText text = factory.newText();
copy(text);
return text;
}
}