|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectproject35.soa.ontology.sources.OntologyTerm
public class OntologyTerm
Describes an ontology term. Originally, ontology terms were just viewed as strings. However, some of the ontologists we've talked to advise us that each term might be associated with an identifier or a URL link. We give you the ability to choose the same term from multiple ontology services. Other people may want to know which list you got your terms 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.medicalterms.org/234 or http://www.medicalterms.org/678 The URL field provides a more complete definition of a web page. Both of these fields are optional for now.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.
| Constructor Summary | |
|---|---|
OntologyTerm()
|
|
OntologyTerm(String identifier,
String label)
|
|
| Method Summary | |
|---|---|
void |
addRelatedTerm(OntologyTerm ontologyTerm)
|
Object |
clone()
|
String |
getIdentifier()
Get the value of identifier. |
String |
getLabel()
Get the value of label. |
ArrayList |
getRelatedTerms()
|
void |
setIdentifier(String identifier)
Set the value of identifier. |
void |
setLabel(String label)
Set the value of label. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OntologyTerm(String identifier,
String label)
public OntologyTerm()
| Method Detail |
|---|
public String getIdentifier()
public String getLabel()
public ArrayList getRelatedTerms()
public void setIdentifier(String identifier)
identifier - Value to assign to identifier.public void setLabel(String label)
label - Value to assign to label.public void addRelatedTerm(OntologyTerm ontologyTerm)
public Object clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||