|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object project35.metaData.MetaDataOntologySource
public class MetaDataOntologySource
provides ontology terms to fill in the names of record and field meta data records.
Constructor Summary | |
---|---|
MetaDataOntologySource()
|
Method Summary | |
---|---|
boolean |
containsTerm(Project35FormContext metaDataEditorFormContext,
OntologyTerm ontologyTerm)
determine whether the source contains a particular ontology term |
Parameter[] |
getInitialisationParameters()
|
OntologyServiceMetaData |
getOntologyServiceMetaData(Project35FormContext project35FormContext)
|
OntologyTermProvenance |
getOntologyTermProvenance(Project35FormContext metaDataEditorFormContext,
OntologyTerm ontologyTerm)
|
OntologyTerm[] |
getRelatedTerms(Project35FormContext metaDataEditorFormContext,
OntologyRelationshipType relationshipType,
OntologyTerm ontologyTerm)
|
OntologySource |
getSubOntologySource(Project35FormContext metaDataEditorFormContext,
Parameter[] parameterList)
returns another ontology source is basically this one but pared down by the parameters |
OntologyRelationshipType[] |
getSupportedOntologyRelationships(Project35FormContext metaDataEditorFormContext)
|
OntologyTerm[] |
getTerms(Project35FormContext metaDataEditorFormContext)
returns a collection of terms |
void |
initialiseService(java.net.URL resourceDirectory,
Parameter[] initialisationParameters)
|
boolean |
isWorking()
indicates whether the ontology source is ready for service |
void |
setOntologyContext(OntologyContext ontologyContext)
|
java.lang.String |
test()
diagnostic method that indicates whether the ontology source is working. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MetaDataOntologySource()
Method Detail |
---|
public void setOntologyContext(OntologyContext ontologyContext)
public Parameter[] getInitialisationParameters()
getInitialisationParameters
in interface ServiceClass
public void initialiseService(java.net.URL resourceDirectory, Parameter[] initialisationParameters)
initialiseService
in interface ServiceClass
public OntologyServiceMetaData getOntologyServiceMetaData(Project35FormContext project35FormContext)
getOntologyServiceMetaData
in interface OntologySource
public OntologyTermProvenance getOntologyTermProvenance(Project35FormContext metaDataEditorFormContext, OntologyTerm ontologyTerm)
getOntologyTermProvenance
in interface OntologySource
public boolean isWorking()
OntologySource
isWorking
in interface OntologySource
public java.lang.String test()
OntologySource
test
in interface OntologySource
public OntologyTerm[] getTerms(Project35FormContext metaDataEditorFormContext)
OntologySource
getTerms
in interface OntologySource
public OntologyRelationshipType[] getSupportedOntologyRelationships(Project35FormContext metaDataEditorFormContext)
getSupportedOntologyRelationships
in interface OntologySource
public OntologyTerm[] getRelatedTerms(Project35FormContext metaDataEditorFormContext, OntologyRelationshipType relationshipType, OntologyTerm ontologyTerm)
getRelatedTerms
in interface OntologySource
public boolean containsTerm(Project35FormContext metaDataEditorFormContext, OntologyTerm ontologyTerm)
OntologySource
containsTerm
in interface OntologySource
public OntologySource getSubOntologySource(Project35FormContext metaDataEditorFormContext, Parameter[] parameterList)
OntologySource
getSubOntologySource
in interface OntologySource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |