org.modelsphere.sms.oo.java.db
Class DbJVClass

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.DbSMSClassifier
                      extended by org.modelsphere.sms.db.DbSMSTypeClassifier
                          extended by org.modelsphere.sms.oo.db.DbOOAdt
                              extended by org.modelsphere.sms.oo.db.DbOOClass
                                  extended by org.modelsphere.sms.oo.java.db.DbJVClass

public final class DbJVClass
extends DbOOClass

Direct subclass(es)/subinterface(s) : none.
Composites : DbJVClassModel, DbJVPackage, DbOOClass.
Components : DbOODataMember, DbOOClass, DbOOOperation, DbOOInheritance, DbOOAssociation, DbSMSObjectImport.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.modelsphere.jack.baseDb.db.DbObject
DbObject.ComponentIterator
 
Field Summary
static MetaField fCollection
           
static MetaRelation1 fCompilationUnit
           
static MetaRelationN fDbBEStores
           
static MetaField fFinal
           
static MetaRelationN fImports
           
static MetaRelation1 fReferringProject
           
static MetaField fStatic
           
static MetaField fStereotype
           
static MetaField fStrictfp
           
static MetaRelationN fThrowingConstructors
           
static MetaRelationN fThrowingMethods
           
static MetaField fVisibility
           
static MetaClass metaClass
           
 
Fields inherited from class org.modelsphere.sms.oo.db.DbOOClass
fAbstract, fAssociationClass, fBaseType, fSubInheritances, fSuperInheritances
 
Fields inherited from class org.modelsphere.sms.oo.db.DbOOAdt
fCommonItems, fTypedDataMembers, fTypedElementDataMembers, fTypedElementMethods, fTypedElementParameters, fTypedMethods, fTypedParameters, fUsedByDomains
 
Fields inherited from class org.modelsphere.sms.db.DbSMSClassifier
fClassifierGos
 
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
DbJVClass()
          Parameter-less constructor.
DbJVClass(DbObject composite, JVClassCategory stereotype)
          Creates an instance of DbJVClass.
 
Method Summary
 void addToThrowingConstructors(DbJVConstructor value)
          Adds an element to the list of throwing constructors associated to a DbJVClass's instance.
 void addToThrowingMethods(DbJVMethod value)
          Adds an element to the list of throwing methods associated to a DbJVClass's instance.
 java.lang.Boolean getCollection()
          Deprecated. use isCollection() method instead
 DbJVCompilationUnit getCompilationUnit()
          Gets the compilation unit object associated to a DbJVClass's instance.
 DbRelationN getDbBEStores()
          Gets the list of roles associated to a DbJVClass's instance.
protected  int getFeatureSet()
           
 java.lang.Boolean getFinal()
          Deprecated. use isFinal() method instead
 DbRelationN getImports()
          Gets the list of imports associated to a DbJVClass's instance.
 MetaClass getMetaClass()
           
 DbSMSProject getReferringProject()
          Gets the project object associated to a DbJVClass's instance.
 javax.swing.Icon getSemanticalIcon(int form)
           
 java.lang.Boolean getStatic()
          Deprecated. use isStatic() method instead
 JVClassCategory getStereotype()
          Gets the "classifier type" of a DbJVClass's instance.
 java.lang.Boolean getStrictfp()
          Deprecated. use isStrictfp() method instead
 DbRelationN getThrowingConstructors()
          Gets the list of throwing constructors associated to a DbJVClass's instance.
 DbRelationN getThrowingMethods()
          Gets the list of throwing methods associated to a DbJVClass's instance.
 JVVisibility getVisibility()
          Gets the "visibility" of a DbJVClass's instance.
static void initMeta()
          For internal use only.
 boolean isClass()
           
 boolean isCollection()
          Tells whether a DbJVClass's instance is collection or not.
 boolean isException()
           
 boolean isFinal()
          Tells whether a DbJVClass's instance is final or not.
 boolean isInterface()
           
 boolean isStatic()
          Tells whether a DbJVClass's instance is static or not.
 boolean isStrictfp()
          Tells whether a DbJVClass's instance is strictfp or not.
 void removeFromThrowingConstructors(DbJVConstructor value)
          Removes an element from the list of throwing constructors associated to a DbJVClass's instance.
 void removeFromThrowingMethods(DbJVMethod value)
          Removes an element from the list of throwing methods associated to a DbJVClass's instance.
 void set(MetaField metaField, java.lang.Object value)
           
 void set(MetaRelationN relation, DbObject neighbor, int op)
           
 void setCollection(java.lang.Boolean value)
          Sets the "collection" property of a DbJVClass's instance.
 void setCompilationUnit(DbJVCompilationUnit value)
           
 void setFinal(java.lang.Boolean value)
          Sets the "final" property of a DbJVClass's instance.
 void setName(java.lang.String name)
           
 void setReferringProject(DbSMSProject value)
          Sets the project object associated to a DbJVClass's instance.
 void setStatic(java.lang.Boolean value)
          Sets the "static" property of a DbJVClass's instance.
 void setStereotype(JVClassCategory value)
          Sets the "classifier type" property of a DbJVClass's instance.
 void setStrictfp(java.lang.Boolean value)
          Sets the "strictfp" property of a DbJVClass's instance.
 void setThrowingConstructors(DbJVConstructor value, int op)
          Adds an element to or removes an element from the list of throwing constructors associated to a DbJVClass's instance.
 void setThrowingMethods(DbJVMethod value, int op)
          Adds an element to or removes an element from the list of throwing methods associated to a DbJVClass's instance.
 void setVisibility(JVVisibility value)
          Sets the "visibility" property of a DbJVClass's instance.
 
Methods inherited from class org.modelsphere.sms.oo.db.DbOOClass
getAbstract, getAssociationClass, getBaseType, getSubInheritances, getSuperInheritances, isAbstract, isAssociationClass, isBaseType, setAbstract, setAssociationClass, setBaseType
 
Methods inherited from class org.modelsphere.sms.oo.db.DbOOAdt
getCommonItems, getTypedDataMembers, getTypedElementDataMembers, getTypedElementMethods, getTypedElementParameters, getTypedMethods, getTypedParameters, getUsedByDomains
 
Methods inherited from class org.modelsphere.sms.db.DbSMSClassifier
getClassifierGos
 
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, 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, 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

fThrowingMethods

public static final MetaRelationN fThrowingMethods

fThrowingConstructors

public static final MetaRelationN fThrowingConstructors

fImports

public static final MetaRelationN fImports

fReferringProject

public static final MetaRelation1 fReferringProject

fStereotype

public static final MetaField fStereotype

fVisibility

public static final MetaField fVisibility

fStatic

public static final MetaField fStatic

fFinal

public static final MetaField fFinal

fCollection

public static final MetaField fCollection

fCompilationUnit

public static final MetaRelation1 fCompilationUnit

fStrictfp

public static final MetaField fStrictfp

fDbBEStores

public static final MetaRelationN fDbBEStores

metaClass

public static final MetaClass metaClass
Constructor Detail

DbJVClass

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


DbJVClass

public DbJVClass(DbObject composite,
                 JVClassCategory stereotype)
          throws DbException
Creates an instance of DbJVClass.

Parameters:
composite - org.modelsphere.jack.baseDb.db.DbObject
stereotype - org.modelsphere.sms.oo.java.db.srtypes.JVClassCategory
Throws:
DbException
Method Detail

initMeta

public static void initMeta()
For internal use only.


isClass

public final boolean isClass()
                      throws DbException
Returns:
boolean
Throws:
DbException

isInterface

public final boolean isInterface()
                          throws DbException
Returns:
boolean
Throws:
DbException

isException

public final boolean isException()
                          throws DbException
Returns:
boolean
Throws:
DbException

setName

public final void setName(java.lang.String name)
                   throws DbException
Overrides:
setName in class DbSemanticalObject
Parameters:
name - java.lang.String
Throws:
DbException

setCompilationUnit

public final void setCompilationUnit(DbJVCompilationUnit value)
                              throws DbException
Parameters:
value - org.modelsphere.sms.oo.java.db.DbJVCompilationUnit
Throws:
DbException

getSemanticalIcon

public final javax.swing.Icon getSemanticalIcon(int form)
                                         throws DbException
Overrides:
getSemanticalIcon in class DbObject
Parameters:
form - int
Returns:
icon
Throws:
DbException

getFeatureSet

protected final int getFeatureSet()
Returns:
int

setThrowingMethods

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

addToThrowingMethods

public final void addToThrowingMethods(DbJVMethod value)
                                throws DbException
Adds an element to the list of throwing methods associated to a DbJVClass's instance.

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

removeFromThrowingMethods

public final void removeFromThrowingMethods(DbJVMethod value)
                                     throws DbException
Removes an element from the list of throwing methods associated to a DbJVClass's instance.

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

setThrowingConstructors

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

addToThrowingConstructors

public final void addToThrowingConstructors(DbJVConstructor value)
                                     throws DbException
Adds an element to the list of throwing constructors associated to a DbJVClass's instance.

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

removeFromThrowingConstructors

