public class ADNMetadataSpecification extends MetadataSpecificationInterface
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ADNNAMESPACE |
protected static org.apache.commons.logging.Log |
log |
protected java.lang.String |
namespace |
protected java.lang.String |
queryId |
AUTHENTICATION_MAPPING, AUTHENTICATION_SERVICECLASS, AUTHENTICATION_SERVICETYPE, DESCRIPTION, DOCUMENTTYPE, ECOGRIDPATH, ENDPOINT, LABEL, METADATACLASS, METADATASPECIFICATIONCLASSLIST, NAMESPACE, QUERYTITLE, QUICKPATH, RETURNFIELD, RETURNFIELDENTITY, RETURNFIELDTITLE, RETURNFIELDTYPE, RETURNFIELDTYPELIST, SELECTION, SERVICE, SERVICECLASSIFICATION, SERVICEGROUP, SERVICENAME, SERVICESLIST, SERVICETYPE| Constructor and Description |
|---|
ADNMetadataSpecification()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addResultsetRecordsToContainer(org.ecoinformatics.ecogrid.queryservice.resultset.ResultsetType results,
java.lang.String endpoint,
CompositeEntity container,
java.util.Vector aResultList)
Creates GEONDataResource items (derived from Source) and adds them into
the container
|
java.lang.String |
getBriefName() |
static java.net.URL |
getDocumentation(java.lang.String recordId)
Returns a URL to the ADN documentation
|
org.ecoinformatics.ecogrid.queryservice.query.QueryType |
getEcoGridQuery()
Method to create a ecogrid query
|
java.lang.String |
getName() |
int |
getNumResults() |
org.ecoinformatics.ecogrid.queryservice.query.QueryType |
getQuickSearchEcoGridQuery(java.lang.String value)
Method to create a quick query search
|
boolean |
transformResultset(org.ecoinformatics.ecogrid.queryservice.resultset.ResultsetType results,
java.lang.String endpoint,
CompositeEntity container,
java.util.Vector aResultList)
This method will transfer ResultsetType java object to array of
ResultRecord java object.
|
replaceDotByDashpublic static final java.lang.String ADNNAMESPACE
protected java.lang.String namespace
protected java.lang.String queryId
protected static final org.apache.commons.logging.Log log
public ADNMetadataSpecification()
public static java.net.URL getDocumentation(java.lang.String recordId) throws java.net.MalformedURLException
java.net.MalformedURLExceptionpublic org.ecoinformatics.ecogrid.queryservice.query.QueryType getQuickSearchEcoGridQuery(java.lang.String value) throws InvalidEcogridQueryException
getQuickSearchEcoGridQuery in class MetadataSpecificationInterfacevalue - StringInvalidEcogridQueryException - Description of the Exceptionpublic org.ecoinformatics.ecogrid.queryservice.query.QueryType getEcoGridQuery()
getEcoGridQuery in class MetadataSpecificationInterfacepublic boolean transformResultset(org.ecoinformatics.ecogrid.queryservice.resultset.ResultsetType results, java.lang.String endpoint, CompositeEntity container, java.util.Vector aResultList) throws org.xml.sax.SAXException, java.io.IOException, EcoGridException, NameDuplicationException, IllegalActionException
ResultsetType - results the result need to be transformString - endpoints the search end pointorg.xml.sax.SAXExceptionjava.io.IOExceptionEcoGridExceptionNameDuplicationExceptionIllegalActionExceptionpublic boolean addResultsetRecordsToContainer(org.ecoinformatics.ecogrid.queryservice.resultset.ResultsetType results, java.lang.String endpoint, CompositeEntity container, java.util.Vector aResultList) throws org.xml.sax.SAXException, java.io.IOException, EcoGridException, NameDuplicationException, IllegalActionException
addResultsetRecordsToContainer in class MetadataSpecificationInterfaceaResults - aEndPointURLStr - aContainer - aResultList - org.xml.sax.SAXExceptionjava.io.IOExceptionEcoGridExceptionNameDuplicationExceptionIllegalActionExceptionpublic java.lang.String getName()
getName in class MetadataSpecificationInterfacepublic java.lang.String getBriefName()
getBriefName in class MetadataSpecificationInterfacepublic int getNumResults()
getNumResults in class MetadataSpecificationInterface