@Entity public class Category extends Characteristic
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFINITION |
static String |
DEFINITION_IDENTIFIER |
static String |
ID |
static String |
ISMISSING |
static String |
OBSERVABLEFEATURE |
static String |
OBSERVABLEFEATURE_IDENTIFIER |
static String |
VALUECODE |
__TYPE, DESCRIPTION, IDENTIFIER, NAME| Constructor and Description |
|---|
Category() |
Category(Category copyMe)
copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
Category |
create(Entity entity) |
boolean |
equals(Object obj) |
static List<? extends Category> |
find(Database db,
QueryRule... rules)
Shorthand for db.find(Category.class, org.molgenis.framework.db.QueryRule ...
|
static Category |
findById(Database db,
Integer id) |
static Category |
findByIdentifier(Database db,
String identifier) |
Object |
get(String name)
Generic getter.
|
Integer |
getDefinition_Id() |
String |
getDefinition_Identifier()
Get a pretty label Identifier for cross reference Definition to OntologyTerm.Id.
|
OntologyTerm |
getDefinition()
Get the The category that is being measured in a specific way..
|
OntologyTerm |
getDefinition(Database db)
Deprecated.
|
Vector<String> |
getFields() |
Vector<String> |
getFields(boolean skipAutoIds)
Get the names of all public properties of Category.
|
String |
getFields(String sep)
Deprecated.
|
String |
getIdField() |
Object |
getIdValue() |
Boolean |
getIsMissing()
Get the whether this value should be treated as missing value..
|
Boolean |
getIsMissing(Database db)
Deprecated.
|
List<String> |
getLabelFields() |
Integer |
getObservableFeature_Id() |
String |
getObservableFeature_Identifier()
Get a pretty label Identifier for cross reference ObservableFeature to ObservableFeature.Id.
|
ObservableFeature |
getObservableFeature()
Get the The Measurement these permitted values are part of..
|
ObservableFeature |
getObservableFeature(Database db)
Deprecated.
|
String |
getValueCode()
Get the The value used to store this category in ObservedValue.
|
String |
getValueCode(Database db)
Deprecated.
|
String |
getValues(String sep)
Deprecated.
|
String |
getXrefIdFieldName(String fieldName) |
int |
hashCode() |
static Query<? extends Category> |
query(Database db)
Shorthand for db.query(Category.class).
|
void |
set(Entity entity,
boolean strict) |
void |
setDefinition_Id(Integer definition_id)
Set foreign key for field definition.
|
void |
setDefinition_Identifier(String definition_Identifier)
Set a pretty label for cross reference Definition to OntologyTerm.Id.
|
void |
setDefinition(Integer definition_id) |
void |
setDefinition(OntologyTerm definition)
Set the The category that is being measured in a specific way..
|
void |
setIsMissing(Boolean isMissing)
Set the whether this value should be treated as missing value..
|
void |
setObservableFeature_Id(Integer observableFeature_id)
Set foreign key for field observableFeature.
|
void |
setObservableFeature_Identifier(String observableFeature_Identifier)
Set a pretty label for cross reference ObservableFeature to ObservableFeature.Id.
|
void |
setObservableFeature(Integer observableFeature_id) |
void |
setObservableFeature(ObservableFeature observableFeature)
Set the The Measurement these permitted values are part of..
|
void |
setValueCode(String valueCode)
Set the The value used to store this category in ObservedValue.
|
String |
toString() |
String |
toString(boolean verbose) |
void |
validate() |
get__Type, get__Type, get__TypeLabel, get__TypeOptions, getDescription, getDescription, getId, getIdentifier, getIdentifier, getName, getName, getValueMrefValueCollection, getValueMrefValueCollection, set__Type, setDescription, setId, setIdentifier, setName, setValueMrefValueCollectiongetLabelValue, getValues, isObjectRepresentation, isReadonly, set, set, setReadonly, setValuesFromString, string2dateclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetLabelValue, getValues, isReadonly, set, set, setReadonlypublic static final String OBSERVABLEFEATURE
public static final String OBSERVABLEFEATURE_IDENTIFIER
public static final String VALUECODE
public static final String DEFINITION
public static final String DEFINITION_IDENTIFIER
public static final String ISMISSING
public static final String ID
public static Query<? extends Category> query(Database db)
public static List<? extends Category> find(Database db, QueryRule... rules) throws DatabaseException
DatabaseExceptionpublic static Category findById(Database db, Integer id) throws DatabaseException
DatabaseExceptionpublic static Category findByIdentifier(Database db, String identifier) throws DatabaseException
DatabaseExceptionpublic ObservableFeature getObservableFeature()
@Deprecated public ObservableFeature getObservableFeature(Database db)
public void setObservableFeature(ObservableFeature observableFeature)
observableFeature - public void setObservableFeature_Id(Integer observableFeature_id)
public void setObservableFeature(Integer observableFeature_id)
public Integer getObservableFeature_Id()
public String getObservableFeature_Identifier()
public void setObservableFeature_Identifier(String observableFeature_Identifier)
public String getValueCode()
@Deprecated public String getValueCode(Database db)
public void setValueCode(String valueCode)
valueCode - public OntologyTerm getDefinition()
@Deprecated public OntologyTerm getDefinition(Database db)
public void setDefinition(OntologyTerm definition)
definition - public void setDefinition_Id(Integer definition_id)
public void setDefinition(Integer definition_id)
public Integer getDefinition_Id()
public String getDefinition_Identifier()
public void setDefinition_Identifier(String definition_Identifier)
public Boolean getIsMissing()
@Deprecated public Boolean getIsMissing(Database db)
public void setIsMissing(Boolean isMissing)
isMissing - public Object get(String name)
get in interface Entityget in class Characteristicpublic void validate()
throws DatabaseException
validate in interface Entityvalidate in class CharacteristicDatabaseExceptionpublic void set(Entity entity, boolean strict) throws Exception
set in interface Entityset in class CharacteristicExceptionpublic String toString()
toString in class Characteristicpublic String toString(boolean verbose)
toString in class Characteristicpublic Vector<String> getFields(boolean skipAutoIds)
getFields in interface EntitygetFields in class Characteristicpublic Vector<String> getFields()
getFields in interface EntitygetFields in class Characteristicpublic String getIdField()
getIdField in interface EntitygetIdField in class Characteristicpublic List<String> getLabelFields()
getLabelFields in interface EntitygetLabelFields in class Characteristic@Deprecated public String getFields(String sep)
getFields in interface EntitygetFields in class Characteristicpublic Object getIdValue()
getIdValue in interface EntitygetIdValue in class Characteristicpublic String getXrefIdFieldName(String fieldName)
getXrefIdFieldName in interface EntitygetXrefIdFieldName in class Characteristic@Deprecated public String getValues(String sep)
getValues in interface EntitygetValues in class Characteristicpublic Category create(Entity entity) throws Exception
create in interface Entitycreate in class CharacteristicExceptionpublic boolean equals(Object obj)
equals in class Characteristicpublic int hashCode()
hashCode in class CharacteristicCopyright © 2013. All Rights Reserved.