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.
|
replaceDotByDash
public 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.MalformedURLException
public org.ecoinformatics.ecogrid.queryservice.query.QueryType getQuickSearchEcoGridQuery(java.lang.String value) throws InvalidEcogridQueryException
getQuickSearchEcoGridQuery
in class MetadataSpecificationInterface
value
- StringInvalidEcogridQueryException
- Description of the Exceptionpublic org.ecoinformatics.ecogrid.queryservice.query.QueryType getEcoGridQuery()
getEcoGridQuery
in class MetadataSpecificationInterface
public 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.SAXException
java.io.IOException
EcoGridException
NameDuplicationException
IllegalActionException
public 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 MetadataSpecificationInterface
aResults
- aEndPointURLStr
- aContainer
- aResultList
- org.xml.sax.SAXException
java.io.IOException
EcoGridException
NameDuplicationException
IllegalActionException
public java.lang.String getName()
getName
in class MetadataSpecificationInterface
public java.lang.String getBriefName()
getBriefName
in class MetadataSpecificationInterface
public int getNumResults()
getNumResults
in class MetadataSpecificationInterface