com.ibm.di.cdm.core
Class DefaultNamingRuleIdentifier

java.lang.Object
  extended by com.ibm.di.cdm.core.NamingRuleIdentifier
      extended by com.ibm.di.cdm.core.DefaultNamingRuleIdentifier

public class DefaultNamingRuleIdentifier
extends NamingRuleIdentifier

Default implementation used for representing Naming Rule Identifiers (attributes taking part in a naming rule).


Field Summary
 
Fields inherited from class com.ibm.di.cdm.core.NamingRuleIdentifier
attributeName, isRelationshipSource, isRequired, relatedClass, relationshipType
 
Constructor Summary
DefaultNamingRuleIdentifier(String attributeName)
          Constructor.
DefaultNamingRuleIdentifier(String attributeName, String relationshipType, String relatedClass, boolean isRelationshipSource, boolean isRequired)
          Constructor.
 
Method Summary
 
Methods inherited from class com.ibm.di.cdm.core.NamingRuleIdentifier
equals, getAttributeName, getRelatedClass, getRelationshipType, hashCode, isImplicit, isRelationshipSource, isRequired, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultNamingRuleIdentifier

public DefaultNamingRuleIdentifier(String attributeName)
Constructor.

Parameters:
attributeName - the name of the identifier

DefaultNamingRuleIdentifier

public DefaultNamingRuleIdentifier(String attributeName,
                                   String relationshipType,
                                   String relatedClass,
                                   boolean isRelationshipSource,
                                   boolean isRequired)
Constructor.

Parameters:
attributeName - the name of the identifier.
relationshipType - the relationship type.
relatedClass - the related class.
isRelationshipSource - shows if the identifier is source.
isRequired - shows if the identifier is required.