com.semarchy.mdm.runtime.model.logical
Interface IPKAttribute

All Superinterfaces:
IAttribute, IColumnAttribute, IEntityAttribute, IUniquelyNamed, Serializable

public interface IPKAttribute
extends IEntityAttribute, IColumnAttribute

Attribute representing the logical PK of the entity.

Author:
sarod

Field Summary
 
Fields inherited from interface com.semarchy.mdm.runtime.model.logical.IEntityAttribute
ATTRIBUTE_PREFIX
 
Fields inherited from interface com.semarchy.mdm.runtime.model.logical.IUniquelyNamed
SEP
 
Method Summary
 IDGeneratorType getIDGeneratorType()
          For an IEntity with MatchingBehavior.FUZZY_MATCHING this indicates the way Golden IDs are generated.
 PKType getPKType()
          Deprecated. since Convergence MDM 2.1 use IEntity.getMatchingBehavior() and getIDGeneratorType() instead
 int getSequenceStartsWith()
          The Sequence Starts With value when getIDGeneratorType() is IDGeneratorType.SEQUENCE
 boolean isSearchable()
           
 
Methods inherited from interface com.semarchy.mdm.runtime.model.logical.IEntityAttribute
getDeclaringEntity
 
Methods inherited from interface com.semarchy.mdm.runtime.model.logical.IUniquelyNamed
getPrefixedUniqueName, getUniqueName
 
Methods inherited from interface com.semarchy.mdm.runtime.model.common.IColumnAttribute
getDataTypeInfo, getLength, getLogicalType, getLov, getPhysicalName, getPhysicalType, getPrecision, getScale, getValueSeparator, isMultiValued
 
Methods inherited from interface com.semarchy.mdm.runtime.model.common.IAttribute
getName
 

Method Detail

getPKType

PKType getPKType()
Deprecated. since Convergence MDM 2.1 use IEntity.getMatchingBehavior() and getIDGeneratorType() instead

Returns:

getIDGeneratorType

IDGeneratorType getIDGeneratorType()
For an IEntity with MatchingBehavior.FUZZY_MATCHING this indicates the way Golden IDs are generated. For an IEntity with MatchingBehavior.EXACT_ID_MATCHING this indicates how IDs are generated in Data Entry.

Returns:

getSequenceStartsWith

int getSequenceStartsWith()
The Sequence Starts With value when getIDGeneratorType() is IDGeneratorType.SEQUENCE

Returns:

isSearchable

boolean isSearchable()
Returns:
true if the current attribute was declared as a searchable attribute (included in Search)


Copyright © 2015. All Rights Reserved.