public byte[] getParents() {
    if (parents == null) {
      return null;
    }
    byte[] arr = new byte[parents.length];
    System.arraycopy(parents, 0, arr, 0, arr.length);
    return arr;
  }
public byte [ ] getParents ( ) { if ( parents == null ) { return null ; } byte [ ] arr = new byte [ parents . length ] ; System . arraycopy ( parents , 0 , arr , 0 , arr . length ) ; return arr ; }
Gets the parents of this object in the Goal-Plan tree.

@return array of parent IDs, or null if this object has no parents