org.modelsphere.sms.or.db
Class DbORAssociationEnd

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.DbSMSAbstractRelationshipEnd
                      extended by org.modelsphere.sms.db.DbSMSAssociationEnd
                          extended by org.modelsphere.sms.or.db.DbORAssociationEnd

public final class DbORAssociationEnd
extends DbSMSAssociationEnd

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


Nested Class Summary
 
Nested classes/interfaces inherited from class org.modelsphere.jack.baseDb.db.DbObject
DbObject.ComponentIterator
 
Field Summary
static MetaRelation1 fClassifier
           
static MetaField fConstraintType
           
static MetaField fDeleteRule
           
static MetaRelationN fDependentConstraints
           
static MetaField fInsertRule
           
static MetaRelation1 fMember
           
static MetaField fNavigable
           
static MetaRelation1 fReferencedConstraint
           
static MetaField fUpdateRule
           
static MetaClass metaClass
           
 
Fields inherited from class org.modelsphere.sms.db.DbSMSAssociationEnd
fMultiplicity, fSpecificRangeMultiplicity
 
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
  DbORAssociationEnd()
          Parameter-less constructor.
protected DbORAssociationEnd(DbORAssociation composite, DbORAbsTable classifier, SMSMultiplicity multiplicity, java.lang.String name)
          Creates an instance of DbORAssociationEnd.
 
Method Summary
 void addToDependentConstraints(DbORPrimaryUnique value)
          Adds an element to the list of dependent constraints associated to a DbORAssociationEnd's instance.
 DbORAbsTable getClassifier()
          Gets the classifier object associated to a DbORAssociationEnd's instance.
 ORConstraintType getConstraintType()
          Gets the "constraint type" of a DbORAssociationEnd's instance.
 ORValidationRule getDeleteRule()
          Gets the "delete rule" of a DbORAssociationEnd's instance.
 DbRelationN getDependentConstraints()
          Gets the list of dependent constraints associated to a DbORAssociationEnd's instance.
 ORValidationRule getInsertRule()
          Gets the "insert rule" of a DbORAssociationEnd's instance.
 DbORForeign getMember()
          Gets the foreign key object associated to a DbORAssociationEnd's instance.
 MetaClass getMetaClass()
           
 java.lang.Boolean getNavigable()
          Deprecated. use isNavigable() method instead
 DbORAssociationEnd getOppositeEnd()
           
 DbORPrimaryUnique getReferencedConstraint()
          Gets the referenced constraint object associated to a DbORAssociationEnd's instance.
 ORValidationRule getUpdateRule()
          Gets the "update rule" of a DbORAssociationEnd's instance.
static void initMeta()
          For internal use only.
 boolean isFrontEnd()
           
 boolean isNavigable()
          Tells whether a DbORAssociationEnd's instance is navigable or not.
 void removeFromDependentConstraints(DbORPrimaryUnique value)
          Removes an element from the list of dependent constraints associated to a DbORAssociationEnd's instance.
 void set(MetaField metaField, java.lang.Object value)
           
 void set(MetaRelationN relation, DbObject neighbor, int op)
           
 void setClassifier(DbORAbsTable value)
          Sets the classifier object associated to a DbORAssociationEnd's instance.
 void setConstraintType(ORConstraintType value)
          Sets the "constraint type" property of a DbORAssociationEnd's instance.
 void setDeleteRule(ORValidationRule value)
          Sets the "delete rule" property of a DbORAssociationEnd's instance.
 void setDependentConstraints(DbORPrimaryUnique value, int op)
          Adds an element to or removes an element from the list of dependent constraints associated to a DbORAssociationEnd's instance.
 void setInsertRule(ORValidationRule value)
          Sets the "insert rule" property of a DbORAssociationEnd's instance.
 void setMember(DbORForeign value)
          Sets the foreign key object associated to a DbORAssociationEnd's instance.
 void setNavigable(java.lang.Boolean value)
          Sets the "navigability" property of a DbORAssociationEnd's instance.
 void setReferencedConstraint(DbORPrimaryUnique value)
          Sets the referenced constraint object associated to a DbORAssociationEnd's instance.
 void setUpdateRule(ORValidationRule value)
          Sets the "update rule" property of a DbORAssociationEnd's instance.
 
Methods inherited from class org.modelsphere.sms.db.DbSMSAssociationEnd
getMultiplicity, getSpecificRangeMultiplicity, setMultiplicity, setSpecificRangeMultiplicity
 
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, 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, 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

fInsertRule

public static final MetaField fInsertRule

fUpdateRule

public static final MetaField fUpdateRule

fDeleteRule

public static final MetaField fDeleteRule

fClassifier

public static final MetaRelation1 fClassifier

fMember

public static final MetaRelation1 fMember

fNavigable

public static final MetaField fNavigable

fConstraintType

public static final MetaField fConstraintType

fDependentConstraints

public static final MetaRelationN fDependentConstraints

fReferencedConstraint

public static final MetaRelation1 fReferencedConstraint

