org.modelsphere.sms.db
Class DbSMSAssociationGo

java.lang.Object
  extended by PersistentObject
      extended by org.modelsphere.jack.baseDb.db.DbObject
          extended by org.modelsphere.sms.db.DbSMSGraphicalObject
              extended by org.modelsphere.sms.db.DbSMSLineGo
                  extended by org.modelsphere.sms.db.DbSMSAssociationGo
All Implemented Interfaces:
DbGraphicalObjectI
Direct Known Subclasses:
DbOOAssociationGo, DbORAssociationGo

public abstract class DbSMSAssociationGo
extends DbSMSLineGo

Direct subclass(es)/subinterface(s) : DbOOAssociationGo, DbORAssociationGo.
Composites : DbSMSDiagram.
Components : none.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.modelsphere.jack.baseDb.db.DbObject
DbObject.ComponentIterator
 
Field Summary
static MetaRelation1 fAssociation
           
static MetaField fCenterOffset
           
static MetaField fMulti1Offset
           
static MetaField fMulti2Offset
           
static MetaField fRole1Offset
           
static MetaField fRole2Offset
           
static MetaField fUml1Offset
           
static MetaField fUml2Offset
           
static MetaClass metaClass
           
 
Fields inherited from class org.modelsphere.sms.db.DbSMSLineGo
DEFAULT_POLY, fBackEndGo, fDashStyle, fFrontEndGo, fHighlight, fLineColor, fPolyline, fRightAngle
 
Fields inherited from class org.modelsphere.sms.db.DbSMSGraphicalObject
DEFAULT_RECT, fAutoFit, fBackEndLineGos, fFrontEndLineGos, fRectangle, fStyle
 
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
DbSMSAssociationGo()
          Parameter-less constructor.
DbSMSAssociationGo(DbSMSDiagram composite, DbSMSGraphicalObject frontEndGo, DbSMSGraphicalObject backEndGo, DbSMSAssociation association)
          Creates an instance of DbSMSAssociationGo.
 
Method Summary
 DbSMSAssociation getAssociation()
          Gets the association object associated to a DbSMSAssociationGo's instance.
 java.awt.Point getCenterOffset()
          Gets the "center offset" of a DbSMSAssociationGo's instance.
 java.awt.Point getMulti1Offset()
          Gets the "multi1 offset" of a DbSMSAssociationGo's instance.
 java.awt.Point getMulti2Offset()
          Gets the "multi2 offset" of a DbSMSAssociationGo's instance.
 java.awt.Point getRole1Offset()
          Gets the "role1 offset" of a DbSMSAssociationGo's instance.
 java.awt.Point getRole2Offset()
          Gets the "role2 offset" of a DbSMSAssociationGo's instance.
 DbObject getSO()
           
 java.awt.Point getUml1Offset()
          Gets the "uml1 offset" of a DbSMSAssociationGo's instance.
 java.awt.Point getUml2Offset()
          Gets the "uml2 offset" of a DbSMSAssociationGo's instance.
static void initMeta()
          For internal use only.
 void resetLabelsPosition()
           
 void set(MetaField metaField, java.lang.Object value)
           
 void set(MetaRelationN relation, DbObject neighbor, int op)
           
 void setAssociation(DbSMSAssociation value)
          Sets the association object associated to a DbSMSAssociationGo's instance.
 void setCenterOffset(java.awt.Point value)
          Sets the "center offset" property of a DbSMSAssociationGo's instance.
 void setMulti1Offset(java.awt.Point value)
          Sets the "multi1 offset" property of a DbSMSAssociationGo's instance.
 void setMulti2Offset(java.awt.Point value)
          Sets the "multi2 offset" property of a DbSMSAssociationGo's instance.
 void setRole1Offset(java.awt.Point value)
          Sets the "role1 offset" property of a DbSMSAssociationGo's instance.
 void setRole2Offset(java.awt.Point value)
          Sets the "role2 offset" property of a DbSMSAssociationGo's instance.
 void setUml1Offset(java.awt.Point value)
          Sets the "uml1 offset" property of a DbSMSAssociationGo's instance.
 void setUml2Offset(java.awt.Point value)
          Sets the "uml2 offset" property of a DbSMSAssociationGo's instance.
 
Methods inherited from class org.modelsphere.sms.db.DbSMSLineGo
getBackEndGo, getDashStyle, getFrontEndGo, getHighlight, getLineColor, getPolyline, getRightAngle, isRightAngle, setBackEndGo, setDashStyle, setFrontEndGo, setHighlight, setLineColor, setPolyline, setRightAngle
 
Methods inherited from class org.modelsphere.sms.db.DbSMSGraphicalObject
find, findStyle, getAutoFit, getBackEndLineGos, getFrontEndLineGos, getGraphicPeer, getMetaField, getRectangle, getStyle, isAutoFit, isDeleteCascadeLineGo, setAutoFit, setGraphicPeer, setRectangle, setStyle
 
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, getMetaClass, getMinCard, getModificationTime, getName, getNbNeighbors, getNextTs, getOld, getProject, getSemanticalIcon, getSemanticalName, getTransStatus, getTs, getUDF, getUdfValues, getValidationStatus, hasAdminAccess, hasChanged, hasField, hasWriteAccess, isAddedAndRemoved, isAlive, isDeletable, isDescendingFrom, isHugeRelN, load, load, matches, reinsert, remove, removeDbRefreshListener, save, set, setComposite, setMatchingObject, setModificationTime, setName, setRelationNN, setRelationNN, setValidationStatus, toString, valuesAreEqual
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fAssociation

