org.modelsphere.sms.or.db
Class DbORAssociation

java.lang.Object
  extended by PersistentObject
      extended by org.modelsphere.jack.baseDb.db.DbObject
          extended by org.modelsphere.jack.baseDb.db.DbSemanticalObject
              extended by org.modelsphere.sms.db.DbSMSSemanticalObject
                  extended by org.modelsphere.sms.db.DbSMSAbstractRelationship
                      extended by org.modelsphere.sms.db.DbSMSAssociation
                          extended by org.modelsphere.sms.or.db.DbORAssociation

public final class DbORAssociation
extends DbSMSAssociation

Direct subclass(es)/subinterface(s) : none.
Composites : DbORDataModel.
Components : DbORAssociationEnd, DbSMSObjectImport.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.modelsphere.jack.baseDb.db.DbObject
DbObject.ComponentIterator
 
Field Summary
static MetaField fIsArc
           
static MetaField fIsIdentifying
           
static MetaClass metaClass
           
 
Fields inherited from class org.modelsphere.sms.db.DbSMSAssociation
fAssociationGos, fToFrontEnd
 
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
DbORAssociation()
          Parameter-less constructor.
DbORAssociation(DbORAbsTable frontEndClassifier, SMSMultiplicity frontEndMult, DbORAbsTable backEndClassifier, SMSMultiplicity backEndMult)
          Creates an instance of DbORAssociation.
 
Method Summary
 DbORAssociationEnd getArcEnd()
           
 DbORAssociationEnd getBackEnd()
           
 DbORAssociationEnd getFrontEnd()
           
 java.lang.Boolean getIsArc()
          Deprecated. use isIsArc() method instead
 java.lang.Boolean getIsIdentifying()
          Deprecated. use isIsIdentifying() method instead
 MetaClass getMetaClass()
           
 int getMinCard(MetaRelationship metaRel)
           
static void initMeta()
          For internal use only.
 boolean isIsArc()
          Tells whether a DbORAssociation's instance is isArc or not.
 boolean isIsIdentifying()
          Tells whether a DbORAssociation's instance is isIdentifying or not.
 void set(MetaField metaField, java.lang.Object value)
           
 void set(MetaRelationN relation, DbObject neighbor, int op)
           
 void setIsArc(java.lang.Boolean value)
          Sets the "is an arc" property of a DbORAssociation's instance.
 void setIsIdentifying(java.lang.Boolean value)
          Sets the "is identifying" property of a DbORAssociation's instance.
 
Methods inherited from class org.modelsphere.sms.db.DbSMSAssociation
getAssociationGos, getToFrontEnd, isToFrontEnd, setToFrontEnd
 
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 org.modelsphere.jack.baseDb.db.DbObject
addDbRefreshListener, addDbRefreshListener, basicReinsert, basicSet, basicSet, buildFullNameString, buildFullNameString, componentTree, componentTree, componentTree, copyComponent, createComponent, createComponent, createRAMRelN, deepCopy, deepCopy, doDeleteAction, findComponentByName, findComponentByName, findMatchingObject, generateEDCTimestamp, get, get, get, getAccordingToStatus, getComponents, getComposite, getCompositeOfType, getCreationTime, getDb, getDependencyRelations, getEDCTimestamp, getFullDisplayName, getId, getMatchingObject, getModificationTime, getNbNeighbors, getNextTs, getOld, getProject, getSemanticalIcon, getSemanticalName, getTransStatus, getTs, getUDF, getUdfValues, getValidationStatus, hasAdminAccess, hasChanged, hasField, hasWriteAccess, isAddedAndRemoved, isAlive, isDeletable, isDescendingFrom, isHugeRelN, load, load, reinsert, remove, removeDbRefreshListener, save, set, setComposite, setMatchingObject, setModificationTime, setRelationNN, setRelationNN, setValidationStatus, toString, valuesAreEqual
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fIsIdentifying

public static final MetaField fIsIdentifying

fIsArc

public static final MetaField fIsArc

metaClass

public static final MetaClass metaClass
Constructor Detail

DbORAssociation

public DbORAssociation()
Parameter-less constructor. Required by Java Beans Conventions.


DbORAssociation

public DbORAssociation(DbORAbsTable frontEndClassifier,
                       SMSMultiplicity frontEndMult,
                       DbORAbsTable backEndClassifier,
                       SMSMultiplicity backEndMult)
                throws DbException
Creates an instance of DbORAssociation.

Parameters:
frontendclassifier - org.modelsphere.sms.or.db.DbORAbsTable
frontendmult - org.modelsphere.sms.db.srtypes.SMSMultiplicity
backendclassifier - org.modelsphere.sms.or.db.DbORAbsTable
backendmult - org.modelsphere.sms.db.srtypes.SMSMultiplicity
Throws:
DbException
Method Detail

initMeta

public static void initMeta()
For internal use only.


getFrontEnd

public final DbORAssociationEnd getFrontEnd()
                                     throws DbException
Returns:
role
Throws:
DbException

getBackEnd

public final DbORAssociationEnd getBackEnd()
                                    throws DbException
Returns:
role
Throws:
DbException

getArcEnd

public final DbORAssociationEnd getArcEnd()
                                   throws DbException
Returns:
role
Throws:
DbException

getMinCard

public final int getMinCard(MetaRelationship metaRel)
                     throws DbException
Overrides:
getMinCard in class DbObject
Parameters:
metarel - org.modelsphere.jack.baseDb.meta.MetaRelationship
Returns:
int
Throws:
DbException

setIsIdentifying

public final void setIsIdentifying(java.lang.Boolean value)
                            throws DbException
Sets the "is identifying" property of a DbORAssociation's instance.

Parameters:
value - the "is identifying" property
Throws:
DbException

setIsArc

public final void setIsArc(java.lang.Boolean value)
                    throws DbException
Sets the "is an arc" property of a DbORAssociation's instance.

Parameters:
value - the "is an arc" property
Throws:
DbException

set

public void set(MetaField metaField,
                java.lang.Object value)
         throws DbException
Overrides:
set in class DbSMSAssociation
Throws:
DbException

set

public void set(MetaRelationN relation,
                DbObject neighbor,
                int op)
         throws DbException
Overrides:
set in class DbSMSAssociation
Throws:
DbException

getIsIdentifying

public final java.lang.Boolean getIsIdentifying()
                                         throws DbException
Deprecated. use isIsIdentifying() method instead

Gets the "is identifying" property's Boolean value of a DbORAssociation's instance.

Returns:
the "is identifying" property's Boolean value
Throws:
DbException

isIsIdentifying

public final boolean isIsIdentifying()
                              throws DbException
Tells whether a DbORAssociation's instance is isIdentifying or not.

Returns:
boolean
Throws:
DbException

getIsArc

public final java.lang.Boolean getIsArc()
                                 throws DbException
Deprecated. use isIsArc() method instead

Gets the "is an arc" property's Boolean value of a DbORAssociation's instance.

Returns:
the "is an arc" property's Boolean value
Throws:
DbException

isIsArc

public final boolean isIsArc()
                      throws DbException
Tells whether a DbORAssociation's instance is isArc or not.

Returns:
boolean
Throws:
DbException

getMetaClass

public MetaClass getMetaClass()
Specified by:
getMetaClass in class DbObject


Open ModelSphere 2007. All Rights Reserved.