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

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

public final class AttributeNames
extends Object

Utility methods to access builtin view attribute names

Author:
sarod

Field Summary
static String BATCH_ID_ATTRIBUTE
           
static String BRANCHID_ATTRIBUTE
           
static String CLASSNAME_ATTRIBUTE
           
static String CONSTRAINT_NAME_ATTRIBUTE
           
static String CONSTRAINT_TYPE_ATTRIBUTE
           
static String CRE_DATE_ATTRIBUTE
           
static String CREATOR_ATTRIBUTE
           
static String FID_PREFIX
           
static String GOLD_PREFIX
           
static String IS_CONFIRMED_ATTRIBUTE
           
static String IS_NEW_ATTRIBUTE
           
static String LOAD_ID_ATTRIBUTE
           
static String MASTERS_COUNT_ATTRIBUTE
           
static String ORIGINAL_BATCH_ID_ATTRIBUTE
           
static String PUBLISHER_ID_ATTRIBUTE
          Deprecated. use publisherIdName(IView) instead
static String PUBLISHERID_PREFIX
           
static String SDL_STATUS_VALUE_HUB
          The value the attribute STATUS_ATTRIBUTE can take when an SDL data row actually come from the MDM Hub and not from the SDE.
static String SOURCE_ID_ATTRIBUTE
          Deprecated. use sourceIdName(IView) instead
static String SOURCEID_PREFIX
           
static String STATUS_ATTRIBUTE
           
static String UPD_DATE_ATTRIBUTE
           
static String UPDATOR_ATTRIBUTE
           
 
Method Summary
static String batchId(IView view)
           
static String constraintName(IView view)
           
static String constraintType(IView view)
           
static String goldenIdName(IView view)
           
static boolean hasBatchId(IView view)
           
static boolean hasConstraintName(IView view)
           
static boolean hasConstraintType(IView view)
           
static boolean hasGoldenId(IView view)
          Return if the view has a Golden Id attribute.
static boolean hasLoadId(IView view)
           
static boolean hasPublisherId(IView view)
           
static boolean hasReferencedForeignDisplayName(IManyToOneNode manyToOneNode)
           
static boolean hasReferencedGoldenId(IManyToOneNode manyToOneNode)
           
static boolean hasReferencedPublisherId(IManyToOneNode manyToOneNode)
           
static boolean hasReferencedSourceId(IManyToOneNode manyToOneNode)
           
static boolean hasSourceId(IView view)
           
static String idAttribute(IView view)
          Obtain the attribute representing the id on a given view.
static String loadId(IView view)
           
static String publisherIdName(IView view)
           
static String referencedForeignDisplayName(IManyToOneNode manyToOneNode)
           
static String referencedGoldenIdName(IManyToOneNode manyToOneNode)
           
static String referencedIdName(IManyToOneNode manyToOneNode)
           
static String referencedPublisherdIdName(IForeignAttribute foreignAttribute)
           
static String referencedPublisherdIdName(IManyToOneNode manyToOneNode)
           
static String referencedSourceIdName(IForeignAttribute foreignAttribute)
           
static String referencedSourceIdName(IManyToOneNode manyToOneNode)
           
static String sourceIdName(IView view)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FID_PREFIX

public static final String FID_PREFIX
See Also:
Constant Field Values

GOLD_PREFIX

public static final String GOLD_PREFIX
See Also:
Constant Field Values

PUBLISHERID_PREFIX

public static final String PUBLISHERID_PREFIX
See Also:
Constant Field Values

SOURCEID_PREFIX

public static final String SOURCEID_PREFIX
See Also:
Constant Field Values

PUBLISHER_ID_ATTRIBUTE

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

SOURCE_ID_ATTRIBUTE

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

IS_CONFIRMED_ATTRIBUTE

public static final String IS_CONFIRMED_ATTRIBUTE
See Also:
Constant Field Values

IS_NEW_ATTRIBUTE

public static final String IS_NEW_ATTRIBUTE
See Also:
Constant Field Values

CLASSNAME_ATTRIBUTE

public static final String CLASSNAME_ATTRIBUTE
See Also:
Constant Field Values

BRANCHID_ATTRIBUTE