public static final MetaRelation1 fAssociation

fMulti1Offset

public static final MetaField fMulti1Offset

fMulti2Offset

public static final MetaField fMulti2Offset

fRole1Offset

public static final MetaField fRole1Offset

fRole2Offset

public static final MetaField fRole2Offset

fCenterOffset

public static final MetaField fCenterOffset

fUml1Offset

public static final MetaField fUml1Offset

fUml2Offset

public static final MetaField fUml2Offset

metaClass

public static final MetaClass metaClass
Constructor Detail

DbSMSAssociationGo

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


DbSMSAssociationGo

public DbSMSAssociationGo(DbSMSDiagram composite,
                          DbSMSGraphicalObject frontEndGo,
                          DbSMSGraphicalObject backEndGo,
                          DbSMSAssociation association)
                   throws DbException
Creates an instance of DbSMSAssociationGo.

Parameters:
composite - org.modelsphere.sms.db.DbSMSDiagram
frontendgo - org.modelsphere.sms.db.DbSMSGraphicalObject
backendgo - org.modelsphere.sms.db.DbSMSGraphicalObject
association - org.modelsphere.sms.db.DbSMSAssociation
Throws:
DbException
Method Detail

initMeta

public static void initMeta()
For internal use only.


getSO

public DbObject getSO()
               throws DbException
Specified by:
getSO in class DbSMSGraphicalObject
Returns:
dbobject
Throws:
DbException

resetLabelsPosition

public void resetLabelsPosition()
                         throws DbException
Overrides:
resetLabelsPosition in class DbSMSLineGo
Throws:
DbException

setAssociation

public final void setAssociation(DbSMSAssociation value)
                          throws DbException
Sets the association object associated to a DbSMSAssociationGo's instance.

Parameters:
value - the association object to be associated
Throws:
DbException

setMulti1Offset

public final void setMulti1Offset(java.awt.Point value)
                           throws DbException
Sets the "multi1 offset" property of a DbSMSAssociationGo's instance.

Parameters:
value - the "multi1 offset" property
Throws:
DbException

setMulti2Offset

public final void setMulti2Offset(java.awt.Point value)
                           throws DbException
Sets the "multi2 offset" property of a DbSMSAssociationGo's instance.

Parameters:
value - the "multi2 offset" property
Throws:
DbException

setRole1Offset

public final void setRole1Offset(java.awt.Point value)
                          throws DbException
Sets the "role1 offset" property of a DbSMSAssociationGo's instance.

Parameters:
value - the "role1 offset" property
Throws:
DbException

setRole2Offset

public final void setRole2Offset(java.awt.Point value)
                          throws DbException
Sets the "role2 offset" property of a DbSMSAssociationGo's instance.

Parameters:
value - the "role2 offset" property
Throws:
DbException

setCenterOffset

public final void setCenterOffset(java.awt.Point value)
                           throws DbException
Sets the "center offset" property of a DbSMSAssociationGo's instance.

Parameters:
value - the "center offset" property
Throws:
DbException

setUml1Offset

public final void setUml1Offset(java.awt.Point value)
                         throws DbException
Sets the "uml1 offset" property of a DbSMSAssociationGo's instance.

Parameters:
value - the "uml1 offset" property
Throws:
DbException

setUml2Offset

public final void setUml2Offset(java.awt.Point value)
                         throws DbException
Sets the "uml2 offset" property of a DbSMSAssociationGo's instance.

Parameters:
value - the "uml2 offset" property
Throws:
DbException

set

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

set

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

getAssociation

public final DbSMSAssociation getAssociation()
                                      throws DbException
Gets the association object associated to a DbSMSAssociationGo's instance.

Returns:
the association object
Throws:
DbException

getMulti1Offset

public final java.awt.Point getMulti1Offset()
                                     throws DbException
Gets the "multi1 offset" of a DbSMSAssociationGo's instance.

Returns:
the "multi1 offset"
Throws:
DbException

getMulti2Offset

public final java.awt.Point getMulti2Offset()
                                     throws DbException
Gets the "multi2 offset" of a DbSMSAssociationGo's instance.

Returns:
the "multi2 offset"
Throws:
DbException

getRole1Offset

public final java.awt.Point getRole1Offset()
                                    throws DbException
Gets the "role1 offset" of a DbSMSAssociationGo's instance.

Returns:
the "role1 offset"
Throws:
DbException

getRole2Offset

public final java.awt.Point getRole2Offset()
                                    throws DbException
Gets the "role2 offset" of a DbSMSAssociationGo's instance.

Returns:
the "role2 offset"
Throws:
DbException

getCenterOffset

public final java.awt.Point getCenterOffset()
                                     throws DbException
Gets the "center offset" of a DbSMSAssociationGo's instance.

Returns:
the "center offset"
Throws:
DbException

getUml1Offset

public final java.awt.Point getUml1Offset()
                                   throws DbException
Gets the "uml1 offset" of a DbSMSAssociationGo's instance.

Returns:
the "uml1 offset"
Throws:
DbException

getUml2Offset

public final java.awt.Point getUml2Offset()
                                   throws DbException
Gets the "uml2 offset" of a DbSMSAssociationGo's instance.

Returns:
the "uml2 offset"
Throws:
DbException


Open ModelSphere 2007. All Rights Reserved.