@Entity public class MolgenisEntity extends AbstractEntity implements Entity, Autoid
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASSNAME |
static java.lang.String |
ENTITY_NAME |
static java.lang.String |
ID |
static java.lang.String |
NAME |
static java.lang.String |
TYPE_ |
| Constructor and Description |
|---|
MolgenisEntity() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Object |
get(java.lang.String name)
Generic getter.
|
java.lang.Iterable<java.lang.String> |
getAttributeNames() |
java.lang.String |
getClassName()
Get the Full name of the entity.
|
EntityMetaData |
getEntityMetaData() |
java.lang.String |
getEntityName() |
java.lang.Integer |
getId()
Get the automatically generated internal id, only for internal use..
|
java.lang.Integer |
getIdValue() |
java.util.List<java.lang.String> |
getLabelAttributeNames() |
java.lang.String |
getName()
Get the Name of the entity.
|
java.lang.String |
getType()
Get the Type of the entity.
|
int |
hashCode() |
void |
set(Entity entity,
boolean strict) |
void |
set(java.lang.String attributeName,
java.lang.Object value) |
void |
setClassName(java.lang.String className)
Set the Full name of the entity.
|
void |
setId(java.lang.Integer id)
Set the automatically generated internal id, only for internal use..
|
void |
setName(java.lang.String name)
Set the Name of the entity.
|
void |
setType(java.lang.String type_)
Set the Type of the entity.
|
java.lang.String |
toString() |
java.lang.String |
toString(boolean verbose) |
getBoolean, getDate, getDouble, getEntities, getEntities, getEntity, getEntity, getInt, getIntList, getLabelValue, getList, getLong, getString, getTimestamp, getUtilDate, isObjectRepresentation, set, setValuesFromStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetBoolean, getDate, getDouble, getEntities, getEntities, getEntity, getEntity, getInt, getIntList, getLabelValue, getList, getLong, getString, getTimestamp, getUtilDate, setpublic static final java.lang.String ENTITY_NAME
public static final java.lang.String ID
public static final java.lang.String NAME
public static final java.lang.String TYPE_
public static final java.lang.String CLASSNAME
public java.lang.String getEntityName()
public java.lang.Integer getId()
public void setId(java.lang.Integer id)
public java.lang.String getName()
public void setName(java.lang.String name)
name - public java.lang.String getType()
public void setType(java.lang.String type_)
type_ - public java.lang.String getClassName()
public void setClassName(java.lang.String className)
className - public java.lang.Object get(java.lang.String name)
public java.lang.String toString()
toString in class AbstractEntitypublic java.lang.String toString(boolean verbose)
public java.lang.Integer getIdValue()
getIdValue in interface Entitypublic java.lang.Iterable<java.lang.String> getAttributeNames()
getAttributeNames in interface Entitypublic java.util.List<java.lang.String> getLabelAttributeNames()
getLabelAttributeNames in interface Entitypublic void set(java.lang.String attributeName,
java.lang.Object value)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic EntityMetaData getEntityMetaData()
getEntityMetaData in interface EntityCopyright © 2014. All Rights Reserved.