private void writeDivisionType(TGDivisionType divisionType) { // escribo los enters writeByte(divisionType.getEnters()); // escribo los tiempos writeByte(divisionType.getTimes()); }
private TGDivisionType createDivisionType(TGDivisionType tgDivisionTypeSrc) { TGFactory tgFactory = TGDocumentManager.getInstance(this.findContext()).getSongManager().getFactory(); TGDivisionType tgDivisionTypeDst = tgFactory.newDivisionType(); tgDivisionTypeDst.copyFrom(tgDivisionTypeSrc); return tgDivisionTypeDst; }
private void readDivisionType(TGDivisionType divisionType) { // leo los enters divisionType.setEnters(readByte()); // leo los tiempos divisionType.setTimes(readByte()); }