|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectPersistentObject
org.modelsphere.jack.baseDb.db.DbObject
org.modelsphere.jack.baseDb.db.DbSemanticalObject
org.modelsphere.sms.db.DbSMSSemanticalObject
org.modelsphere.sms.db.DbSMSConstraint
org.modelsphere.sms.or.db.DbORConstraint
org.modelsphere.sms.or.db.DbORPrimaryUnique
public abstract class DbORPrimaryUnique
Direct subclass(es)/subinterface(s) : DbORAPrimaryUnique, DbIBMPrimaryUnique, DbINFPrimaryUnique, DbGEPrimaryUnique.
Composites : none.
Components : DbSMSObjectImport.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.modelsphere.jack.baseDb.db.DbObject |
---|
DbObject.ComponentIterator |
Field Summary | |
---|---|
static MetaRelationN |
fAssociationDependencies
|
static MetaRelationN |
fAssociationReferences
|
static MetaRelationN |
fColumns
|
static MetaRelation1 |
fIndex
|
static MetaField |
fPrimary
|
static MetaClass |
metaClass
|
Fields inherited from class org.modelsphere.sms.db.DbSMSSemanticalObject |
---|
fObjectImports, fSourceLinks, fSubCopies, fSuperCopy, fTargetLinks, fUmlConstraints, fUmlStereotype |
Fields inherited from class org.modelsphere.jack.baseDb.db.DbSemanticalObject |
---|
fAdminAccessList, fAlias, fDescription, fName, fPhysicalName, fWriteAccessList |
Fields inherited from class org.modelsphere.jack.baseDb.db.DbObject |
---|
ACCESS_GRANTED, ACCESS_NOT_GRANTED, fComponents, fComposite, fCreationTime, fModificationTime, fUdfValues, fValidationStatus, LONG_FORM, SHORT_FORM, VALIDATION_ERROR, VALIDATION_OK, VALIDATION_WARNING, writeAccess |
Constructor Summary | |
---|---|
DbORPrimaryUnique()
Parameter-less constructor. |
|
DbORPrimaryUnique(DbObject composite)
Creates an instance of DbORPrimaryUnique. |
Method Summary | |
---|---|
void |
addToAssociationDependencies(DbORAssociationEnd value)
Adds an element to the list of dependencies associated to a DbORPrimaryUnique's instance. |
void |
addToColumns(DbORColumn value)
Adds an element to the list of columns associated to a DbORPrimaryUnique's instance. |
DbRelationN |
getAssociationDependencies()
Gets the list of dependencies associated to a DbORPrimaryUnique's instance. |
DbRelationN |
getAssociationReferences()
Gets the list of referenced bys associated to a DbORPrimaryUnique's instance. |
DbRelationN |
getColumns()
Gets the list of columns associated to a DbORPrimaryUnique's instance. |
DbORIndex |
getIndex()
Gets the index object associated to a DbORPrimaryUnique's instance. |
java.lang.Boolean |
getPrimary()
Deprecated. use isPrimary() method instead |
javax.swing.Icon |
getSemanticalIcon(int form)
|
static void |
initMeta()
For internal use only. |
boolean |
isPrimary()
Tells whether a DbORPrimaryUnique's instance is primary or not. |
void |
removeFromAssociationDependencies(DbORAssociationEnd value)
Removes an element from the list of dependencies associated to a DbORPrimaryUnique's instance. |
void |
removeFromColumns(DbORColumn value)
Removes an element from the list of columns associated to a DbORPrimaryUnique's instance. |
void |
set(MetaField metaField,
java.lang.Object value)
|
void |
set(MetaRelationN relation,
DbObject neighbor,
int op)
|
void |
setAssociationDependencies(DbORAssociationEnd value,
int op)
Adds an element to or removes an element from the list of dependencies associated to a DbORPrimaryUnique's instance. |
void |
setColumns(DbORColumn value,
int op)
Adds an element to or removes an element from the list of columns associated to a DbORPrimaryUnique's instance. |
void |
setIndex(DbORIndex value)
Sets the index object associated to a DbORPrimaryUnique's instance. |
void |
setPrimary(java.lang.Boolean value)
Sets the "primary" property of a DbORPrimaryUnique's instance. |
Methods inherited from class org.modelsphere.sms.or.db.DbORConstraint |
---|
getSecurityMask |
Methods inherited from class org.modelsphere.sms.db.DbSMSSemanticalObject |
---|
addToSourceLinks, addToTargetLinks, addToUmlConstraints, getObjectImports, getSourceLinks, getSubCopies, getSuperCopy, getTargetLinks, getUmlConstraints, getUmlStereotype, removeFromSourceLinks, removeFromTargetLinks, removeFromUmlConstraints, setSourceLinks, setSuperCopy, setTargetLinks, setUmlConstraints, setUmlStereotype |
Methods inherited from class org.modelsphere.jack.baseDb.db.DbSemanticalObject |
---|
findComponentByPhysicalName, getAdminAccessList, getAlias, getDescription, getName, getPhysicalName, getWriteAccessList, matches, setAlias, setDescription, setName, setPhysicalName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final MetaField fPrimary
public static final MetaRelationN fAssociationDependencies
public static final MetaRelationN fAssociationReferences
public static final MetaRelation1 fIndex
public static final MetaRelationN fColumns
public static final MetaClass metaClass
Constructor Detail |
---|
public DbORPrimaryUnique()
public DbORPrimaryUnique(DbObject composite) throws DbException
composite
- the object which will contain the newly-created instance
DbException
Method Detail |
---|
public static void initMeta()
public final javax.swing.Icon getSemanticalIcon(int form) throws DbException
getSemanticalIcon
in class DbObject
form
- int
DbException
public final void setPrimary(java.lang.Boolean value) throws DbException
value
- the "primary" property
DbException
public final void setAssociationDependencies(DbORAssociationEnd value, int op) throws DbException
value
- an element to be added to or removed from the list.op
- Either Db.ADD_TO_RELN or Db.REMOVE_FROM_RELN
DbException
public final void addToAssociationDependencies(DbORAssociationEnd value) throws DbException
value
- the element to be added.
DbException
public final void removeFromAssociationDependencies(DbORAssociationEnd value) throws DbException
value
- the element to be removed.
DbException
public final void setIndex(DbORIndex value) throws DbException
value
- the index object to be associated
DbException
public final void setColumns(DbORColumn value, int op) throws DbException
value
- an element to be added to or removed from the list.op
- Either Db.ADD_TO_RELN or Db.REMOVE_FROM_RELN
DbException
public final void addToColumns(DbORColumn value) throws DbException
value
- the element to be added.
DbException
public final void removeFromColumns(DbORColumn value) throws DbException
value
- the element to be removed.
DbException
public void set(MetaField metaField, java.lang.Object value) throws DbException
set
in class DbORConstraint
DbException
public void set(MetaRelationN relation, DbObject neighbor, int op) throws DbException
set
in class DbORConstraint
DbException
public final java.lang.Boolean getPrimary() throws DbException
DbException
public final boolean isPrimary() throws DbException
DbException
public final DbRelationN getAssociationDependencies() throws DbException
DbException
public final DbRelationN getAssociationReferences() throws DbException
DbException
public final DbORIndex getIndex() throws DbException
DbException
public final DbRelationN getColumns() throws DbException
DbException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |