|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.molgenis.util.AbstractEntity
org.molgenis.omx.observ.Protocol_Features
public class Protocol_Features
Protocol_Features: Link table for many-to-many relationship 'Protocol.Features'..
| Field Summary | |
|---|---|
static String |
AUTOID
|
static String |
FEATURES
|
static String |
FEATURES_IDENTIFIER
|
static String |
PROTOCOL
|
static String |
PROTOCOL_IDENTIFIER
|
| Constructor Summary | |
|---|---|
Protocol_Features()
|
|
Protocol_Features(Protocol_Features copyMe)
copy constructor |
|
| Method Summary | |
|---|---|
Protocol_Features |
create(Tuple tuple)
|
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(Tuple tuple,
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()
|
| Methods inherited from class org.molgenis.util.AbstractEntity |
|---|
get__Type, get__TypeLabel, get__TypeOptions, getLabelValue, getValues, isObjectRepresentation, isReadonly, set__Type, set, set, setReadonly, setValuesFromString, string2date |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public 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
| Constructor Detail |
|---|
public Protocol_Features()
public Protocol_Features(Protocol_Features copyMe)
throws Exception
Exception| Method Detail |
|---|
public static Query<? extends Protocol_Features> query(Database db)
public static List<? extends Protocol_Features> find(Database db,
QueryRule... rules)
throws DatabaseException
DatabaseException
public static Protocol_Features findByAutoid(Database db,
Integer autoid)
throws DatabaseException
DatabaseException
public 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 Object get(String name)
public void validate()
throws DatabaseException
DatabaseException
public void set(Tuple tuple,
boolean strict)
throws Exception
Exceptionpublic String toString()
toString in class Objectpublic String toString(boolean verbose)
public Vector<String> getFields(boolean skipAutoIds)
public Vector<String> getFields()
public String getIdField()
public List<String> getLabelFields()
@Deprecated public String getFields(String sep)
public Object getIdValue()
public String getXrefIdFieldName(String fieldName)
@Deprecated public String getValues(String sep)
getValues in interface EntitygetValues in class AbstractEntity
public Protocol_Features create(Tuple tuple)
throws Exception
Exceptionpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||