public bool Compare(Batch compare)
        {
            if (compare == null)
            {
                return(false);
            }
            if ((this.getBatch() == compare.getBatch()) && (this.getColor() == compare.getColor()) && (this.getRepeat() == compare.getRepeat()))
            {
                return(true);
            }

            else
            {
                return(false);
            }
        }
 public void setBatch(Batch b)
 {
     batch.setBatch(b.getBatch());
     batch.setColor(b.getColor());
     batch.setRepeat(b.getRepeat());
 }