Package org.wijiscommons.ssaf.schema.search

Examples of org.wijiscommons.ssaf.schema.search.PointerItems


            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)
            {
View Full Code Here


        String recordUri = pointer.getRecordUri();
        String stashFilePath = pointer.getStashFilepath();
        String stashType = pointer.getStashType();
        XMLGregorianCalendar stashDate = pointer.getStashDatetime();
        String pointerFilePath = pointer.getPointerFilepath();
        PointerItems pointerItems = pointer.getPointerItems();
       
        // Peform Mandatory Check
        if ( recordUri != null && 
           stashFilePath != null &&
           stashType != null &&
           stashDate != null &&
           pointerItems != null &&
           pointerFilePath != null)
        {
       
          // 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 (int i = 0; i < pointerItemList.size(); i++)
            {
              PointerItem pointerItem = pointerItemList.get(i);
View Full Code Here

TOP

Related Classes of org.wijiscommons.ssaf.schema.search.PointerItems

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.