org.modelsphere.sms.db
Class DbSMSUmlConstraint

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

public final class DbSMSUmlConstraint
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 MetaRelationN fConstrainedObjects
           
static MetaField fExpression
           
static MetaField fMetaClassName
           
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
DbSMSUmlConstraint()
          Parameter-less constructor.
DbSMSUmlConstraint(DbObject composite)
          Creates an instance of DbSMSUmlConstraint.
 
Method Summary
 void addToConstrainedObjects(DbSMSSemanticalObject value)
          Adds an element to the list of constrained objects associated to a DbSMSUmlConstraint's instance.
 java.lang.Boolean getBuiltIn()
          Deprecated. use isBuiltIn() method instead
 DbRelationN getConstrainedObjects()
          Gets the list of constrained objects associated to a DbSMSUmlConstraint's instance.
 java.lang.String getExpression()
          Gets the "expression" property of a DbSMSUmlConstraint's instance.
 MetaClass getMetaClass()
           
 java.lang.String getMetaClassName()
          Gets the "applicable on" property of a DbSMSUmlConstraint's instance.
 MetaClass getUmlConstraintMetaClass()
           
static void initMeta()
          For internal use only.
 boolean isBuiltIn()
          Tells whether a DbSMSUmlConstraint's instance is builtIn or not.
 boolean isDeletable()
           
 void removeFromConstrainedObjects(DbSMSSemanticalObject value)
          Removes an element from the list of constrained objects associated to a DbSMSUmlConstraint'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 setConstrainedObjects(DbSMSSemanticalObject value, int op)
          Adds an element to or removes an element from the list of constrained objects associated to a DbSMSUmlConstraint's instance.
 void setExpression(java.lang.String value)
          Sets the "expression" property of a DbSMSUmlConstraint's instance.
 void setMetaClassName(java.lang.String value)
          Sets the "applicable on" property of a DbSMSUmlConstraint'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

fConstrainedObjects

public static final MetaRelationN fConstrainedObjects

fBuiltIn

public static final MetaField fBuiltIn

fExpression

public static final MetaField fExpression

fMetaClassName

public static final MetaField fMetaClassName

metaClass

public static final MetaClass metaClass
Constructor Detail

DbSMSUmlConstraint

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


DbSMSUmlConstraint

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

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

getUmlConstraintMetaClass

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

setConstrainedObjects

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

addToConstrainedObjects

public final void addToConstrainedObjects(DbSMSSemanticalObject value)
                                   throws DbException
Adds an element to the list of constrained objects associated to a DbSMSUmlConstraint's instance.

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

removeFromConstrainedObjects

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

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

setBuiltIn

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

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

setExpression

public final void setExpression(java.lang.String value)
                         throws DbException
Sets the "expression" property of a DbSMSUmlConstraint's instance.

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

setMetaClassName

public final void setMetaClassName(java.lang.String value)
                            throws DbException
Sets the "applicable on" property of a DbSMSUmlConstraint'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

getConstrainedObjects

public final DbRelationN getConstrainedObjects()
                                        throws DbException
Gets the list of constrained objects associated to a DbSMSUmlConstraint's instance.

Returns:
the list of constrained objects.
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 DbSMSUmlConstraint's instance.

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

isBuiltIn

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

Returns:
boolean
Throws:
DbException

getExpression

public final java.lang.String getExpression()
                                     throws DbException
Gets the "expression" property of a DbSMSUmlConstraint's instance.

Returns:
the "expression" property
Throws:
DbException

getMetaClassName

public final java.lang.String getMetaClassName()
                                        throws DbException
Gets the "applicable on" property of a DbSMSUmlConstraint'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.