org.apache.oodt.pcs.query
Class AbstractPCSQuery

java.lang.Object
  extended by org.apache.oodt.pcs.query.AbstractPCSQuery
All Implemented Interfaces:
CoreMetKeys, PCSMetadata, PCSQuery
Direct Known Subclasses:
FilenameQuery, InputFilesQuery, JobIdQuery, OutputFilesQuery, ProductNameQuery, TemporalQuery

public abstract class AbstractPCSQuery
extends Object
implements PCSQuery

Abstract functionality for PCS queries.

Version:
$Revision$
Author:
mattmann

Field Summary
protected  FileManagerUtils fm
           
 
Fields inherited from interface org.apache.oodt.pcs.metadata.PCSMetadata
APPLICATION_SUCCESS_FLAG, COLLECTION_LABEL, COMMENTS, DATA_PROVIDER, DATA_VERSION, END_DATE_TIME, EXECUTABLE_PATHNAMES, EXECUTABLE_VERSIONS, INPUT_FILES, JOB_ID, ON_DISK, OUTPUT_FILES, PGE_NAME, PROCESSING_LEVEL, PRODUCTION_DATE_TIME, PRODUCTION_LOCATION, PRODUCTION_LOCATION_CODE, START_DATE_TIME, SUB_TEST_TAG, TAPE_LOCATION, TASK_ID, TEST_COUNTER, TEST_DATE, TEST_LOCATION, TEST_TAG
 
Fields inherited from interface org.apache.oodt.cas.filemgr.metadata.CoreMetKeys
FILE_LOCATION, FILE_SIZE, FILENAME, MIME_TYPE, PRODUCT_ID, PRODUCT_NAME, PRODUCT_RECEVIED_TIME, PRODUCT_STRUCTURE, PRODUCT_TYPE
 
Constructor Summary
protected AbstractPCSQuery(FileManagerUtils fm)
          Constructs a new AbstractOCOQuery using the given FileManagerUtils file manager interface.
 
Method Summary
protected  String getElemId(String elemName)
          Wrapper method around #fm.safeGetElementByName.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.oodt.pcs.query.PCSQuery
buildQuery
 

Field Detail

fm

protected FileManagerUtils fm
Constructor Detail

AbstractPCSQuery

protected AbstractPCSQuery(FileManagerUtils fm)
Constructs a new AbstractOCOQuery using the given FileManagerUtils file manager interface.

Parameters:
fm - The interface to the File Manager.
Method Detail

getElemId

protected String getElemId(String elemName)
Wrapper method around #fm.safeGetElementByName.

Parameters:
elemName - The name of the metadata element to obtain the ID for.
Returns:
The String ID of the given elemName.


Copyright © 1999-2013
Apache OODT. All Rights Reserved.