project35.soa.ontology.provenance
Class ProvenanceOntologyTerm

java.lang.Object
  extended by project35.soa.ontology.provenance.ProvenanceOntologyTerm

public class ProvenanceOntologyTerm
extends java.lang.Object

Describes an ontology wordPhrase. Originally, ontology wordPhrases were just viewed as strings. However, some of the ontologists we've talked to advise us that each wordPhrase might be associated with an identifier or a URL link. We give you the ability to choose the same wordPhrase from multiple ontology services. Other people may want to know which list you got your wordPhrases from. As of this release, we're not sure how this feature will work out. Identifiers might be used to access some kind of web site.

e.g: "testosterone" might have an ID of "234" to mean it was a hormone. "testosterone" might have an ID of "555" to mean it's a steroid.

one day you might be able to click on a hyperlink "testosterone" in one of the fields, and be taken to one of these web pages:

http://www.medicalwordPhrases.org/234 or http://www.medicalwordPhrases.org/678

The URL field provides a more complete definition of a web page. Both of these fields are optional for now.


Copyright (c) 2008 Kevin Garwood for Project35. The original code was developed by Kevin Garwood for the University of Manchester. Revisions have been made for Project35, a project that is independent of that institution. This code is licensed under the Academic Free License version 3.0. The code attribution for the original code is included here:

Copyright (c) Kevin Garwood and University of Manchester 2007. All rights reserved. Licensed under the Academic Free License version 3.0. For more information on the terms and conditions, please see the file "LICENSE" that is included in this distribution.


Version:
1.0
Author:
Kevin Garwood (kgarwood@users.sourceforge.net)

Constructor Summary
ProvenanceOntologyTerm()
           
ProvenanceOntologyTerm(java.lang.String identifier)
           
 
Method Summary
 java.lang.String getDefinition()
          get the definition of the wordPhrase
 java.lang.String getFieldName()
          Get the value of fieldName.
 java.lang.String getIdentifier()
          Get the value of identifier.
 OntologyMetaData getOntologyMetaData()
           
 java.lang.String getRecordClassName()
          Get the value of recordClassName.
 java.net.URL getWebPage()
          Get the value of webPage.
 java.lang.String getWordPhrase()
           
 void setDefinition(java.lang.String definition)
          sets definition of the term
 void setFieldName(java.lang.String fieldName)
          Set the value of fieldName.
 void setIdentifier(java.lang.String identifier)
          Set the value of identifier.
 void setOntologyMetaData(OntologyMetaData ontologyMetaData)
           
 void setRecordClassName(java.lang.String recordClassName)
          Set the value of recordClassName.
 void setWebPage(java.net.URL webPage)
          Set the value of webPage.
 void setWordPhrase(java.lang.String wordPhrase)
          Set the value of wordPhrase.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProvenanceOntologyTerm

public ProvenanceOntologyTerm(java.lang.String identifier)

ProvenanceOntologyTerm

public ProvenanceOntologyTerm()
Method Detail

getOntologyMetaData

public OntologyMetaData getOntologyMetaData()

getRecordClassName

public java.lang.String getRecordClassName()
Get the value of recordClassName.

Returns:
value of recordClassName.

getFieldName

public java.lang.String getFieldName()
Get the value of fieldName.

Returns:
value of fieldName.

getWordPhrase

public java.lang.String getWordPhrase()
Returns:
the word phrase associated with the ontology term identifier

getIdentifier

public java.lang.String getIdentifier()
Get the value of identifier.

Returns:
value of identifier.

getWebPage

public java.net.URL getWebPage()
Get the value of webPage.

Returns:
value of webPage.

getDefinition

public java.lang.String getDefinition()
get the definition of the wordPhrase


setOntologyMetaData

public void setOntologyMetaData(OntologyMetaData ontologyMetaData)

setWordPhrase

public void setWordPhrase(java.lang.String wordPhrase)
Set the value of wordPhrase.

Parameters:
wordPhrase - Value to assign to wordPhrase.

setIdentifier

public void setIdentifier(java.lang.String identifier)
Set the value of identifier.

Parameters:
identifier - Value to assign to identifier.

setWebPage

public void setWebPage(java.net.URL webPage)
Set the value of webPage.

Parameters:
webPage - Value to assign to webPage.

setDefinition

public void setDefinition(java.lang.String definition)
sets definition of the term


setRecordClassName

public void setRecordClassName(java.lang.String recordClassName)
Set the value of recordClassName.

Parameters:
recordClassName - Value to assign to recordClassName.

setFieldName

public void setFieldName(java.lang.String fieldName)
Set the value of fieldName.

Parameters:
fieldName - Value to assign to fieldName.