metaClass

public static final MetaClass metaClass
Constructor Detail

DbORAssociationEnd

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


DbORAssociationEnd

protected DbORAssociationEnd(DbORAssociation composite,
                             DbORAbsTable classifier,
                             SMSMultiplicity multiplicity,
                             java.lang.String name)
                      throws DbException
Creates an instance of DbORAssociationEnd.

Parameters:
composite - org.modelsphere.sms.or.db.DbORAssociation
classifier - org.modelsphere.sms.or.db.DbORAbsTable
multiplicity - org.modelsphere.sms.db.srtypes.SMSMultiplicity
name - java.lang.String
Throws:
DbException
Method Detail

initMeta

public static void initMeta()
For internal use only.


isFrontEnd

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

getOppositeEnd

public final DbORAssociationEnd getOppositeEnd()
                                        throws DbException
Returns:
role
Throws:
DbException

setInsertRule

public final void setInsertRule(ORValidationRule value)
                         throws DbException
Sets the "insert rule" property of a DbORAssociationEnd's instance.

Parameters:
value - the "insert rule" property
Throws:
DbException

setUpdateRule

public final void setUpdateRule(ORValidationRule value)
                         throws DbException
Sets the "update rule" property of a DbORAssociationEnd's instance.

Parameters:
value - the "update rule" property
Throws:
DbException

setDeleteRule

public final void setDeleteRule(ORValidationRule value)
                         throws DbException
Sets the "delete rule" property of a DbORAssociationEnd's instance.

Parameters:
value - the "delete rule" property
Throws:
DbException

setClassifier

public final void setClassifier(DbORAbsTable value)
                         throws DbException
Sets the classifier object associated to a DbORAssociationEnd's instance.

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

setMember

public final void setMember(DbORForeign value)
                     throws DbException
Sets the foreign key object associated to a DbORAssociationEnd's instance.

Parameters:
value - the foreign key object to be associated
Throws:
DbException

setNavigable

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

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

setConstraintType

public final void setConstraintType(ORConstraintType value)
                             throws DbException
Sets the "constraint type" property of a DbORAssociationEnd's instance.

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

setDependentConstraints

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

addToDependentConstraints

public final void addToDependentConstraints(DbORPrimaryUnique value)
                                     throws DbException
Adds an element to the list of dependent constraints associated to a DbORAssociationEnd's instance.

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

removeFromDependentConstraints

public final void removeFromDependentConstraints(DbORPrimaryUnique value)
                                          throws DbException
Removes an element from the list of dependent constraints associated to a DbORAssociationEnd's instance.

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

setReferencedConstraint

public final void setReferencedConstraint(DbORPrimaryUnique value)
                                   throws DbException
Sets the referenced constraint object associated to a DbORAssociationEnd's instance.

Parameters:
value - the referenced constraint object to be associated
Throws:
DbException

set

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

set

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

getInsertRule

public final ORValidationRule getInsertRule()
                                     throws DbException
Gets the "insert rule" of a DbORAssociationEnd's instance.

Returns:
the "insert rule"
Throws:
DbException

getUpdateRule

public final ORValidationRule getUpdateRule()
                                     throws DbException
Gets the "update rule" of a DbORAssociationEnd's instance.

Returns:
the "update rule"
Throws:
DbException

getDeleteRule

public final ORValidationRule getDeleteRule()
                                     throws DbException
Gets the "delete rule" of a DbORAssociationEnd's instance.

Returns:
the "delete rule"
Throws:
DbException

getClassifier

public final DbORAbsTable getClassifier()
                                 throws DbException
Gets the classifier object associated to a DbORAssociationEnd's instance.

Returns:
the classifier object
Throws:
DbException

getMember

public final DbORForeign getMember()
                            throws DbException
Gets the foreign key object associated to a DbORAssociationEnd's instance.

Returns:
the foreign key object
Throws:
DbException

getNavigable

public final java.lang.Boolean getNavigable()
                                     throws DbException
Deprecated. use isNavigable() method instead

Gets the "navigability" property's Boolean value of a DbORAssociationEnd's instance.

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

isNavigable

public final boolean isNavigable()
                          throws DbException
Tells whether a DbORAssociationEnd's instance is navigable or not.

Returns:
boolean
Throws:
DbException

getConstraintType

public final ORConstraintType getConstraintType()
                                         throws DbException
Gets the "constraint type" of a DbORAssociationEnd's instance.

Returns:
the "constraint type"
Throws:
DbException

getDependentConstraints

public final DbRelationN getDependentConstraints()
                                          throws DbException
Gets the list of dependent constraints associated to a DbORAssociationEnd's instance.

Returns:
the list of dependent constraints.
Throws:
DbException

getReferencedConstraint

public final DbORPrimaryUnique getReferencedConstraint()
                                                throws DbException
Gets the referenced constraint object associated to a DbORAssociationEnd's instance.

Returns:
the referenced constraint object
Throws:
DbException

getMetaClass

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


Open ModelSphere 2007. All Rights Reserved.