|
||||||||
| 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.DBMMetaProperty
public class DBMMetaProperty
The DBMMetaProperty class represents meta-property objects of the DB-MAIN repository.
| Field Summary | |
|---|---|
static char |
BOO_ATT
Constant of field type: Boolean type. |
static char |
CHAR_ATT
Constant of field type: Character type. |
static char |
FLOAT_ATT
Constant of field type: Real type. |
static int |
MODIF_MP
Constant of field function: Updatable meta-property. |
static int |
MULTI_MP
Constant of field function: Multivalued meta-property. |
static char |
NUM_ATT
Constant of field type: Integer type. |
static int |
PREDEF_MP
Constant of field function: Meta-property with predefined values. |
static int |
SYSTEM_MP
Constant of field function: System meta-property. |
static char |
VARCHAR_ATT
Constant of field type: String type. |
| 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 | |
|---|---|
DBMMetaProperty(int id)
Creates a new instance of the DBMMetaProperty class representing the meta-property identified by id and the current project in DB-MAIN. |
|
DBMMetaProperty(int id,
long sysid)
Creates a new instance of the DBMMetaProperty class representing the meta-property identified by id and sysid in the DB-MAIN repository. |
|
| Method Summary | |
|---|---|
void |
deleteMetaProperty()
Deletes the meta-property of the DB-MAIN repository represented by the current DBMMetaProperty instance. |
int |
getFunction()
Returns the function of the current meta-property. |
DBMMetaObject |
getMetaObject()
Returns the meta-object of the current meta-property. |
char |
getType()
Returns the type of the current meta-property. |
java.lang.String |
getTypeName()
Returns the type constant name of the current meta-property. |
boolean |
isFunctionConstant(int cst)
Returns the constant cst value in the function of the current meta-property. |
void |
removeMetaObject()
Removes the meta-object attached to the current meta-property in the DB-MAIN repository. |
void |
setFunction(int val)
Updates the value of function in the current meta-property in the DB-MAIN repository. |
void |
setFunctionConstant(int cst,
boolean val)
Updates the constant cst value of function in the currentmeta-property in the DB-MAIN repository. |
void |
setType(char val)
Updates the value of type in the current meta-property 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 |
| Field Detail |
|---|
public static final char CHAR_ATT
public static final char VARCHAR_ATT
public static final char NUM_ATT
public static final char BOO_ATT
public static final char FLOAT_ATT
public static final int SYSTEM_MP
public static final int MODIF_MP
public static final int PREDEF_MP
public static final int MULTI_MP
| Constructor Detail |
|---|
public DBMMetaProperty(int id,
long sysid)
id - the object identifier of a meta-property.sysid - the system identifier of a meta-property.public DBMMetaProperty(int id)
id - the object identifier of a meta-property.| Method Detail |
|---|
public char getType()
public java.lang.String getTypeName()
public void setType(char val)
val - the new char value of the field Type.public int getFunction()
public boolean isFunctionConstant(int cst)
cst - a constant of the field function.
public void setFunction(int val)
val - the new int value of the field Function.
public void setFunctionConstant(int cst,
boolean val)
cst - a constant of the field Function.val - the new boolean value of the constant cst in the field Function.public void deleteMetaProperty()
public DBMMetaObject getMetaObject()
public void removeMetaObject()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||