|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object macaw.businessLayer.OntologyTerm
public class OntologyTerm
Constructor Summary | |
---|---|
OntologyTerm()
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
static java.util.ArrayList<MacawChangeEvent> |
detectFieldChanges(User user,
OntologyTerm originalOntologyTerm,
OntologyTerm revisedOntologyTerm)
|
java.lang.String |
getDescription()
the meaning of the phrase eg: “a person’s gender” |
java.lang.String |
getDisplayItemIdentifier()
|
java.lang.String |
getDisplayName()
|
int |
getIdentifier()
a unique numeric identifier that is used by software clients to manage the term eg: 10453. |
java.lang.String |
getNameSpace()
a URI fragment that is used to uniquely identify ontology concepts for software clients eg: www.nshd.mrc.ac.uk:LHA/variables |
java.lang.String |
getOntologyName()
the name of an ontology to which this term belongs. |
java.lang.String |
getTerm()
a phrase that represents a concept to the user eg: “sex” |
boolean |
hasSameDisplayName(OntologyTerm ontologyTerm)
|
boolean |
isNewRecord()
|
void |
setDescription(java.lang.String description)
|
void |
setIdentifier(int identifier)
|
void |
setNameSpace(java.lang.String nameSpace)
|
void |
setNewRecord(boolean isNewRecord)
|
void |
setOntologyName(java.lang.String ontologyName)
|
void |
setTerm(java.lang.String term)
|
static void |
validateFields(OntologyTerm ontologyTerm)
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OntologyTerm()
Method Detail |
---|
public int getIdentifier()
public void setIdentifier(int identifier)
identifier
- the identifier to setpublic java.lang.String getTerm()
public void setTerm(java.lang.String term)
term
- the term to setpublic java.lang.String getOntologyName()
public void setOntologyName(java.lang.String ontologyName)
ontologyName
- the ontologyName to setpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- the description to setpublic java.lang.String getNameSpace()
public void setNameSpace(java.lang.String nameSpace)
nameSpace
- the nameSpace to setpublic boolean isNewRecord()
public void setNewRecord(boolean isNewRecord)
isNewRecord
- the isNewRecord to setpublic boolean hasSameDisplayName(OntologyTerm ontologyTerm)
public static void validateFields(OntologyTerm ontologyTerm) throws MacawException
MacawException
public static java.util.ArrayList<MacawChangeEvent> detectFieldChanges(User user, OntologyTerm originalOntologyTerm, OntologyTerm revisedOntologyTerm)
public java.lang.String getDisplayName()
getDisplayName
in interface Displayable
public java.lang.String getDisplayItemIdentifier()
getDisplayItemIdentifier
in interface Displayable
public java.lang.Object clone()
clone
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |