String recordUri = pointer.getRecordUri();
String stashFilePath = pointer.getStashFilepath();
String stashType = pointer.getStashType();
XMLGregorianCalendar stashDate = pointer.getStashDatetime();
String pointerFilePath = pointer.getPointerFilepath();
PointerItems pointerItems = pointer.getPointerItems();
// Perform Mandatory Check
VarUtil.checkNonblankString("recordUri", recordUri);
VarUtil.checkNonblankString("stashFilePath", stashFilePath);
VarUtil.checkNonblankString("stashType", stashType);
VarUtil.checkNonNullObject("stashDate", stashDate);
VarUtil.checkNonblankString("pointerFilePath", pointerFilePath);
VarUtil.checkNonNullObject("ponterItems", pointerItems);
// Add local Variables values to SolrInputDocument
doc.addField("record_uri", recordUri);
doc.addField("stash_filepath", stashFilePath);
doc.addField("stash_type", stashType);
doc.addField("stash_date", stashDate);
doc.addField("pointer_filepath", pointerFilePath);
List<PointerItem> pointerItemList = pointerItems.getPointerItem();
// Get Pointer Items and add to SolrInputDocument
for (PointerItem pointerItem : pointerItemList)
{