public final void removeFromThrowingConstructors(DbJVConstructor value)
                                          throws DbException
Removes an element from the list of throwing constructors associated to a DbJVClass's instance.

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

setReferringProject

public final void setReferringProject(DbSMSProject value)
                               throws DbException
Sets the project object associated to a DbJVClass's instance.

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

setStereotype

public final void setStereotype(JVClassCategory value)
                         throws DbException
Sets the "classifier type" property of a DbJVClass's instance.

Parameters:
value - the "classifier type" property
Throws:
DbException

setVisibility

public final void setVisibility(JVVisibility value)
                         throws DbException
Sets the "visibility" property of a DbJVClass's instance.

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

setStatic

public final void setStatic(java.lang.Boolean value)
                     throws DbException
Sets the "static" property of a DbJVClass's instance.

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

setFinal

public final void setFinal(java.lang.Boolean value)
                    throws DbException
Sets the "final" property of a DbJVClass's instance.

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

setCollection

public final void setCollection(java.lang.Boolean value)
                         throws DbException
Sets the "collection" property of a DbJVClass's instance.

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

setStrictfp

public final void setStrictfp(java.lang.Boolean value)
                       throws DbException
Sets the "strictfp" property of a DbJVClass's instance.

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

set

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

set

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

getThrowingMethods

public final DbRelationN getThrowingMethods()
                                     throws DbException
Gets the list of throwing methods associated to a DbJVClass's instance.

Returns:
the list of throwing methods.
Throws:
DbException

getThrowingConstructors

public final DbRelationN getThrowingConstructors()
                                          throws DbException
Gets the list of throwing constructors associated to a DbJVClass's instance.

Returns:
the list of throwing constructors.
Throws:
DbException

getImports

public final DbRelationN getImports()
                             throws DbException
Gets the list of imports associated to a DbJVClass's instance.

Returns:
the list of imports.
Throws:
DbException

getReferringProject

public final DbSMSProject getReferringProject()
                                       throws DbException
Gets the project object associated to a DbJVClass's instance.

Returns:
the project object
Throws:
DbException

getStereotype

public final JVClassCategory getStereotype()
                                    throws DbException
Gets the "classifier type" of a DbJVClass's instance.

Returns:
the "classifier type"
Throws:
DbException

getVisibility

public final JVVisibility getVisibility()
                                 throws DbException
Gets the "visibility" of a DbJVClass's instance.

Returns:
the "visibility"
Throws:
DbException

getStatic

public final java.lang.Boolean getStatic()
                                  throws DbException
Deprecated. use isStatic() method instead

Gets the "static" property's Boolean value of a DbJVClass's instance.

Returns:
the "static" property's Boolean value
Throws:
DbException

isStatic

public final boolean isStatic()
                       throws DbException
Tells whether a DbJVClass's instance is static or not.

Returns:
boolean
Throws:
DbException

getFinal

public final java.lang.Boolean getFinal()
                                 throws DbException
Deprecated. use isFinal() method instead

Gets the "final" property's Boolean value of a DbJVClass's instance.

Returns:
the "final" property's Boolean value
Throws:
DbException

isFinal

public final boolean isFinal()
                      throws DbException
Tells whether a DbJVClass's instance is final or not.

Returns:
boolean
Throws:
DbException

getCollection

public final java.lang.Boolean getCollection()
                                      throws DbException
Deprecated. use isCollection() method instead

Gets the "collection" property's Boolean value of a DbJVClass's instance.

Returns:
the "collection" property's Boolean value
Throws:
DbException

isCollection

public final boolean isCollection()
                           throws DbException
Tells whether a DbJVClass's instance is collection or not.

Returns:
boolean
Throws:
DbException

getCompilationUnit

public final DbJVCompilationUnit getCompilationUnit()
                                             throws DbException
Gets the compilation unit object associated to a DbJVClass's instance.

Returns:
the compilation unit object
Throws:
DbException

getStrictfp

public final java.lang.Boolean getStrictfp()
                                    throws DbException
Deprecated. use isStrictfp() method instead

Gets the "strictfp" property's Boolean value of a DbJVClass's instance.

Returns:
the "strictfp" property's Boolean value
Throws:
DbException

isStrictfp

public final boolean isStrictfp()
                         throws DbException
Tells whether a DbJVClass's instance is strictfp or not.

Returns:
boolean
Throws:
DbException

getDbBEStores

public final DbRelationN getDbBEStores()
                                throws DbException
Gets the list of roles associated to a DbJVClass's instance.

Returns:
the list of roles.
Throws:
DbException

getMetaClass

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


Open ModelSphere 2007. All Rights Reserved.