| Modifier and Type | Method and Description |
|---|---|
IAssociationEnd |
getAssociationEndFromPrimaryKeyColumnName(IEntity aIEntity,
java.lang.String astrColumnName)
Given an IEntity instance and a database column name, use database metadata in an brute-force
effort to locate the matching IAssociationEnd instance, if any.
|
IAttribute |
getAttributeFromPrimaryKeyColumnName(IEntity aIEntity,
java.lang.String astrColumnName)
Given an IEntity instance and a database column name (part of primary key), use
database metadata in a brute-force effort to locate the matching IAttribute, if any.
|
java.lang.String |
getColumnNameForAttribute(IAttribute aIAttribute)
Return database column name corresponding to a given attribute.
|
java.lang.String |
getColumnNameSmartMatch(IAttribute aIAttribute)
Given an attribute, determine the best matching column name
from the metadata if available.
|
java.lang.String |
getDatastoreIdentityColumnName(IEntity aIEntity)
Given an entity, returns the datastore identity column name if specified, or a default
name if none is specified.
|
ITableInfo |
getDatastoreIdentitySequence(IEntity aIEntity)
Given an entity, returns the datastore identity sequence info if specified, or a default
name if none is specified.
|
java.lang.String |
getDatastoreIdentitySequenceNameColumnName(IEntity aIEntity)
Given an entity, returns the datastore identity sequence name column name if specified, or a default
name if none is specified.
|
java.lang.String |
getDatastoreIdentitySequenceNextvalColumnName(IEntity aIEntity)
Given an entity, returns the datastore identity sequence nextval column name if specified, or a default
name if none is specified.
|
ITableInfo |
getDatastoreIdentitySequenceTableInfo(IEntity aIEntity)
Given an entity, returns the datastore identity sequence table info if specified, or a default
name if none is specified.
|
java.lang.String |
getDatastoreIdentityStrategy(IEntity aIEntity)
Given an entity, returns the datastore identity strategy if specified, or a default
name if none is specified.
|
java.util.List |
getEntityIdentityForEntity(IEntity aIEntity)
Given an entity, return the effective Entity Identity set taking into
account a user specified value or a default derived from database metadata.
|
java.util.List |
getEntityIdentitySmartMatch(IEntity aIEntity)
Infer and return the entity identity from database metadata for the specified
IEntity instance.
|
java.lang.String |
getJoinExpression(IAssociationEnd aIAssociationEnd)
Return the "smart matching" join expression for the given association end.
|
java.util.List |
getJoinExpressions(IAssociationEnd aIAssociationEnd)
Get all valid join expressions for a given association end from database metadata.
|
ITableInfo |
getTableInfoForEntity(IEntity aIEntity)
Returns the "best matching" table from the database metadata, returned as a TableInfo object
|
ITableInfo |
getTableInfoForEntitySmartMatch(IEntity aIEntity)
Given an entity, determine the best matching table from the metadata
if available.
|
ITableInfo |
getTableInfoForManyToManyMiddleTable(IAssociationEnd aIAssociationEnd)
Returns the matching middle table for the provided many to many association end.
|
java.lang.String |
getValueStrategy(IAttribute aIAttribute)
Given an attribute, returns the value strategy name if specified, or a default
name if none is specified.
|
ITableInfo |
getValueStrategySequence(IAttribute aIAttribute)
Given an attribute, returns the value strategy sequence description if specified, or a default
name if none is specified.
|
java.lang.String |
getValueStrategySequenceNameColumnName(IAttribute aIAttribute)
Given an attribute, returns the value strategy sequence name column name if specified, or a default
name if none is specified.
|
java.lang.String |
getValueStrategySequenceNextvalColumnName(IAttribute aIAttribute)
Given an attribute, returns the value strategy sequence nextval column name if specified, or a default
name if none is specified.
|
ITableInfo |
getValueStrategySequenceTableInfo(IAttribute aIAttribute)
Given an attribute, returns the value strategy sequence table info if specified, or a default
name if none is specified.
|
java.lang.String |
getVersionColumn(IEntity aIEntity)
Given an entity, returns the version column name if specified, or a default
name if none is specified.
|
boolean |
isTable(IEntity aIEntity)
Determine whether the specified entity is mapped to a database table.
|
boolean |
isView(IEntity aIEntity)
Determine whether the specified entity is mapped to a database view.
|
void |
setVocabularyModelAPI(IVocabularyModelAPI aIVocabularyModelAPI)
Setter for reference to Vocabulary model API (required).
|
activate, addAnnotation, addBatchedModelListener, addLowLevelModelListener, addModelListener, addResourceListener, addView, beginTransaction, cancelTransaction, canSetSupportedLocales, closeResource, createResource, deleteAnnotation, deleteAnnotation, deleteAnnotation, deleteResource, displayMessageBox, dispose, doPostLoadValidation, doSmartValidation, endTransaction, endTransaction, flushCommandStack, formatValidationMessageLocation, formatValidationMessageText, getAllLocalesProvidingCompleteLocalization, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getAPIContextObject, getAsset, getBaseAttribute, getBaseAttributeString, getBatchedModelListeners, getBuildNumber, getBuildNumberOfLastValidationRulesChange, getEditingDomain, getErrors, getErrors, getIndexByLocale, getLocale, getLocalizedAttribute, getLocalizedAttributeString, getLowLevelModelListeners, getMajorServiceNumber, getMajorVersionNumber, getMessage, getMessage, getMessageBase, getMessageBoxDelegate, getMinorServiceNumber, getMinorVersionNumber, getModelAPIState, getModelListeners, getNewResourceName, getPersistenceServicesDelegate, getPreferences, getPrimaryResource, getPrimaryResourceURI, getScrollableMessageDelegate, getSupportedLocales, getSuppressBrokenLinkValidation, getSuppressValidation, getToolTip, getUpdateStamp, getUserInterfaceInfoDelegate, getValidationMessageCount, getValidationMessageCount, getValidationMessageCount, getValidationMessageCount, getValidationMessages, getValidationMessages, getWarnings, getWarnings, handleException, hasErrors, hasErrors, hasErrors, hasErrors, hasErrors, hasErrors, hasErrorsOrWarnings, hasErrorsOrWarnings, hasErrorsOrWarnings, hasErrorsOrWarnings, hasErrorsOrWarnings, hasErrorsOrWarnings, hasWarnings, hasWarnings, hasWarnings, hasWarnings, hasWarnings, hasWarnings, isAPIStateEstablished, isEnabledRedo, isEnabledUndo, isInhibitNotification, isLoaded, isOperationModeNormal, isOperationModeRedo, isOperationModeUndo, isPassive, isPostLoadInProgress, isPrimaryResourceSet, isReadOnly, isResourceActivated, isResourceConflict, isResourceDemandLoaded, isResourceLoaded, isScrollableMessageDelegateAvailable, isShowCanonicalValidationMessages, isSuppressModifiedFlagUpdates, isSuppressPostLoad, isTransactionInProgress, isValid, isValid, loadResource, loadResource, loadResource, newInstance, noOperation, postLoad, postMethod, postMethod, postsave, preMethod, presave, redo, reloadResource, remapResource, remapResource, removeBatchedModelListener, removeLowLevelModelListener, removeModelListener, removeResource, removeResourceListener, removeView, renameResource, rollbackTransaction, saveAll, saveResource, setAnnotation, setAPIContextObject, setAPIState, setBuildNumber, setEditingDomain, setInhibitNotification, setLocale, setMajorServiceNumber, setMajorVersionNumber, setMessageBoxDelegate, setMinorServiceNumber, setMinorVersionNumber, setModelAPIState, setModelListeners, setPassive, setPersistenceServicesDelegate, setPostLoadInProgress, setPreferencesDelegate, setPrimaryResource, setReadOnly, setScrollableMessageDelegate, setSupportedLocales, setSuppressBrokenLinkValidation, setSuppressModifiedFlagUpdates, setSuppressPostLoad, setSuppressValidation, setUserInterfaceInfoDelegate, undo, unloadResource, validate, validateLicenseIAssociationEnd getAssociationEndFromPrimaryKeyColumnName(IEntity aIEntity, java.lang.String astrColumnName)
aIEntity - Entity reference.astrColumnName - Database column name.null if no match could be found.IAttribute getAttributeFromPrimaryKeyColumnName(IEntity aIEntity, java.lang.String astrColumnName)
aIEntity - Reference to entity.astrColumnName - Database column name.null if no matching attribute could be found.java.lang.String getColumnNameForAttribute(IAttribute aIAttribute)
IAttribute - Attribute instance.null if column name could not be determined.java.lang.String getColumnNameSmartMatch(IAttribute aIAttribute)
null.aIAttribute - Attribute instance.null.java.lang.String getDatastoreIdentityColumnName(IEntity aIEntity)
aIEntity - Entity reference.null.java.util.List getEntityIdentityForEntity(IEntity aIEntity)
null.aIEntity - Reference to entity.ITableInfo getDatastoreIdentitySequenceTableInfo(IEntity aIEntity)
aIEntity - Entity reference.null.java.lang.String getDatastoreIdentitySequenceNameColumnName(IEntity aIEntity)
aIEntity - Entity reference.null.java.lang.String getDatastoreIdentitySequenceNextvalColumnName(IEntity aIEntity)
aIEntity - Entity reference.null.ITableInfo getValueStrategySequenceTableInfo(IAttribute aIAttribute)
aIAttribute - Attribute reference.null.java.lang.String getValueStrategySequenceNameColumnName(IAttribute aIAttribute)
aIAttribute - Attribute reference.null.java.lang.String getValueStrategySequenceNextvalColumnName(IAttribute aIAttribute)
aIAttribute - Attribute reference.null.java.util.List getEntityIdentitySmartMatch(IEntity aIEntity)
null.aIEntity - Reference to entity.java.lang.String getJoinExpression(IAssociationEnd aIAssociationEnd)
null.aIAssociationEnd - IAssociationEnd instance.null if none could be ascertained.java.util.List getJoinExpressions(IAssociationEnd aIAssociationEnd)
aIAssociationEnd - IAssociationEnd instance.ITableInfo getTableInfoForEntity(IEntity aIEntity)
aIEntity - ITableInfo getTableInfoForEntitySmartMatch(IEntity aIEntity)
nullaIEntity - Reference to entity.null.ITableInfo getTableInfoForManyToManyMiddleTable(IAssociationEnd aIAssociationEnd)
aIAssociationEnd - Many to many IAssociationEndboolean isTable(IEntity aIEntity)
aIEntity - Entity to test.true if entity is mapped to a table.boolean isView(IEntity aIEntity)
aIEntity - Entity to test.true if entity is mapped to a view.void setVocabularyModelAPI(IVocabularyModelAPI aIVocabularyModelAPI)
aIVocabularyModelAPI - Vocabulary model API instance.java.lang.String getVersionColumn(IEntity aIEntity)
aIEntity - Entity reference.null.ITableInfo getDatastoreIdentitySequence(IEntity aIEntity)
aIEntity - Entity reference.null.ITableInfo getValueStrategySequence(IAttribute aIAttribute)
aIAttribute - Attribute reference.null.java.lang.String getDatastoreIdentityStrategy(IEntity aIEntity)
aIEntity - Entity reference.null.java.lang.String getValueStrategy(IAttribute aIAttribute)
aIAttribute - Attribute reference.null.Copyright © 2005-2016 Progress Software Corporation and/or its subsidiaries and affiliates. All rights reserved.