com.semarchy.mdm.runtime.model.dataaccess
Class DataAccessModelConstants

java.lang.Object
  extended by com.semarchy.mdm.runtime.model.dataaccess.DataAccessModelConstants

public final class DataAccessModelConstants
extends Object

This class centralize the template implementation specific data.

Author:
sarod

Field Summary
static String BATCH_ID_ATTRIBUTE
          Deprecated. use AttributeNames
static String BRANCHID_ATTRIBUTE
          Deprecated. use AttributeNames
static String CLASSNAME_ATTRIBUTE
          Deprecated. use AttributeNames
static String CONSTRAINT_NAME_ATTRIBUTE
          Deprecated. use AttributeNames
static String CONSTRAINT_TYPE_ATTRIBUTE
          Deprecated. use AttributeNames
static String CRE_DATE_ATTRIBUTE
          Deprecated. use AttributeNames
static String CREATOR_ATTRIBUTE
          Deprecated. use AttributeNames
static String DU_VIEW_TYPE
          Deprecated. use ViewTypes
static String GD_VIEW_TYPE
          Deprecated. use ViewTypes
static String GE_VIEW_TYPE
          Deprecated. use ViewTypes
static String GI_VIEW_TYPE
          Deprecated. use ViewTypes
static String IS_CONFIRMED_ATTRIBUTE
          Deprecated. Use AttributeNames.IS_CONFIRMED_ATTRIBUTE instead
static String IS_NEW_ATTRIBUTE
          Deprecated. use AttributeNames
static String LINEAGE_GoldenRecord
           
static String LINEAGE_IntegrationMasterRecords
           
static String LINEAGE_MasterRecords
           
static String LINEAGE_PostConsolidationErrors
           
static String LINEAGE_SourceErrors
           
static String LINEAGE_SourceRecords
           
static String LOAD_ID_ATTRIBUTE
          Deprecated. use AttributeNames
static String MD_VIEW_TYPE
          Deprecated. use ViewTypes
static String MI_VIEW_TYPE
          Deprecated. use ViewTypes
static String PUBLISHER_ID_ATTRIBUTE
          Deprecated. use AttributeNames.publisherIdName(IView)
static Collection<String> ROW_LEVEL_SEC_VIEW_TYPES
          View types supporting row level security
static String SD_VIEW_TYPE
          Deprecated. use ViewTypes
static String SDE_VIEW_TYPE
          Deprecated. use ViewTypes
static String SDL_VIEW_TYPE
          Deprecated. use ViewTypes
static String SE_VIEW_TYPE
          Deprecated. use ViewTypes
static String SOURCE_ID_ATTRIBUTE
          Deprecated. use AttributeNames.sourceIdName(IView)
static String STATUS_ATTRIBUTE
          Deprecated. use AttributeNames
static String UG_VIEW_TYPE
          Deprecated. use ViewTypes
static String UM_VIEW_TYPE
          Deprecated. use ViewTypes
static String UPD_DATE_ATTRIBUTE
          Deprecated. use AttributeNames
static String UPDATOR_ATTRIBUTE
          Deprecated. use AttributeNames
 
Method Summary
static IView getDataEntryView(IEntity pEntity, IDataAccessModel dataAccessModel)
          Deprecated. use IDataAccessModel.getDataEntryView(IEntity) instead
