|
||||||||
| 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.DBMDataObject
com.dbmain.jidbm.DBMAttribute
com.dbmain.jidbm.DBMSimpleAttribute
public class DBMSimpleAttribute
The DBMSimpleAttribute class represents simple attribute 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 |
DATE_ATT
Constant of field type: Date type. |
static char |
FLOAT_ATT
Constant of field type: Real type. |
static char |
INDEX_ATT
Constant of field type: Index type. |
static char |
NUM_ATT
Constant of field type: Integer type. |
static char |
OBJECT_ATT
Constant of field type: Object type. |
static char |
SEQ_ATT
Constant of field type: Sequence type. |
static char |
USER_ATT
Constant of field type: User-defined type. |
static char |
VARCHAR_ATT
Constant of field type: String type. |
| Fields inherited from class com.dbmain.jidbm.DBMAttribute |
|---|
ARRAY_ATT, BAG_ATT, LIST_ATT, N_CARD, SET_ATT, UARRAY_ATT, ULIST_ATT |
| 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 | |
|---|---|
DBMSimpleAttribute(int id)
Creates a new instance of the DBMSimpleAttribute class representing the simple attribute identified by id and the current project in DB-MAIN. |
|
DBMSimpleAttribute(int id,
long sysid)
Creates a new instance of the DBMSimpleAttribute class representing the simple attribute identified by id and sysid in the DB-MAIN repository. |
|
| Method Summary | |
|---|---|
void |
deleteSimpleAttribute()
Deletes the simple attribute of the DB-MAIN repository represented by the current DBMSimpleAttribute instance. |
DBMDataObject |
getDataObject()
Returns the data object of the current simple attribute. |
short |
getDecimalNumber()
Returns the decimal number of the current simple attribute. |
int |
getLength()
Returns the length of the current simple attribute. |
char |
getType()
Returns the type of the current simple attribute. |
java.lang.String |
getTypeName()
Returns the type constant name of the current simple attribute. |
boolean |
isRecyclable()
Returns the recyclable of the current simple attribute. |
boolean |
isStable()
Returns the stable of the current simple attribute. |
void |
removeDataObject()
Removes the data object attached to the current simple attribute in the DB-MAIN repository. |
void |
setDecimalNumber(short val)
Updates the value of decimal number in the current simple attribute in the DB-MAIN repository. |
void |
setLength(int val)
Updates the value of length in the current simple attribute in the DB-MAIN repository. |
void |
setRecyclable(boolean val)
Updates the value of recyclable in the current simple attribute in the DB-MAIN repository. |
void |
setStable(boolean val)
Updates the value of stable in the current simple attribute in the DB-MAIN repository. |
void |
setType(char val)
Updates the value of type in the current simple attribute 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 DATE_ATT
public static final char BOO_ATT
public static final char FLOAT_ATT
public static final char OBJECT_ATT
public static final char USER_ATT
public static final char SEQ_ATT
public static final char INDEX_ATT
| Constructor Detail |
|---|
public DBMSimpleAttribute(int id,
long sysid)
id - the object identifier of a simple attribute.sysid - the system identifier of a simple attribute.public DBMSimpleAttribute(int id)
id - the object identifier of a simple attribute.| 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 boolean isStable()
public void setStable(boolean val)
val - the new boolean value of the field Stable.public boolean isRecyclable()
public void setRecyclable(boolean val)
val - the new boolean value of the field Recyclable.public int getLength()
public void setLength(int val)
val - the new int value of the field Length.public short getDecimalNumber()
public void setDecimalNumber(short val)
val - the new short value of the field DecimalNumber.public void deleteSimpleAttribute()
public DBMDataObject getDataObject()
public void removeDataObject()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||