public void copyTo(QuerySpecification clonedSpec){
  clonedSpec.context.documentLinkWhiteList=this.context.documentLinkWhiteList;
  clonedSpec.context.filter=this.context.filter;
  clonedSpec.context.nativePage=this.context.nativePage;
  clonedSpec.context.nativeQuery=this.context.nativeQuery;
  clonedSpec.context.nativeSearcher=this.context.nativeSearcher;
  clonedSpec.context.nativeSort=this.context.nativeSort;
  clonedSpec.expectedResultCount=this.expectedResultCount;
  clonedSpec.linkTerms=this.linkTerms;
  clonedSpec.groupByTerm=this.groupByTerm;
  clonedSpec.options=EnumSet.copyOf(this.options);
  clonedSpec.query=this.query;
  clonedSpec.resultLimit=this.resultLimit;
  clonedSpec.sortOrder=this.sortOrder;
  clonedSpec.sortTerm=this.sortTerm;
  clonedSpec.groupSortTerm=this.groupSortTerm;
  clonedSpec.groupSortOrder=this.groupSortOrder;
}

public void copyTo ( QuerySpecification clonedSpec ) { clonedSpec . context . documentLinkWhiteList = this . context . documentLinkWhiteList ; clonedSpec . context . filter = this . context . filter ; clonedSpec . context . nativePage = this . context . nativePage ; clonedSpec . context . nativeQuery = this . context . nativeQuery ; clonedSpec . context . nativeSearcher = this . context . nativeSearcher ; clonedSpec . context . nativeSort = this . context . nativeSort ; clonedSpec . expectedResultCount = this . expectedResultCount ; clonedSpec . linkTerms = this . linkTerms ; clonedSpec . groupByTerm = this . groupByTerm ; clonedSpec . options = EnumSet . copyOf ( this . options ) ; clonedSpec . query = this . query ; clonedSpec . resultLimit = this . resultLimit ; clonedSpec . sortOrder = this . sortOrder ; clonedSpec . sortTerm = this . sortTerm ; clonedSpec . groupSortTerm = this . groupSortTerm ; clonedSpec . groupSortOrder = this . groupSortOrder ; }
performs shallow copy of this instance to the supplied instance
