project35.soa.ontology.provenance
Class OntologyTermProvenance

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

public class OntologyTermProvenance
extends java.lang.Object

Describes an ontology label. Originally, ontology labels were just viewed as strings. However, some of the ontologists we've talked to advise us that each label might be associated with an identifier or a URL link. We give you the ability to choose the same label from multiple ontology services. Other people may want to know which list you got your labels 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.medicallabels.org/234 or http://www.medicallabels.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
OntologyTermProvenance()
           
 
Method Summary
 java.lang.String getFieldName()
          Get the value of fieldName.
 OntologyServiceMetaData getOntologyServiceMetaData()
           
 OntologyTermMetaData getOntologyTermMetaData()
           
 java.lang.String getRecordClassName()
          Get the value of recordClassName.
 void setFieldName(java.lang.String fieldName)
          Set the value of fieldName.
 void setOntologyServiceMetaData(OntologyServiceMetaData ontologyServiceMetaData)
           
 void setOntologyTermMetaData(OntologyTermMetaData ontologyTermMetaData)
           
 void setRecordClassName(java.lang.String recordClassName)
          Set the value of recordClassName.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OntologyTermProvenance

public OntologyTermProvenance()
Method Detail

getOntologyTermMetaData

public OntologyTermMetaData getOntologyTermMetaData()

getOntologyServiceMetaData

public OntologyServiceMetaData getOntologyServiceMetaData()

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.

setOntologyTermMetaData

public void setOntologyTermMetaData(OntologyTermMetaData ontologyTermMetaData)

setOntologyServiceMetaData

public void setOntologyServiceMetaData(OntologyServiceMetaData ontologyServiceMetaData)

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.