|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface DBMAttributeOwner
The DBMAttributeOwner class represents attribute owner objects of the DB-MAIN repository.
A attribute owner can have several attributes. The attribute instances fall into 2 classes: simple attribute and compound attribute.
| Method Summary | |
|---|---|
void |
addFirstAttribute(DBMAttribute cur)
Adds a first attribute (cur) to the current attribute owner in the DB-MAIN repository. |
void |
addNextAttribute(DBMAttribute cur,
DBMAttribute prev)
Adds a attribute (cur) following the attribute (prev) to the current attribute owner in the DB-MAIN repository. |
DBMAttribute |
copyAttribute(DBMAttribute orig,
DBMAttribute prev)
Copies a instance of attribute attached to the current attribute owner in the DB-MAIN repository. |
DBMCompoundAttribute |
createCompoundAttribute(java.lang.String name,
java.lang.String short_name,
int min_rep,
int max_rep,
char set_type,
DBMSchema schema,
DBMAttribute prev)
Creates a new instance of compound attribute attached to the current attribute owner in the DB-MAIN repository. |
DBMSimpleAttribute |
createSimpleAttribute(java.lang.String name,
java.lang.String short_name,
int min_rep,
int max_rep,
char set_type,
char type,
boolean stable,
boolean recyclable,
int length,
short decim,
DBMSchema schema,
DBMAttribute prev)
Creates a new instance of simple attribute attached to the current attribute owner in the DB-MAIN repository. |
DBMCompoundAttribute |
createUniqueCompoundAttribute(java.lang.String name,
java.lang.String short_name,
int min_rep,
int max_rep,
char set_type,
DBMSchema schema,
DBMAttribute prev)
Creates a new unique instance of compound attribute attached to the current attribute owner in the DB-MAIN repository. |
DBMSimpleAttribute |
createUniqueSimpleAttribute(java.lang.String name,
java.lang.String short_name,
int min_rep,
int max_rep,
char set_type,
char type,
boolean stable,
boolean recyclable,
int length,
short decim,
DBMSchema schema,
DBMAttribute prev)
Creates a new unique instance of simple attribute attached to the current attribute owner in the DB-MAIN repository. |
DBMAttribute |
findAttribute(java.lang.String name)
Returns the attribute that have a specified name in the current attribute owner. |
DBMAttribute |
getFirstAttribute()
Returns the first attribute of the current attribute owner in the DB-MAIN repository. |
DBMCompoundAttribute |
getFirstAttributeCompoundAttribute()
Returns the first compound attribute attribute of the current attribute owner in the DB-MAIN repository. |
DBMSimpleAttribute |
getFirstAttributeSimpleAttribute()
Returns the first simple attribute attribute of the current attribute owner in the DB-MAIN repository. |
DBMAttribute |
getLastAttribute()
Returns the last attribute of the current attribute owner in the DB-MAIN repository. |
DBMCompoundAttribute |
getLastAttributeCompoundAttribute()
Returns the last compound attribute attribute of the current attribute owner in the DB-MAIN repository. |
DBMSimpleAttribute |
getLastAttributeSimpleAttribute()
Returns the last simple attribute attribute of the current attribute owner in the DB-MAIN repository. |
DBMAttribute |
getNextAttribute(DBMAttribute cur)
Returns the attribute (of the current attribute owner) that follows the attribute cur in the DB-MAIN repository. |
DBMCompoundAttribute |
getNextAttributeCompoundAttribute(DBMCompoundAttribute cur)
Returns the compound attribute attribute (of the current attribute owner) that follows the compound attribute cur in the DB-MAIN repository. |
DBMSimpleAttribute |
getNextAttributeSimpleAttribute(DBMSimpleAttribute cur)
Returns the simple attribute attribute (of the current attribute owner) that follows the simple attribute cur in the DB-MAIN repository. |
DBMAttribute |
getPreviousAttribute(DBMAttribute cur)
Returns the attribute (of the current attribute owner) that precedes the attribute cur in the DB-MAIN repository. |
DBMCompoundAttribute |
getPreviousAttributeCompoundAttribute(DBMCompoundAttribute cur)
Returns the compound attribute attribute (of the current attribute owner) that precedes the compound attribute cur in the DB-MAIN repository. |
DBMSimpleAttribute |
getPreviousAttributeSimpleAttribute(DBMSimpleAttribute cur)
Returns the simple attribute attribute (of the current attribute owner) that precedes the simple attribute cur in the DB-MAIN repository. |
void |
removeAttribute()
Removes the list of attribute attached to the current attribute owner in the DB-MAIN repository. |
DBMAttributeOwner |
unprefixAttribute(boolean show)
Unprefix the attribute names of the current owner. |
| Method Detail |
|---|
DBMSimpleAttribute createSimpleAttribute(java.lang.String name,
java.lang.String short_name,
int min_rep,
int max_rep,
char set_type,
char type,
boolean stable,
boolean recyclable,
int length,
short decim,
DBMSchema schema,
DBMAttribute prev)
name - the value of the field name.short_name - the value of the field short name.min_rep - the value of the field minimum cardinality.max_rep - the value of the field maximum cardinality.set_type - the value of the field set type.type - the value of the field type.stable - the value of the field stable.recyclable - the value of the field recyclable.length - the value of the field length.decim - the value of the field decimal number.schema - the schema linked to the created object.prev - the attribute after which the created object is inserted.
DBMCompoundAttribute createCompoundAttribute(java.lang.String name,
java.lang.String short_name,
int min_rep,
int max_rep,
char set_type,
DBMSchema schema,
DBMAttribute prev)
name - the value of the field name.short_name - the value of the field short name.min_rep - the value of the field minimum cardinality.max_rep - the value of the field maximum cardinality.set_type - the value of the field set type.schema - the schema linked to the created object.prev - the attribute after which the created object is inserted.
DBMSimpleAttribute createUniqueSimpleAttribute(java.lang.String name,
java.lang.String short_name,
int min_rep,
int max_rep,
char set_type,
char type,
boolean stable,
boolean recyclable,
int length,
short decim,
DBMSchema schema,
DBMAttribute prev)
name - the value of the field name.short_name - the value of the field short name.min_rep - the value of the field minimum cardinality.max_rep - the value of the field maximum cardinality.set_type - the value of the field set type.type - the value of the field type.stable - the value of the field stable.recyclable - the value of the field recyclable.length - the value of the field length.decim - the value of the field decimal number.schema - the schema linked to the created object.prev - the attribute after which the created object is inserted.
DBMCompoundAttribute createUniqueCompoundAttribute(java.lang.String name,
java.lang.String short_name,
int min_rep,
int max_rep,
char set_type,
DBMSchema schema,
DBMAttribute prev)
name - the value of the field name.short_name - the value of the field short name.min_rep - the value of the field minimum cardinality.max_rep - the value of the field maximum cardinality.set_type - the value of the field set type.schema - the schema linked to the created object.prev - the attribute after which the created object is inserted.
DBMAttribute copyAttribute(DBMAttribute orig,
DBMAttribute prev)
orig - the attribute to be copied.prev - the attribute after which the copied object is inserted.
DBMAttribute getFirstAttribute()
DBMAttribute getLastAttribute()
DBMAttribute getNextAttribute(DBMAttribute cur)
cur - the current attribute.
DBMAttribute getPreviousAttribute(DBMAttribute cur)
cur - the current attribute.
DBMSimpleAttribute getFirstAttributeSimpleAttribute()
DBMSimpleAttribute getLastAttributeSimpleAttribute()
DBMSimpleAttribute getNextAttributeSimpleAttribute(DBMSimpleAttribute cur)
cur - the current simple attribute.
DBMSimpleAttribute getPreviousAttributeSimpleAttribute(DBMSimpleAttribute cur)
cur - the current simple attribute.
DBMCompoundAttribute getFirstAttributeCompoundAttribute()
DBMCompoundAttribute getLastAttributeCompoundAttribute()
DBMCompoundAttribute getNextAttributeCompoundAttribute(DBMCompoundAttribute cur)
cur - the current compound attribute.
DBMCompoundAttribute getPreviousAttributeCompoundAttribute(DBMCompoundAttribute cur)
cur - the current compound attribute.
void addFirstAttribute(DBMAttribute cur)
cur - the added attribute.
void addNextAttribute(DBMAttribute cur,
DBMAttribute prev)
cur - the added attribute.prev - the attribute after which the attribute cur is inserted.void removeAttribute()
DBMAttributeOwner unprefixAttribute(boolean show)
show - indicate if the transformation dialogs must be displayed.
DBMAttribute findAttribute(java.lang.String name)
name - the name of the attribute that must be found.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||