|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.meta2project.storage.DBEntity
public abstract class DBEntity
Field Summary |
---|
Fields inherited from interface org.meta2project.model.AnnotatedEntity |
---|
CASCADE, CASCADE_DELETE_VALUE, COMMENT, MAX_CARD, MIN_CARD, MODEL_URI, TITLE |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getAnnotation(java.lang.String name)
Get annotation value by this name. |
java.util.List<java.lang.String> |
getAnnotationNames()
Get annotation names for this entity. |
protected abstract EntityCache |
getEntityCache()
|
java.lang.String |
getFullName()
Get the full name of the entity. |
long |
getId()
|
java.lang.String |
getName()
Get the short name of the entity |
Ontology |
getOntology()
Get the entity's ontology |
int |
hashCode()
|
void |
putAnnotation(java.lang.String name,
java.lang.String value)
Put annotation value. |
void |
setName(java.lang.String name)
Set short name |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.meta2project.model.NamedEntity |
---|
delete |
Method Detail |
---|
public long getId()
public Ontology getOntology()
NamedEntity
getOntology
in interface NamedEntity
public java.lang.String getName()
NamedEntity
getName
in interface NamedEntity
protected abstract EntityCache getEntityCache()
public void setName(java.lang.String name)
NamedEntity
setName
in interface NamedEntity
name
- new short namepublic java.lang.String getFullName()
NamedEntity
getFullName
in interface NamedEntity
public java.util.List<java.lang.String> getAnnotationNames()
AnnotatedEntity
getAnnotationNames
in interface AnnotatedEntity
public java.lang.String getAnnotation(java.lang.String name)
AnnotatedEntity
getAnnotation
in interface AnnotatedEntity
name
- annotation name
public void putAnnotation(java.lang.String name, java.lang.String value)
AnnotatedEntity
putAnnotation
in interface AnnotatedEntity
name
- annotation namevalue
- annotation value; value will be removed if nullpublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |