|
com.im.df/1 5.8 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.im.df.util.CTFavourite
public final class CTFavourite
Chemical terms favourite
| Field Summary | |
|---|---|
static int |
POPULARITY_DEFAULT
Medium (default) importance of template |
static int |
POPULARITY_MAX
Often used template - will be in top of the list when sorted by popularity |
static int |
POPULARITY_MIN
Less frequent (important) template |
| Constructor Summary | |
|---|---|
CTFavourite(Class<? extends DFFieldDataTypeCapability> type,
String displayName,
String ct)
|
|
CTFavourite(Class<? extends DFFieldDataTypeCapability> type,
String displayName,
String expr,
int popularity)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getDisplayName()
Get the display name of the CT favourite |
String |
getExpression()
Get the expression of the chemical terms favourite |
int |
getPopularity()
Get a value, how frequent (popular) is this favourite. |
Class<? extends DFFieldDataTypeCapability> |
getType()
Expected default return type - one of the DFFieldDataTypeCapability
subinterfaces. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int POPULARITY_MIN
public static final int POPULARITY_DEFAULT
public static final int POPULARITY_MAX
| Constructor Detail |
|---|
public CTFavourite(Class<? extends DFFieldDataTypeCapability> type,
String displayName,
String ct)
public CTFavourite(Class<? extends DFFieldDataTypeCapability> type,
String displayName,
String expr,
int popularity)
| Method Detail |
|---|
public Class<? extends DFFieldDataTypeCapability> getType()
DFFieldDataTypeCapability
subinterfaces.
public String getDisplayName()
public String getExpression()
public int getPopularity()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
com.im.df/1 5.8 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||