|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.dbmain.jidbm.DBMGenericObject
com.dbmain.jidbm.DBMConcreteObject
com.dbmain.jidbm.DBMMetaObject
public class DBMMetaObject
The DBMMetaObject class represents meta-object objects of the DB-MAIN repository.
A meta-object can have several meta-propertys.
| Field Summary |
|---|
| Fields inherited from class com.dbmain.jidbm.DBMGenericObject |
|---|
ALLPARENTS, CLUSTER, CO_ATTRIBUTE, COLLECTION, CONNECTION, CONS_PU, CONS_RES, CONSTRAINT, CONSUMPTION, ELEMENT, ENTITY_TYPE, ENVIRONMENT, ETROUND, ETSHADOW, ETSQUARE, GRAPHCOUPLE, GROUP, HAVESEL, HIDEASSOCIATION, HIDEATT, HIDECTRLFLOW, HIDEEXTEND, HIDEGENACT, HIDEGENUC, HIDEGR, HIDEINCLUDE, HIDENEWADD, HIDENOTE, HIDEOBJFLOW, HIDEPRIMID, HIDEPROD, HIDEPU, HIDESTEREOTYPE, ISASTRAIGHT, LOCK_USED, MARK1, MARK2, MARK3, MARK4, MARK5, MEMBER_CST, META_OBJECT, META_PROPERTY, METH_USED, NN_NOTE, NOTE, PROC_UNIT, PROCESS_TITLE, PROD_SET, RE_ISA, REJECTED, REL_ELEMENT, REL_TYPE, RESOURCE, ROLE, RTROUND, RTSHADOW, RTSQUARE, SCHEMA, SELECT, SHOWTYPEATT, SI_ATTRIBUTE, STATE, SUB_TYPE, SYSTEM, TEXT, TEXT_LINE, UMLCENTER, UMLCENTERDOWN, UMLCENTERUP, UMLLEFTCENTER, UMLLEFTDOWN, UMLLEFTUP, UMLRIGHTCENTER, UMLRIGHTDOWN, UMLRIGHTUP, USER_OBJECT, USER_VIEW, WITHOUT_SELECT |
| Constructor Summary | |
|---|---|
DBMMetaObject(int id)
Creates a new instance of the DBMMetaObject class representing the meta-object identified by id and the current project in DB-MAIN. |
|
DBMMetaObject(int id,
long sysid)
Creates a new instance of the DBMMetaObject class representing the meta-object identified by id and sysid in the DB-MAIN repository. |
|
| Method Summary | |
|---|---|
void |
addFirstMetaProperty(DBMMetaProperty cur)
Adds a first meta-property (cur) to the current meta-object in the DB-MAIN repository. |
void |
addNextMetaProperty(DBMMetaProperty cur,
DBMMetaProperty prev)
Adds a meta-property (cur) following the meta-property (prev) to the current meta-object in the DB-MAIN repository. |
DBMMetaProperty |
createMetaProperty(java.lang.String name,
char type,
int funct,
DBMMetaProperty prev)
Creates a new instance of meta-property attached to the current meta-object in the DB-MAIN repository. |
void |
deleteMetaObject()
Deletes the meta-object of the DB-MAIN repository represented by the current DBMMetaObject instance. |
DBMMetaProperty |
findMetaProperty(java.lang.String name)
Find the meta property of the current meta object that has the specified name. |
DBMMetaProperty |
getFirstMetaProperty()
Returns the first meta-property of the current meta-object in the DB-MAIN repository. |
DBMMetaProperty |
getLastMetaProperty()
Returns the last meta-property of the current meta-object in the DB-MAIN repository. |
DBMMetaProperty |
getNextMetaProperty(DBMMetaProperty cur)
Returns the meta-property (of the current meta-object) that follows the meta-property cur in the DB-MAIN repository. |
DBMMetaProperty |
getPreviousMetaProperty(DBMMetaProperty cur)
Returns the meta-property (of the current meta-object) that precedes the meta-property cur in the DB-MAIN repository. |
DBMProject |
getProject()
Returns the project of the current meta-object. |
short |
getType()
Returns the type of the current meta-object. |
void |
removeMetaProperty()
Removes the list of meta-property attached to the current meta-object in the DB-MAIN repository. |
| Methods inherited from class com.dbmain.jidbm.DBMConcreteObject |
|---|
deleteConcreteObject, getName, getQualifiedName, getSemanticDescription, getShortName, getTechnicalDescription, setName, setSemanticDescription, setShortName, setTechnicalDescription, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DBMMetaObject(int id,
long sysid)
id - the object identifier of a meta-object.sysid - the system identifier of a meta-object.public DBMMetaObject(int id)
id - the object identifier of a meta-object.| Method Detail |
|---|
public short getType()
public void deleteMetaObject()
public DBMMetaProperty createMetaProperty(java.lang.String name,
char type,
int funct,
DBMMetaProperty prev)
name - the value of the field name.type - the value of the field type.funct - the value of the field function.prev - the meta-property after which the created object is inserted.
public DBMMetaProperty getFirstMetaProperty()
public DBMMetaProperty getLastMetaProperty()
public DBMMetaProperty getNextMetaProperty(DBMMetaProperty cur)
cur - the current meta-property.
public DBMMetaProperty getPreviousMetaProperty(DBMMetaProperty cur)
cur - the current meta-property.
public void addFirstMetaProperty(DBMMetaProperty cur)
cur - the added meta-property.
public void addNextMetaProperty(DBMMetaProperty cur,
DBMMetaProperty prev)
cur - the added meta-property.prev - the meta-property after which the meta-property cur is inserted.public void removeMetaProperty()
public DBMProject getProject()
public DBMMetaProperty findMetaProperty(java.lang.String name)
name - the name of the meta property to be find.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||