static String getGoldenIDAttrName(IView view)
          Deprecated. use {@link AttributeNames#goldenIdName(IView)
static String getSourceIDAttrName(IView view)
          Deprecated. replaced by AttributeNames.sourceIdName(IView)
static List<IViewExprAttribute<?>> getTablePKAttributes(IView pView)
          Return the list of ViewAttributes composing the EntityRowID.
static String getToFDNAttributeName(IManyToOneNode pNode)
          Deprecated. replaced by AttributeNames.referencedForeignDisplayName(IManyToOneNode)
static String getToGoldenAttributeName(IManyToOneNode pNode)
          Deprecated. replaced by AttributeNames.referencedPublisherdIdName(IManyToOneNode)
static String getToSDPKPublisherIDAttributeName(IManyToOneNode pNode)
          Deprecated. replaced by AttributeNames.referencedPublisherdIdName(IManyToOneNode)
static String getToSDPKSourceIDAttributeName(IManyToOneNode pNode)
          Deprecated. replaced by AttributeNames.referencedSourceIdName(IManyToOneNode)
static String getToUDPKAttributeName(IManyToOneNode pNode)
          Deprecated. replaced by AttributeNames.referencedIdName(IManyToOneNode)
static String getUDPKIDAttributeName(IView pUDPKView)
          Deprecated. replaced by AttributeNames.goldenIdName(IView)
protected static RuntimeException unsupportedViewType(String viewType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GD_VIEW_TYPE

public static final String GD_VIEW_TYPE
Deprecated. use ViewTypes
See Also:
Constant Field Values

MD_VIEW_TYPE

public static final String MD_VIEW_TYPE
Deprecated. use ViewTypes
See Also:
Constant Field Values

SD_VIEW_TYPE

public static final String SD_VIEW_TYPE
Deprecated. use ViewTypes
See Also:
Constant Field Values

GI_VIEW_TYPE

public static final String GI_VIEW_TYPE
Deprecated. use ViewTypes
See Also:
Constant Field Values

MI_VIEW_TYPE

public static final String MI_VIEW_TYPE
Deprecated. use ViewTypes
See Also:
Constant Field Values

UG_VIEW_TYPE

public static final String UG_VIEW_TYPE
Deprecated. use ViewTypes
See Also:
Constant Field Values

UM_VIEW_TYPE

public static final String UM_VIEW_TYPE
Deprecated. use ViewTypes
See Also:
Constant Field Values

SDE_VIEW_TYPE

public static final String SDE_VIEW_TYPE
Deprecated. use ViewTypes
See Also:
Constant Field Values

SDL_VIEW_TYPE

public static final String SDL_VIEW_TYPE
Deprecated. use ViewTypes
See Also:
Constant Field Values

DU_VIEW_TYPE

public static final String DU_VIEW_TYPE
Deprecated. use ViewTypes
See Also:
Constant Field Values

SE_VIEW_TYPE

public static final String SE_VIEW_TYPE
Deprecated. use ViewTypes
See Also:
Constant Field Values

GE_VIEW_TYPE

public static final String GE_VIEW_TYPE
Deprecated. use ViewTypes
See Also:
Constant Field Values

LINEAGE_IntegrationMasterRecords

public static final String LINEAGE_IntegrationMasterRecords
See Also:
Constant Field Values

LINEAGE_GoldenRecord

public static final String LINEAGE_GoldenRecord
See Also:
Constant Field Values

LINEAGE_MasterRecords

public static final String LINEAGE_MasterRecords
See Also:
Constant Field Values

LINEAGE_SourceErrors

public static final String LINEAGE_SourceErrors
See Also:
Constant Field Values

LINEAGE_SourceRecords

public static final String LINEAGE_SourceRecords
See Also:
Constant Field Values

LINEAGE_PostConsolidationErrors

public static final String LINEAGE_PostConsolidationErrors
See Also:
Constant Field Values

IS_CONFIRMED_ATTRIBUTE

public static final String IS_CONFIRMED_ATTRIBUTE
Deprecated. Use AttributeNames.IS_CONFIRMED_ATTRIBUTE instead
See Also:
Constant Field Values

IS_NEW_ATTRIBUTE

public static final String IS_NEW_ATTRIBUTE
Deprecated. use AttributeNames
See Also:
Constant Field Values

CLASSNAME_ATTRIBUTE

public static final String CLASSNAME_ATTRIBUTE
Deprecated. use AttributeNames
See Also:
Constant Field Values

BRANCHID_ATTRIBUTE

public static final String BRANCHID_ATTRIBUTE
Deprecated. use AttributeNames
See Also:
Constant Field Values

CREATOR_ATTRIBUTE

public static final String CREATOR_ATTRIBUTE
Deprecated. use AttributeNames
See Also:
Constant Field Values

UPDATOR_ATTRIBUTE

public static final String UPDATOR_ATTRIBUTE
Deprecated. use AttributeNames
See Also:
Constant Field Values

CRE_DATE_ATTRIBUTE

public static final String CRE_DATE_ATTRIBUTE
Deprecated. use AttributeNames
See Also:
Constant Field Values

UPD_DATE_ATTRIBUTE

public static final String UPD_DATE_ATTRIBUTE
Deprecated. use AttributeNames
See Also:
Constant Field Values

LOAD_ID_ATTRIBUTE

public static final String LOAD_ID_ATTRIBUTE
Deprecated. use AttributeNames
See Also:
Constant Field Values

BATCH_ID_ATTRIBUTE

public static final String BATCH_ID_ATTRIBUTE
Deprecated. use AttributeNames
See Also:
Constant Field Values

CONSTRAINT_NAME_ATTRIBUTE

public static final String CONSTRAINT_NAME_ATTRIBUTE
Deprecated. use AttributeNames
See Also:
Constant Field Values

CONSTRAINT_TYPE_ATTRIBUTE

public static final String CONSTRAINT_TYPE_ATTRIBUTE
Deprecated. use AttributeNames
See Also:
Constant Field Values

STATUS_ATTRIBUTE

public static final String STATUS_ATTRIBUTE
Deprecated. use AttributeNames
See Also:
Constant Field Values

PUBLISHER_ID_ATTRIBUTE

public static final String PUBLISHER_ID_ATTRIBUTE
Deprecated. use AttributeNames.publisherIdName(IView)
See Also:
Constant Field Values

SOURCE_ID_ATTRIBUTE

public static final String SOURCE_ID_ATTRIBUTE
Deprecated. use AttributeNames.sourceIdName(IView)
See Also:
Constant Field Values

ROW_LEVEL_SEC_VIEW_TYPES

public static final Collection<String> ROW_LEVEL_SEC_VIEW_TYPES
View types supporting row level security

Method Detail

getToSDPKPublisherIDAttributeName

public static String getToSDPKPublisherIDAttributeName(IManyToOneNode pNode)
Deprecated. replaced by AttributeNames.referencedPublisherdIdName(IManyToOneNode)

Parameters:
pNode -
Returns:

getToSDPKSourceIDAttributeName

public static String getToSDPKSourceIDAttributeName(IManyToOneNode pNode)
Deprecated. replaced by AttributeNames.referencedSourceIdName(IManyToOneNode)

Parameters:
pNode -
Returns:

getToFDNAttributeName

public static String getToFDNAttributeName(IManyToOneNode pNode)
Deprecated. replaced by AttributeNames.referencedForeignDisplayName(IManyToOneNode)

Parameters:
pNode -
Returns:

getToUDPKAttributeName

public static String getToUDPKAttributeName(IManyToOneNode pNode)
Deprecated. replaced by AttributeNames.referencedIdName(IManyToOneNode)

Parameters:
pNode -
Returns:

getToGoldenAttributeName

public static String getToGoldenAttributeName(IManyToOneNode pNode)
Deprecated. replaced by AttributeNames.referencedPublisherdIdName(IManyToOneNode)

Parameters:
pNode -
Returns:

getUDPKIDAttributeName

public static String getUDPKIDAttributeName(IView pUDPKView)
Deprecated. replaced by AttributeNames.goldenIdName(IView)

Parameters:
pNode -
Returns:

getTablePKAttributes

public static List<IViewExprAttribute<?>> getTablePKAttributes(IView pView)
Return the list of ViewAttributes composing the EntityRowID. That is the list of attributes that are identifying a record in the scope of

Parameters:
pView -
Returns:

getSourceIDAttrName

public static String getSourceIDAttrName(IView view)
Deprecated. replaced by AttributeNames.sourceIdName(IView)

Parameters:
pNode -
Returns:

unsupportedViewType

protected static RuntimeException unsupportedViewType(String viewType)

getDataEntryView

public static IView getDataEntryView(IEntity pEntity,
                                     IDataAccessModel dataAccessModel)
Deprecated. use IDataAccessModel.getDataEntryView(IEntity) instead

Parameters:
pEntity -
dataAccessModel -
Returns:

getGoldenIDAttrName

public static String getGoldenIDAttrName(IView view)
Deprecated. use {@link AttributeNames#goldenIdName(IView)

Return the Golden Identifier Attribute in the view.

Parameters:
view -
Returns:


Copyright © 2015. All Rights Reserved.