org.modelsphere.sms.or.db
Class DbORIndex

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.DbSMSIndex
                      extended by org.modelsphere.sms.or.db.DbORIndex
Direct Known Subclasses:
DbIBMIndex, DbINFIndex, DbORAIndex

public abstract class DbORIndex
extends DbSMSIndex

Direct subclass(es)/subinterface(s) : DbORAIndex, DbIBMIndex, DbINFIndex, DbGEIndex.
Composites : none.
Components : DbORIndexKey, DbSMSObjectImport.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.modelsphere.jack.baseDb.db.DbObject
DbObject.ComponentIterator
 
Field Summary
static MetaChoice fConstraint
           
static MetaField fPrimary
           
static MetaField fUnique
           
static MetaRelation1 fUser
           
static MetaClass metaClass
           
 
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
DbORIndex()
          Parameter-less constructor.
DbORIndex(DbObject composite)
          Creates an instance of DbORIndex.
 
Method Summary
 DbORConstraint getConstraint()
          Gets the constraint object associated to a DbORIndex's instance.
 java.lang.Boolean getPrimary()
          Deprecated. use isPrimary() method instead
protected  int getSecurityMask()
           
 java.lang.Boolean getUnique()
          Deprecated. use isUnique() method instead
 DbORUser getUser()
          Gets the user object associated to a DbORIndex's instance.
static void initMeta()
          For internal use only.
 boolean isPrimary()
          Tells whether a DbORIndex's instance is primary or not.
 boolean isUnique()
          Tells whether a DbORIndex's instance is unique or not.
 boolean matchesConstraint(DbORConstraint pufKey)
           
 void set(MetaField metaField, java.lang.Object value)
           
 void set(MetaRelationN relation, DbObject neighbor, int op)
           
 void setConstraint(DbORConstraint value)
          Sets the constraint object associated to a DbORIndex's instance.
 void setPrimary(java.lang.Boolean value)
          Sets the "primary" property of a DbORIndex's instance.
 void setUnique(java.lang.Boolean value)
          Sets the "unique" property of a DbORIndex's instance.
 void setUser(DbORUser value)
          Sets the user object associated to a DbORIndex's instance.
 
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, getMetaClass, 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

fUnique

public static final MetaField fUnique

fConstraint

public static final MetaChoice fConstraint

fUser

public static final MetaRelation1 fUser

fPrimary

public static final MetaField fPrimary

metaClass

public static final MetaClass metaClass
Constructor Detail

DbORIndex

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


DbORIndex

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

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

initMeta

public static void initMeta()
For internal use only.


matchesConstraint

public final boolean matchesConstraint(DbORConstraint pufKey)
                                throws DbException
Parameters:
pufkey - org.modelsphere.sms.or.db.DbORConstraint
Returns:
boolean
Throws:
DbException

getSecurityMask

protected final int getSecurityMask()
Returns:
int

setUnique

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

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

setConstraint

public final void setConstraint(DbORConstraint value)
                         throws DbException
Sets the constraint object associated to a DbORIndex's instance.

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

setUser

public final void setUser(DbORUser value)
                   throws DbException
Sets the user object associated to a DbORIndex's instance.

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

setPrimary

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

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

set

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

set

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

getUnique

public final java.lang.Boolean getUnique()
                                  throws DbException
Deprecated. use isUnique() method instead

Gets the "unique" property's Boolean value of a DbORIndex's instance.

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

isUnique

public final boolean isUnique()
                       throws DbException
Tells whether a DbORIndex's instance is unique or not.

Returns:
boolean
Throws:
DbException

getConstraint

public final DbORConstraint getConstraint()
                                   throws DbException
Gets the constraint object associated to a DbORIndex's instance.

Returns:
the constraint object
Throws:
DbException

getUser

public final DbORUser getUser()
                       throws DbException
Gets the user object associated to a DbORIndex's instance.

Returns:
the user object
Throws:
DbException

getPrimary

public final java.lang.Boolean getPrimary()
                                   throws DbException
Deprecated. use isPrimary() method instead

Gets the "primary" property's Boolean value of a DbORIndex's instance.

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

isPrimary

public final boolean isPrimary()
                        throws DbException
Tells whether a DbORIndex's instance is primary or not.

Returns:
boolean
Throws:
DbException


Open ModelSphere 2007. All Rights Reserved.