public static final String BRANCHID_ATTRIBUTE
See Also:
Constant Field Values

CREATOR_ATTRIBUTE

public static final String CREATOR_ATTRIBUTE
See Also:
Constant Field Values

UPDATOR_ATTRIBUTE

public static final String UPDATOR_ATTRIBUTE
See Also:
Constant Field Values

CRE_DATE_ATTRIBUTE

public static final String CRE_DATE_ATTRIBUTE
See Also:
Constant Field Values

UPD_DATE_ATTRIBUTE

public static final String UPD_DATE_ATTRIBUTE
See Also:
Constant Field Values

LOAD_ID_ATTRIBUTE

public static final String LOAD_ID_ATTRIBUTE
See Also:
Constant Field Values

BATCH_ID_ATTRIBUTE

public static final String BATCH_ID_ATTRIBUTE
See Also:
Constant Field Values

CONSTRAINT_NAME_ATTRIBUTE

public static final String CONSTRAINT_NAME_ATTRIBUTE
See Also:
Constant Field Values

CONSTRAINT_TYPE_ATTRIBUTE

public static final String CONSTRAINT_TYPE_ATTRIBUTE
See Also:
Constant Field Values

STATUS_ATTRIBUTE

public static final String STATUS_ATTRIBUTE
See Also:
Constant Field Values

ORIGINAL_BATCH_ID_ATTRIBUTE

public static final String ORIGINAL_BATCH_ID_ATTRIBUTE
See Also:
Constant Field Values

MASTERS_COUNT_ATTRIBUTE

public static final String MASTERS_COUNT_ATTRIBUTE
See Also:
Constant Field Values

SDL_STATUS_VALUE_HUB

public static final String SDL_STATUS_VALUE_HUB
The value the attribute STATUS_ATTRIBUTE can take when an SDL data row actually come from the MDM Hub and not from the SDE.

See Also:
Constant Field Values
Method Detail

idAttribute

public static String idAttribute(IView view)
Obtain the attribute representing the id on a given view.

Parameters:
view -
Returns:

hasGoldenId

public static boolean hasGoldenId(IView view)
Return if the view has a Golden Id attribute.

Parameters:
view -
Returns:

goldenIdName

public static String goldenIdName(IView view)

hasPublisherId

public static boolean hasPublisherId(IView view)

publisherIdName

public static String publisherIdName(IView view)

hasSourceId

public static boolean hasSourceId(IView view)

sourceIdName

public static String sourceIdName(IView view)

referencedIdName

public static String referencedIdName(IManyToOneNode manyToOneNode)

hasReferencedGoldenId

public static boolean hasReferencedGoldenId(IManyToOneNode manyToOneNode)

referencedGoldenIdName

public static String referencedGoldenIdName(IManyToOneNode manyToOneNode)

hasReferencedPublisherId

public static boolean hasReferencedPublisherId(IManyToOneNode manyToOneNode)

referencedPublisherdIdName

public static String referencedPublisherdIdName(IManyToOneNode manyToOneNode)

referencedPublisherdIdName

public static String referencedPublisherdIdName(IForeignAttribute foreignAttribute)

hasReferencedSourceId

public static boolean hasReferencedSourceId(IManyToOneNode manyToOneNode)

referencedSourceIdName

public static String referencedSourceIdName(IManyToOneNode manyToOneNode)

referencedSourceIdName

public static String referencedSourceIdName(IForeignAttribute foreignAttribute)

referencedForeignDisplayName

public static String referencedForeignDisplayName(IManyToOneNode manyToOneNode)

hasReferencedForeignDisplayName

public static boolean hasReferencedForeignDisplayName(IManyToOneNode manyToOneNode)

hasBatchId

public static boolean hasBatchId(IView view)

batchId

public static String batchId(IView view)

hasLoadId

public static boolean hasLoadId(IView view)

loadId

public static String loadId(IView view)

hasConstraintName

public static boolean hasConstraintName(IView view)

constraintName

public static String constraintName(IView view)

hasConstraintType

public static boolean hasConstraintType(IView view)

constraintType

public static String constraintType(IView view)


Copyright © 2015. All Rights Reserved.