public class Protocol_Features extends AbstractEntity
| Modifier and Type | Field and Description |
|---|---|
static String |
AUTOID |
static String |
FEATURES |
static String |
FEATURES_IDENTIFIER |
static String |
PROTOCOL |
static String |
PROTOCOL_IDENTIFIER |
| Constructor and Description |
|---|
Protocol_Features() |
Protocol_Features(Protocol_Features copyMe)
copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
Protocol_Features |
create(Entity entity) |
boolean |
equals(Object obj) |
static List<? extends Protocol_Features> |
find(Database db,
QueryRule... rules)
Shorthand for db.find(Protocol_Features.class, org.molgenis.framework.db.QueryRule ...
|
static Protocol_Features |
findByAutoid(Database db,
Integer autoid) |
static Protocol_Features |
findByFeaturesProtocol(Database db,
Integer features,
Integer protocol) |
Object |
get(String name)
Generic getter.
|
Integer |
getAutoid()
Get the automatic id field to ensure ordering of mrefs.
|
Integer |
getFeatures_Id() |
String |
getFeatures_Identifier()
Get a pretty label Identifier for cross reference Features to ObservableFeature.Id.
|
ObservableFeature |
getFeatures()
Get the .
|
ObservableFeature |
getFeatures(Database db)
Deprecated.
|
Vector<String> |
getFields() |
Vector<String> |
getFields(boolean skipAutoIds)
Get the names of all public properties of Protocol_Features.
|
String |
getFields(String sep)
Deprecated.
|
String |
getIdField() |
Object |
getIdValue() |
List<String> |
getLabelFields() |
Integer |
getProtocol_Id() |
String |
getProtocol_Identifier()
Get a pretty label Identifier for cross reference Protocol to Protocol.Id.
|
Protocol |
getProtocol()
Get the .
|
Protocol |
getProtocol(Database db)
Deprecated.
|
String |
getValues(String sep)
Deprecated.
|
String |
getXrefIdFieldName(String fieldName) |
int |
hashCode() |
static Query<? extends Protocol_Features> |
query(Database db)
Shorthand for db.query(Protocol_Features.class).
|
void |
set(Entity entity,
boolean strict) |
void |
setAutoid(Integer autoid)
Set the automatic id field to ensure ordering of mrefs.
|
void |
setFeatures_Id(Integer features_id)
Set foreign key for field features.
|
void |
setFeatures_Identifier(String features_Identifier)
Set a pretty label for cross reference Features to ObservableFeature.Id.
|
void |
setFeatures(Integer features_id) |
void |
setFeatures(ObservableFeature features)
Set the .
|
void |
setProtocol_Id(Integer protocol_id)
Set foreign key for field protocol.
|
void |
setProtocol_Identifier(String protocol_Identifier)
Set a pretty label for cross reference Protocol to Protocol.Id.
|
void |
setProtocol(Integer protocol_id) |
void |
setProtocol(Protocol protocol)
Set the .
|
String |
toString() |
String |
toString(boolean verbose) |
void |
validate() |
get__Type, get__TypeLabel, get__TypeOptions, getLabelValue, getValues, isObjectRepresentation, isReadonly, set__Type, set, set, setReadonly, setValuesFromString, string2datepublic static final String AUTOID
public static final String FEATURES
public static final String FEATURES_IDENTIFIER
public static final String PROTOCOL
public static final String PROTOCOL_IDENTIFIER
public Protocol_Features()
public Protocol_Features(Protocol_Features copyMe) throws Exception
Exceptionpublic static Query<? extends Protocol_Features> query(Database db)
public static List<? extends Protocol_Features> find(Database db, QueryRule... rules) throws DatabaseException
DatabaseExceptionpublic static Protocol_Features findByAutoid(Database db, Integer autoid) throws DatabaseException
DatabaseExceptionpublic static Protocol_Features findByFeaturesProtocol(Database db, Integer features, Integer protocol) throws DatabaseException
DatabaseExceptionpublic Integer getAutoid()
public void setAutoid(Integer autoid)
autoid - public ObservableFeature getFeatures()
@Deprecated public ObservableFeature getFeatures(Database db)
public void setFeatures(ObservableFeature features)
features - public void setFeatures_Id(Integer features_id)
public void setFeatures(Integer features_id)
public Integer getFeatures_Id()
public String getFeatures_Identifier()
public void setFeatures_Identifier(String features_Identifier)
public Protocol getProtocol()
@Deprecated public Protocol getProtocol(Database db)
public void setProtocol(Protocol protocol)
protocol - public void setProtocol_Id(Integer protocol_id)
public void setProtocol(Integer protocol_id)
public Integer getProtocol_Id()
public String getProtocol_Identifier()
public void setProtocol_Identifier(String protocol_Identifier)
public void validate()
throws DatabaseException
DatabaseExceptionpublic String toString(boolean verbose)
public Vector<String> getFields(boolean skipAutoIds)
public String getIdField()
@Deprecated public String getFields(String sep)
public Object getIdValue()
@Deprecated public String getValues(String sep)
getValues in interface EntitygetValues in class AbstractEntitypublic Protocol_Features create(Entity entity) throws Exception
ExceptionCopyright © 2013. All Rights Reserved.