@Entity public class GroupAuthority extends AbstractEntity implements Authority
| Modifier and Type | Field and Description |
|---|---|
static String |
ID |
static String |
MOLGENISGROUP |
static String |
MOLGENISGROUP_ID |
static String |
ROLE |
| Constructor and Description |
|---|
GroupAuthority() |
GroupAuthority(GroupAuthority copyMe)
copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
GroupAuthority |
create(Entity entity) |
boolean |
equals(Object obj) |
static List<? extends GroupAuthority> |
find(Database db,
QueryRule... rules)
Shorthand for db.find(GroupAuthority.class, org.molgenis.framework.db.QueryRule ...
|
static GroupAuthority |
findById(Database db,
Integer id) |
Object |
get(String name)
Generic getter.
|
Vector<String> |
getFields() |
Vector<String> |
getFields(boolean skipAutoIds)
Get the names of all public properties of GroupAuthority.
|
String |
getFields(String sep)
Deprecated.
|
Integer |
getId()
Get the id.
|
String |
getIdField() |
Object |
getIdValue() |
List<String> |
getLabelFields() |
Integer |
getMolgenisGroup_Id() |
MolgenisGroup |
getMolgenisGroup()
Get the molgenisGroup.
|
MolgenisGroup |
getMolgenisGroup(Database db)
Deprecated.
|
String |
getRole()
Get the role.
|
String |
getRole(Database db)
Deprecated.
|
String |
getValues(String sep)
Deprecated.
|
String |
getXrefIdFieldName(String fieldName) |
int |
hashCode() |
static Query<? extends GroupAuthority> |
query(Database db)
Shorthand for db.query(GroupAuthority.class).
|
void |
set(Entity entity,
boolean strict) |
void |
setId(Integer id)
Set the id.
|
void |
setMolgenisGroup_Id(Integer molgenisGroup_id)
Set foreign key for field molgenisGroup.
|
void |
setMolgenisGroup(Integer molgenisGroup_id) |
void |
setMolgenisGroup(MolgenisGroup molgenisGroup)
Set the molgenisGroup.
|
void |
setRole(String role)
Set the role.
|
String |
toString() |
String |
toString(boolean verbose) |
void |
validate() |
get__Type, get__TypeLabel, get__TypeOptions, getLabelValue, getValues, isObjectRepresentation, isReadonly, set__Type, set, set, setReadonly, setValuesFromString, string2dateclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetLabelValue, getValues, isReadonly, set, set, setReadonlypublic static final String ROLE
public static final String ID
public static final String MOLGENISGROUP
public static final String MOLGENISGROUP_ID
public GroupAuthority()
public GroupAuthority(GroupAuthority copyMe) throws Exception
Exceptionpublic static Query<? extends GroupAuthority> query(Database db)
public static List<? extends GroupAuthority> find(Database db, QueryRule... rules) throws DatabaseException
DatabaseExceptionpublic static GroupAuthority findById(Database db, Integer id) throws DatabaseException
DatabaseExceptionpublic String getRole()
@Deprecated public String getRole(Database db)
public void setRole(String role)
public Integer getId()
public void setId(Integer id)
id - public MolgenisGroup getMolgenisGroup()
@Deprecated public MolgenisGroup getMolgenisGroup(Database db)
public void setMolgenisGroup(MolgenisGroup molgenisGroup)
molgenisGroup - public void setMolgenisGroup_Id(Integer molgenisGroup_id)
public void setMolgenisGroup(Integer molgenisGroup_id)
public Integer getMolgenisGroup_Id()
public void validate()
throws DatabaseException
validate in interface EntityDatabaseExceptionpublic String toString(boolean verbose)
public Vector<String> getFields(boolean skipAutoIds)
public String getIdField()
getIdField in interface Entitypublic List<String> getLabelFields()
getLabelFields in interface Entity@Deprecated public String getFields(String sep)
public Object getIdValue()
getIdValue in interface Entitypublic String getXrefIdFieldName(String fieldName)
getXrefIdFieldName in interface Entity@Deprecated public String getValues(String sep)
getValues in interface EntitygetValues in class AbstractEntitypublic GroupAuthority create(Entity entity) throws Exception
Copyright © 2013. All Rights Reserved.