public class Protocol_Subprotocols extends AbstractEntity
| Modifier and Type | Field and Description |
|---|---|
static String |
AUTOID |
static String |
PROTOCOL |
static String |
PROTOCOL_IDENTIFIER |
static String |
SUBPROTOCOLS |
static String |
SUBPROTOCOLS_IDENTIFIER |
| Constructor and Description |
|---|
Protocol_Subprotocols() |
Protocol_Subprotocols(Protocol_Subprotocols copyMe)
copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
Protocol_Subprotocols |
create(Entity entity) |
boolean |
equals(Object obj) |
static List<? extends Protocol_Subprotocols> |
find(Database db,
QueryRule... rules)
Shorthand for db.find(Protocol_Subprotocols.class, org.molgenis.framework.db.QueryRule ...
|
static Protocol_Subprotocols |
findByAutoid(Database db,
Integer autoid) |
static Protocol_Subprotocols |
findBySubprotocolsProtocol(Database db,
Integer subprotocols,
Integer protocol) |
Object |
get(String name)
Generic getter.
|
Integer |
getAutoid()
Get the automatic id field to ensure ordering of mrefs.
|
Vector<String> |
getFields() |
Vector<String> |
getFields(boolean skipAutoIds)
Get the names of all public properties of Protocol_Subprotocols.
|
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.
|
Integer |
getSubprotocols_Id() |
String |
getSubprotocols_Identifier()
Get a pretty label Identifier for cross reference Subprotocols to Protocol.Id.
|
Protocol |
getSubprotocols()
Get the .
|
Protocol |
getSubprotocols(Database db)
Deprecated.
|
String |
getValues(String sep)
Deprecated.
|
String |
getXrefIdFieldName(String fieldName) |
int |
hashCode() |
static Query<? extends Protocol_Subprotocols> |
query(Database db)
Shorthand for db.query(Protocol_Subprotocols.class).
|
void |
set(Entity entity,
boolean strict) |
void |
setAutoid(Integer autoid)
Set the automatic id field to ensure ordering of mrefs.
|
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 .
|
void |
setSubprotocols_Id(Integer subprotocols_id)
Set foreign key for field subprotocols.
|
void |
setSubprotocols_Identifier(String subprotocols_Identifier)
Set a pretty label for cross reference Subprotocols to Protocol.Id.
|
void |
setSubprotocols(Integer subprotocols_id) |
void |
setSubprotocols(Protocol subprotocols)
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 SUBPROTOCOLS
public static final String SUBPROTOCOLS_IDENTIFIER
public static final String PROTOCOL
public static final String PROTOCOL_IDENTIFIER
public Protocol_Subprotocols()
public Protocol_Subprotocols(Protocol_Subprotocols copyMe) throws Exception
Exceptionpublic static Query<? extends Protocol_Subprotocols> query(Database db)
public static List<? extends Protocol_Subprotocols> find(Database db, QueryRule... rules) throws DatabaseException
DatabaseExceptionpublic static Protocol_Subprotocols findByAutoid(Database db, Integer autoid) throws DatabaseException
DatabaseExceptionpublic static Protocol_Subprotocols findBySubprotocolsProtocol(Database db, Integer subprotocols, Integer protocol) throws DatabaseException
DatabaseExceptionpublic Integer getAutoid()
public void setAutoid(Integer autoid)
autoid - public Protocol getSubprotocols()
@Deprecated public Protocol getSubprotocols(Database db)
public void setSubprotocols(Protocol subprotocols)
subprotocols - public void setSubprotocols_Id(Integer subprotocols_id)
public void setSubprotocols(Integer subprotocols_id)
public Integer getSubprotocols_Id()
public String getSubprotocols_Identifier()
public void setSubprotocols_Identifier(String subprotocols_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_Subprotocols create(Entity entity) throws Exception
ExceptionCopyright © 2013. All Rights Reserved.