public class Query extends Object implements DescriptionObject
| Constructor and Description |
|---|
Query() |
Query(String xml) |
Query(String n,
int v,
ItemPath path,
String xml) |
Query(String n,
int v,
String xml) |
| Modifier and Type | Method and Description |
|---|---|
void |
export(Writer imports,
File dir,
boolean shallow) |
String |
getItemID() |
Parameter |
getParameter(String name) |
String |
getQueryXML() |
boolean |
hasParameters() |
CollectionArrayList |
makeDescCollections(TransactionKey transactionKey) |
void |
parseXML(String xml) |
void |
setMandatoryParemeters(String uuid,
Object schemaName) |
void |
setParemeterValues(String itemUUID,
Object schemaName,
CastorHashMap actProps) |
void |
setStringParameter(String name,
Object value) |
void |
validateXML(String xml) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetItemPath, getName, getVersion, setItemPath, setName, setVersionpublic Query()
public Query(String n, int v, ItemPath path, String xml) throws QueryParsingException
QueryParsingExceptionpublic Query(String n, int v, String xml) throws QueryParsingException
QueryParsingExceptionpublic Query(String xml) throws QueryParsingException
QueryParsingExceptionpublic String getItemID()
getItemID in interface DescriptionObjectpublic boolean hasParameters()
public void setParemeterValues(String itemUUID, Object schemaName, CastorHashMap actProps)
public void validateXML(String xml) throws InvalidDataException, ObjectNotFoundException
public void parseXML(String xml) throws QueryParsingException
QueryParsingExceptionpublic String getQueryXML()
public CollectionArrayList makeDescCollections(TransactionKey transactionKey) throws InvalidDataException, ObjectNotFoundException
makeDescCollections in interface DescriptionObjectInvalidDataExceptionObjectNotFoundExceptionpublic void export(Writer imports, File dir, boolean shallow) throws InvalidDataException, ObjectNotFoundException, IOException
export in interface DescriptionObjectInvalidDataExceptionObjectNotFoundExceptionIOExceptionCopyright © 1997–2022 CRISTAL-iSE. All rights reserved.