@Entity public class Preference extends Object implements DataModel
SearchBoostField
.
Boost field keys are prefixed with "BOOST_". e.g. "BOOST_PRINCIPAL_INVESTIGATOR" will be the boost key for the principal investigator field while the default value key will be "PRINCIPAL_INVESTIGATOR"
Constructor and Description |
---|
Preference() |
Preference(Account account,
String key,
String value) |
Modifier and Type | Method and Description |
---|---|
Account |
getAccount() |
long |
getId() |
String |
getKey() |
String |
getValue() |
void |
setAccount(Account account) |
void |
setId(int id) |
void |
setKey(String key) |
void |
setValue(String value) |
PreferenceInfo |
toDataTransferObject() |
public void setId(int id)
public Account getAccount()
public void setAccount(Account account)
public String getKey()
public void setKey(String key)
public String getValue()
public void setValue(String value)
public PreferenceInfo toDataTransferObject()
toDataTransferObject
in interface DataModel
Copyright © 2017. All rights reserved.