org.modelsphere.sms.db
Class DbSMSLink

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.DbSMSLink

public final class DbSMSLink
extends DbSMSAbstractRelationship

Direct subclass(es)/subinterface(s) : none.
Composites : DbSMSLinkModel.
Components : DbSMSObjectImport.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.modelsphere.jack.baseDb.db.DbObject
DbObject.ComponentIterator
 
Field Summary
static MetaRelationN fLinkGos
           
static MetaRelationN fSourceObjects
           
static MetaRelationN fTargetObjects
           
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
DbSMSLink()
          Parameter-less constructor.
DbSMSLink(DbObject composite)
          Creates an instance of DbSMSLink.
 
Method Summary
 void addToSourceObjects(DbSMSSemanticalObject value)
          Adds an element to the list of source objects associated to a DbSMSLink's instance.
 void addToTargetObjects(DbSMSSemanticalObject value)
          Adds an element to the list of target objects associated to a DbSMSLink's instance.
 DbRelationN getLinkGos()
          Gets the list of link graphical objects associated to a DbSMSLink's instance.
 MetaClass getMetaClass()
           
 DbRelationN getSourceObjects()
          Gets the list of source objects associated to a DbSMSLink's instance.
 DbRelationN getTargetObjects()
          Gets the list of target objects associated to a DbSMSLink's instance.
static void initMeta()
          For internal use only.
 void removeFromSourceObjects(DbSMSSemanticalObject value)
          Removes an element from the list of source objects associated to a DbSMSLink's instance.
 void removeFromTargetObjects(DbSMSSemanticalObject value)
          Removes an element from the list of target objects associated to a DbSMSLink's instance.
 void set(MetaField metaField, java.lang.Object value)
           
 void set(MetaRelationN relation, DbObject neighbor, int op)
           
 void setSourceObjects(DbSMSSemanticalObject value, int op)
          Adds an element to or removes an element from the list of source objects associated to a DbSMSLink's instance.
 void setTargetObjects(DbSMSSemanticalObject value, int op)
          Adds an element to or removes an element from the list of target objects associated to a DbSMSLink's instance.
 
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, getMinCard, 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

fTargetObjects

public static final MetaRelationN fTargetObjects

fSourceObjects

public static final MetaRelationN fSourceObjects

fLinkGos

public static final MetaRelationN fLinkGos

metaClass

public static final MetaClass metaClass
Constructor Detail

DbSMSLink

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


DbSMSLink

public DbSMSLink(DbObject composite)
          throws DbException
Creates an instance of DbSMSLink.

Parameters:
composite - the object which will contain the newly-created instance
Throws:
DbException
Method Detail

initMeta

public static void initMeta()
For internal use only.


setTargetObjects

public final void setTargetObjects(DbSMSSemanticalObject value,
                                   int op)
                            throws DbException
Adds an element to or removes an element from the list of target objects associated to a DbSMSLink's instance.

Parameters:
value - an element to be added to or removed from the list.
op - Either Db.ADD_TO_RELN or Db.REMOVE_FROM_RELN
Throws:
DbException

addToTargetObjects

public final void addToTargetObjects(DbSMSSemanticalObject value)
                              throws DbException
Adds an element to the list of target objects associated to a DbSMSLink's instance.

Parameters:
value - the element to be added.
Throws:
DbException

removeFromTargetObjects

public final void removeFromTargetObjects(DbSMSSemanticalObject value)
                                   throws DbException
Removes an element from the list of target objects associated to a DbSMSLink's instance.

Parameters:
value - the element to be removed.
Throws:
DbException

setSourceObjects

public final void setSourceObjects(DbSMSSemanticalObject value,
                                   int op)
                            throws DbException
Adds an element to or removes an element from the list of source objects associated to a DbSMSLink's instance.

Parameters:
value - an element to be added to or removed from the list.
op - Either Db.ADD_TO_RELN or Db.REMOVE_FROM_RELN
Throws:
DbException

addToSourceObjects

public final void addToSourceObjects(DbSMSSemanticalObject value)
                              throws DbException
Adds an element to the list of source objects associated to a DbSMSLink's instance.

Parameters:
value - the element to be added.
Throws:
DbException

removeFromSourceObjects

public final void removeFromSourceObjects(DbSMSSemanticalObject value)
                                   throws DbException
Removes an element from the list of source objects associated to a DbSMSLink's instance.

Parameters:
value - the element to be removed.
Throws:
DbException

set

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

set

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

getTargetObjects

public final DbRelationN getTargetObjects()
                                   throws DbException
Gets the list of target objects associated to a DbSMSLink's instance.

Returns:
the list of target objects.
Throws:
DbException

getSourceObjects

public final DbRelationN getSourceObjects()
                                   throws DbException
Gets the list of source objects associated to a DbSMSLink's instance.

Returns:
the list of source objects.
Throws:
DbException

getLinkGos

public final DbRelationN getLinkGos()
                             throws DbException
Gets the list of link graphical objects associated to a DbSMSLink's instance.

Returns:
the list of link graphical objects.
Throws:
DbException

getMetaClass

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


Open ModelSphere 2007. All Rights Reserved.