org.modelsphere.sms.db
Class DbSMSGraphicalObject

java.lang.Object
  extended by PersistentObject
      extended by org.modelsphere.jack.baseDb.db.DbObject
          extended by org.modelsphere.sms.db.DbSMSGraphicalObject
All Implemented Interfaces:
DbGraphicalObjectI
Direct Known Subclasses:
DbSMSClassifierGo, DbSMSCommonItemGo, DbSMSFreeGraphicGo, DbSMSImageGo, DbSMSLineGo, DbSMSNoticeGo, DbSMSPackageGo, DbSMSStampGo, DbSMSUserTextGo

public abstract class DbSMSGraphicalObject
extends DbObject
implements DbGraphicalObjectI

Direct subclass(es)/subinterface(s) : DbSMSImageGo, DbSMSStampGo, DbSMSClassifierGo, DbSMSLineGo, DbSMSUserTextGo, DbSMSPackageGo, DbSMSFreeGraphicGo, DbSMSCommonItemGo, DbSMSNoticeGo.
Composites : none.
Components : none.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.modelsphere.jack.baseDb.db.DbObject
DbObject.ComponentIterator
 
Field Summary
static java.awt.Rectangle DEFAULT_RECT
           
static MetaField fAutoFit
           
static MetaRelationN fBackEndLineGos
           
static MetaRelationN fFrontEndLineGos
           
static MetaField fRectangle
           
static MetaRelation1 fStyle
           
static MetaClass metaClass
           
 
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
DbSMSGraphicalObject()
          Parameter-less constructor.
DbSMSGraphicalObject(DbObject composite)
          Creates an instance of DbSMSGraphicalObject.
 
Method Summary
 java.lang.Object find(MetaField metaField)
           
 DbSMSStyle findStyle()
           
 java.lang.Boolean getAutoFit()
          Deprecated. use isAutoFit() method instead
 DbRelationN getBackEndLineGos()
          Gets the list of back end line graphical objects associated to a DbSMSGraphicalObject's instance.
 DbRelationN getFrontEndLineGos()
          Gets the list of front end lines graphical objects associated to a DbSMSGraphicalObject's instance.
 java.lang.Object getGraphicPeer()
           
 MetaField getMetaField(java.lang.String metaField)
           
 java.awt.Rectangle getRectangle()
          Gets the "rectangle" of a DbSMSGraphicalObject's instance.
abstract  DbObject getSO()
           
 DbSMSStyle getStyle()
          Gets the style object associated to a DbSMSGraphicalObject's instance.
static void initMeta()
          For internal use only.
 boolean isAutoFit()
          Tells whether a DbSMSGraphicalObject's instance is autoFit or not.
 boolean isDeleteCascadeLineGo()
           
 void set(MetaField metaField, java.lang.Object value)
           
 void set(MetaRelationN relation, DbObject neighbor, int op)
           
 void setAutoFit(java.lang.Boolean value)
          Sets the "auto fit" property of a DbSMSGraphicalObject's instance.
 void setGraphicPeer(java.lang.Object graphicPeer)
          Change the peer for this graphical object.
 void setRectangle(java.awt.Rectangle value)
          Sets the "rectangle" property of a DbSMSGraphicalObject's instance.
 void setStyle(DbSMSStyle style)
           
 
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

fRectangle

public static final MetaField fRectangle

fAutoFit

public static final MetaField fAutoFit

fStyle

public static final MetaRelation1 fStyle

fFrontEndLineGos

public static final MetaRelationN fFrontEndLineGos

fBackEndLineGos

public static final MetaRelationN fBackEndLineGos

metaClass

public static final MetaClass metaClass

DEFAULT_RECT

public static final java.awt.Rectangle DEFAULT_RECT
Constructor Detail

DbSMSGraphicalObject

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


DbSMSGraphicalObject

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

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

initMeta

public static void initMeta()
For internal use only.


findStyle

public final DbSMSStyle findStyle()
                           throws DbException
Returns:
style
Throws:
DbException

setStyle

public void setStyle(DbSMSStyle style)
              throws DbException
Parameters:
style - org.modelsphere.sms.db.DbSMSStyle
Throws:
DbException

getGraphicPeer

public final java.lang.Object getGraphicPeer()
Specified by:
getGraphicPeer in interface DbGraphicalObjectI
Returns:
object

setGraphicPeer

public final void setGraphicPeer(java.lang.Object graphicPeer)
Description copied from interface: DbGraphicalObjectI
Change the peer for this graphical object.

Specified by:
setGraphicPeer in interface DbGraphicalObjectI
Parameters:
graphicpeer - java.lang.Object

getSO

public abstract DbObject getSO()
                        throws DbException
Returns:
dbobject
Throws:
DbException

find

public java.lang.Object find(MetaField metaField)
                      throws DbException
Parameters:
metafield - org.modelsphere.jack.baseDb.meta.MetaField
Returns:
object
Throws:
DbException

getMetaField

public final MetaField getMetaField(java.lang.String metaField)
                             throws DbException
Parameters:
metafield - java.lang.String
Returns:
metafield
Throws:
DbException

isDeleteCascadeLineGo

public boolean isDeleteCascadeLineGo()
                              throws DbException
Returns:
boolean
Throws:
DbException

setRectangle

public final void setRectangle(java.awt.Rectangle value)
                        throws DbException
Sets the "rectangle" property of a DbSMSGraphicalObject's instance.

Parameters:
value - java.awt.Rectangle
Throws:
DbException

setAutoFit

public final void setAutoFit(java.lang.Boolean value)
                      throws DbException
Sets the "auto fit" property of a DbSMSGraphicalObject's instance.

Parameters:
value - the "auto fit" property
Throws:
DbException

set

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

set

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

getRectangle

public final java.awt.Rectangle getRectangle()
                                      throws DbException
Gets the "rectangle" of a DbSMSGraphicalObject's instance.

Returns:
the "rectangle"
Throws:
DbException

getAutoFit

public final java.lang.Boolean getAutoFit()
                                   throws DbException
Deprecated. use isAutoFit() method instead

Gets the "auto fit" property's Boolean value of a DbSMSGraphicalObject's instance.

Returns:
the "auto fit" property's Boolean value
Throws:
DbException

isAutoFit

public final boolean isAutoFit()
                        throws DbException
Tells whether a DbSMSGraphicalObject's instance is autoFit or not.

Returns:
boolean
Throws:
DbException

getStyle

public final DbSMSStyle getStyle()
                          throws DbException
Gets the style object associated to a DbSMSGraphicalObject's instance.

Returns:
the style object
Throws:
DbException

getFrontEndLineGos

public final DbRelationN getFrontEndLineGos()
                                     throws DbException
Gets the list of front end lines graphical objects associated to a DbSMSGraphicalObject's instance.

Returns:
the list of front end lines graphical objects.
Throws:
DbException

getBackEndLineGos

public final DbRelationN getBackEndLineGos()
                                    throws DbException
Gets the list of back end line graphical objects associated to a DbSMSGraphicalObject's instance.

Returns:
the list of back end line graphical objects.
Throws:
DbException


Open ModelSphere 2007. All Rights Reserved.