org.modelsphere.sms.db
Class DbSMSStereotype

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

public final class DbSMSStereotype
extends DbSemanticalObject

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


Nested Class Summary
 
Nested classes/interfaces inherited from class org.modelsphere.jack.baseDb.db.DbObject
DbObject.ComponentIterator
 
Field Summary
static MetaField fBuiltIn
           
static MetaField fIcon
           
static MetaField fMetaClassName
           
static MetaRelationN fStereotypedObjects
           
static MetaRelationN fSubStereotypes
           
static MetaRelationN fSuperStereotypes
           
static MetaClass metaClass
           
 
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
DbSMSStereotype()
          Parameter-less constructor.
DbSMSStereotype(DbObject composite)
          Creates an instance of DbSMSStereotype.
 
Method Summary
 void addToSubStereotypes(DbSMSStereotype value)
          Adds an element to the list of substereotypes associated to a DbSMSStereotype's instance.
 void addToSuperStereotypes(DbSMSStereotype value)
          Adds an element to the list of superstereotypes associated to a DbSMSStereotype's instance.
 java.lang.Boolean getBuiltIn()
          Deprecated. use isBuiltIn() method instead
 java.awt.Image getIcon()
          Gets the "icon" of a DbSMSStereotype's instance.
 MetaClass getMetaClass()
           
 java.lang.String getMetaClassName()
          Gets the "applicable on" property of a DbSMSStereotype's instance.
 DbRelationN getStereotypedObjects()
          Gets the list of stereotyped objects associated to a DbSMSStereotype's instance.
 MetaClass getStereotypeMetaClass()
           
 DbRelationN getSubStereotypes()
          Gets the list of substereotypes associated to a DbSMSStereotype's instance.
 DbRelationN getSuperStereotypes()
          Gets the list of superstereotypes associated to a DbSMSStereotype's instance.
static void initMeta()
          For internal use only.
 boolean isBuiltIn()
          Tells whether a DbSMSStereotype's instance is builtIn or not.
 boolean isDeletable()
           
 void removeFromSubStereotypes(DbSMSStereotype value)
          Removes an element from the list of substereotypes associated to a DbSMSStereotype's instance.
 void removeFromSuperStereotypes(DbSMSStereotype value)
          Removes an element from the list of superstereotypes associated to a DbSMSStereotype's instance.
 void set(MetaField metaField, java.lang.Object value)
           
 void set(MetaRelationN relation, DbObject neighbor, int op)
           
 void setBuiltIn(java.lang.Boolean value)
          Sets the "built in?"
 void setIcon(java.awt.Image value)
          Sets the "icon" property of a DbSMSStereotype's instance.
 void setMetaClassName(java.lang.String value)
          Sets the "applicable on" property of a DbSMSStereotype's instance.
 void setSubStereotypes(DbSMSStereotype value, int op)
          Adds an element to or removes an element from the list of substereotypes associated to a DbSMSStereotype's instance.
 void setSuperStereotypes(DbSMSStereotype value, int op)
          Adds an element to or removes an element from the list of superstereotypes associated to a DbSMSStereotype's instance.
 
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, 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

fStereotypedObjects

public static final MetaRelationN fStereotypedObjects

fSubStereotypes

public static final MetaRelationN fSubStereotypes

fSuperStereotypes

public static final MetaRelationN fSuperStereotypes

fIcon

public static final MetaField fIcon

fBuiltIn

public static final MetaField fBuiltIn

fMetaClassName

public static final MetaField fMetaClassName

metaClass

public static final MetaClass metaClass
Constructor Detail

DbSMSStereotype

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


DbSMSStereotype

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

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

initMeta

public static void initMeta()
For internal use only.


isDeletable

public final boolean isDeletable()
                          throws DbException
Overrides:
isDeletable in class DbObject
Returns:
boolean
Throws:
DbException

getStereotypeMetaClass

public MetaClass getStereotypeMetaClass()
                                 throws DbException
Returns:
metaclass
Throws:
DbException

setSubStereotypes

public final void setSubStereotypes(DbSMSStereotype value,
                                    int op)
                             throws DbException
Adds an element to or removes an element from the list of substereotypes associated to a DbSMSStereotype'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

addToSubStereotypes

public final void addToSubStereotypes(DbSMSStereotype value)
                               throws DbException
Adds an element to the list of substereotypes associated to a DbSMSStereotype's instance.

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

removeFromSubStereotypes

public final void removeFromSubStereotypes(DbSMSStereotype value)
                                    throws DbException
Removes an element from the list of substereotypes associated to a DbSMSStereotype's instance.

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

setSuperStereotypes

public final void setSuperStereotypes(DbSMSStereotype value,
                                      int op)
                               throws DbException
Adds an element to or removes an element from the list of superstereotypes associated to a DbSMSStereotype'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

addToSuperStereotypes

public final void addToSuperStereotypes(DbSMSStereotype value)
                                 throws DbException
Adds an element to the list of superstereotypes associated to a DbSMSStereotype's instance.

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

removeFromSuperStereotypes

public final void removeFromSuperStereotypes(DbSMSStereotype value)
                                      throws DbException
Removes an element from the list of superstereotypes associated to a DbSMSStereotype's instance.

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

setIcon

public final void setIcon(java.awt.Image value)
                   throws DbException
Sets the "icon" property of a DbSMSStereotype's instance.

Parameters:
value - the "icon" property
Throws:
DbException

setBuiltIn

public final void setBuiltIn(java.lang.Boolean value)
                      throws DbException
Sets the "built in?" property of a DbSMSStereotype's instance.

Parameters:
value - the "built in?" property
Throws:
DbException

setMetaClassName

public final void setMetaClassName(java.lang.String value)
                            throws DbException
Sets the "applicable on" property of a DbSMSStereotype's instance.

Parameters:
value - the "applicable on" property
Throws:
DbException

set

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

set

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

getStereotypedObjects

public final DbRelationN getStereotypedObjects()
                                        throws DbException
Gets the list of stereotyped objects associated to a DbSMSStereotype's instance.

Returns:
the list of stereotyped objects.
Throws:
DbException

getSubStereotypes

public final DbRelationN getSubStereotypes()
                                    throws DbException
Gets the list of substereotypes associated to a DbSMSStereotype's instance.

Returns:
the list of substereotypes.
Throws:
DbException

getSuperStereotypes

public final DbRelationN getSuperStereotypes()
                                      throws DbException
Gets the list of superstereotypes associated to a DbSMSStereotype's instance.

Returns:
the list of superstereotypes.
Throws:
DbException

getIcon

public final java.awt.Image getIcon()
                             throws DbException
Gets the "icon" of a DbSMSStereotype's instance.

Returns:
the "icon"
Throws:
DbException

getBuiltIn

public final java.lang.Boolean getBuiltIn()
                                   throws DbException
Deprecated. use isBuiltIn() method instead

Gets the "built in?" property's Boolean value of a DbSMSStereotype's instance.

Returns:
the "built in?" property's Boolean value
Throws:
DbException

isBuiltIn

public final boolean isBuiltIn()
                        throws DbException
Tells whether a DbSMSStereotype's instance is builtIn or not.

Returns:
boolean
Throws:
DbException

getMetaClassName

public final java.lang.String getMetaClassName()
                                        throws DbException
Gets the "applicable on" property of a DbSMSStereotype's instance.

Returns:
the "applicable on" property
Throws:
DbException

getMetaClass

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


Open ModelSphere 2007. All Rights Reserved.