org.molgenis.omx.auth
Class MolgenisGroup

java.lang.Object
  extended by org.molgenis.util.AbstractEntity
      extended by org.molgenis.omx.auth.MolgenisRole
          extended by org.molgenis.omx.auth.MolgenisGroup
All Implemented Interfaces:
Serializable, Autoid, Identifiable, Entity

@Entity
public class MolgenisGroup
extends MolgenisRole

MolgenisGroup: .

Author:
MOLGENIS generator
See Also:
Serialized Form

Field Summary
static String ID
           
 
Fields inherited from class org.molgenis.omx.auth.MolgenisRole
__TYPE, IDENTIFIER, NAME
 
Constructor Summary
MolgenisGroup()
           
MolgenisGroup(MolgenisGroup copyMe)
          copy constructor
 
Method Summary
 MolgenisGroup create(Tuple tuple)
           
 boolean equals(Object obj)
           
static List<? extends MolgenisGroup> find(Database db, QueryRule... rules)
          Shorthand for db.find(MolgenisGroup.class, org.molgenis.framework.db.QueryRule ...
static MolgenisGroup findById(Database db, Integer id)
           
static MolgenisGroup findByIdentifier(Database db, String identifier)
           
static MolgenisGroup findByName(Database db, String name)
           
 Object get(String name)
          Generic getter.
 Vector<String> getFields()
           
 Vector<String> getFields(boolean skipAutoIds)
          Get the names of all public properties of MolgenisGroup.
 String getFields(String sep)
          Deprecated. 
 String getIdField()
           
 Object getIdValue()
           
 List<String> getLabelFields()
           
 String getValues(String sep)
          Deprecated. 
 String getXrefIdFieldName(String fieldName)
           
 int hashCode()
           
static Query<? extends MolgenisGroup> query(Database db)
          Shorthand for db.query(MolgenisGroup.class).
 void set(Tuple tuple, boolean strict)
           
 String toString()
           
 String toString(boolean verbose)
           
 void validate()
           
 
Methods inherited from class org.molgenis.omx.auth.MolgenisRole
get__Type, get__Type, get__TypeLabel, get__TypeOptions, getId, getIdentifier, getIdentifier, getName, getName, set__Type, setId, setIdentifier, setName
 
Methods inherited from class org.molgenis.util.AbstractEntity
getLabelValue, getValues, isObjectRepresentation, isReadonly, set, set, setReadonly, setValuesFromString, string2date
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.molgenis.util.Entity
getLabelValue, getValues, isReadonly, set, set, setReadonly
 

Field Detail

ID

public static final String ID
See Also:
Constant Field Values
Constructor Detail

MolgenisGroup

public MolgenisGroup()

MolgenisGroup

public MolgenisGroup(MolgenisGroup copyMe)
              throws Exception
copy constructor

Throws:
Exception
Method Detail

query

public static Query<? extends MolgenisGroup> query(Database db)
Shorthand for db.query(MolgenisGroup.class).


find

public static List<? extends MolgenisGroup> find(Database db,
                                                 QueryRule... rules)
                                          throws DatabaseException
Shorthand for db.find(MolgenisGroup.class, org.molgenis.framework.db.QueryRule ... rules).

Throws:
DatabaseException

findById

public static MolgenisGroup findById(Database db,
                                     Integer id)
                              throws DatabaseException
Throws:
DatabaseException

findByIdentifier

public static MolgenisGroup findByIdentifier(Database db,
                                             String identifier)
                                      throws DatabaseException
Throws:
DatabaseException

findByName

public static MolgenisGroup findByName(Database db,
                                       String name)
                                throws DatabaseException
Throws:
DatabaseException

get

public Object get(String name)
Generic getter. Get the property by using the name.

Specified by:
get in interface Entity
Overrides:
get in class MolgenisRole

validate

public void validate()
              throws DatabaseException
Specified by:
validate in interface Entity
Overrides:
validate in class MolgenisRole
Throws:
DatabaseException

set

public void set(Tuple tuple,
                boolean strict)
         throws Exception
Specified by:
set in interface Entity
Overrides:
set in class MolgenisRole
Throws:
Exception

toString

public String toString()
Overrides:
toString in class MolgenisRole

toString

public String toString(boolean verbose)
Overrides:
toString in class MolgenisRole

getFields

public Vector<String> getFields(boolean skipAutoIds)
Get the names of all public properties of MolgenisGroup.

Specified by:
getFields in interface Entity
Overrides:
getFields in class MolgenisRole

getFields

public Vector<String> getFields()
Specified by:
getFields in interface Entity
Overrides:
getFields in class MolgenisRole

getIdField

public String getIdField()
Specified by:
getIdField in interface Entity
Overrides:
getIdField in class MolgenisRole

getLabelFields

public List<String> getLabelFields()
Specified by:
getLabelFields in interface Entity
Overrides:
getLabelFields in class MolgenisRole

getFields

@Deprecated
public String getFields(String sep)
Deprecated. 

Specified by:
getFields in interface Entity
Overrides:
getFields in class MolgenisRole

getIdValue

public Object getIdValue()
Specified by:
getIdValue in interface Entity
Overrides:
getIdValue in class MolgenisRole

getXrefIdFieldName

public String getXrefIdFieldName(String fieldName)
Specified by:
getXrefIdFieldName in interface Entity
Overrides:
getXrefIdFieldName in class MolgenisRole

getValues

@Deprecated
public String getValues(String sep)
Deprecated. 

Specified by:
getValues in interface Entity
Overrides:
getValues in class MolgenisRole

create

public MolgenisGroup create(Tuple tuple)
                     throws Exception
Specified by:
create in interface Entity
Overrides:
create in class MolgenisRole
Throws:
Exception

equals

public boolean equals(Object obj)
Overrides:
equals in class MolgenisRole

hashCode

public int hashCode()
Overrides:
hashCode in class MolgenisRole


Copyright © 2013. All Rights Reserved.