|
Twease | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.cornell.med.icb.synonyms.entities.EmptySynonym
public class EmptySynonym
The EmptySynonym object, for persistence via JPA.
| Field Summary | |
|---|---|
static String[] |
CREATE_INDEX_COMMANDS
Commands required to index this data. |
static String[] |
DROP_INDEX_COMMANDS
Commands required to remove the indexes for this data. |
| Constructor Summary | |
|---|---|
EmptySynonym(String dictionaryWordVal,
String appliesToVal,
String sourceVal)
General constructor for creating a new synonym. |
|
| Method Summary | |
|---|---|
String |
getAppliesTo()
Getter for AppliesTo. |
String |
getDictionaryWord()
Getter for DictionaryWord. |
Long |
getId()
Getter for Id. |
Date |
getImportDate()
Getter for ImportDate. |
String |
getSource()
Getter for Source. |
boolean |
isEquivalent(EmptySynonym emptySynonym)
Returns true if this synonym and the suggested on are the same, ignoring the id and the import date. |
String |
toString()
Human readable version of this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String[] DROP_INDEX_COMMANDS
public static final String[] CREATE_INDEX_COMMANDS
| Constructor Detail |
|---|
public EmptySynonym(String dictionaryWordVal,
String appliesToVal,
String sourceVal)
dictionaryWordVal - the dictionary word it applies toappliesToVal - which application this synonym applies
to, or "*" if it apples to any applicationsourceVal - the source of the synonym| Method Detail |
|---|
public Long getId()
public String getDictionaryWord()
public String getAppliesTo()
public String getSource()
public Date getImportDate()
public boolean isEquivalent(EmptySynonym emptySynonym)
emptySynonym - the Synonym to compare to
public String toString()
toString in class Object
|
Twease | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||