com.change_vision.jude.api.inf.model
Interface IERRelationship

com.change_vision.jude.api.inf.model.IERRelationship
All Implemented Interfaces:
IElement, INamedElement

public IERRelationship
extends INamedElement

Interface for ERRelationship.


Method Summary
abstract  IEREntity getChild()
          Get Child Entity.
abstract  IERAttribute[] getForeignKeys()
          Get foreign keys.
abstract  String getLogicalName()
          Get Logical Name.
abstract  IEREntity getParent()
          Get Parent Entity.
abstract  String getPhysicalName()
          Get Physical Name.
abstract  String getVerbPhraseChild()
          Get Verb Phrase(Child to Parent).
abstract  String getVerbPhraseParent()
          Get Verb Phrase(Parent to Child).
abstract  boolean isIdentifying()
          Check if the relationship is Identifying.
abstract  boolean isMultiToMulti()
          Check if the relationship is Many-to-Many.
abstract  boolean isNonIdentifying()
          Check if the relationship is Non-Identifying.
abstract  boolean isParentRequired()
          Check if the attribute is@Parent required.
 
Methods inherited from class com.change_vision.jude.api.inf.model.INamedElement
getClientDependencies, getConstraints, getDefinition, getDiagrams, getName, getSupplierDependencies, isPackageVisibility, isPrivateVisibility, isProtectedVisibility, isPublicVisibility
 
Methods inherited from class com.change_vision.jude.api.inf.model.IElement
getComments, getId, getOwner, getStereotypes, getTaggedValues
 

Method Detail

getLogicalName

public abstract String getLogicalName()
Get Logical Name.

Returns:
Logical Name.

getPhysicalName

public abstract String getPhysicalName()
Get Physical Name.

Returns:
Physical Name. Return null in case there is none.

getVerbPhraseParent

public abstract String getVerbPhraseParent()
Get Verb Phrase(Parent to Child).

Returns:
Verb Phrase(Parent to Child). Return null in case there is none.

getVerbPhraseChild

public abstract String getVerbPhraseChild()
Get Verb Phrase(Child to Parent).

Returns:
Verb Phrase(Child to Parent). Return null in case there is none.

isIdentifying

public abstract boolean isIdentifying()
Check if the relationship is Identifying.

Returns:
true it is Identifying / false it is not Identitying

isNonIdentifying

public abstract boolean isNonIdentifying()
Check if the relationship is Non-Identifying.

Returns:
true it is Non-Identifying / false it is not Non-Identitying

isMultiToMulti

public abstract boolean isMultiToMulti()
Check if the relationship is Many-to-Many.

Returns:
true it is Many-to-Many / false it is not Many-to-Many

isParentRequired

public abstract boolean isParentRequired()
Check if the attribute is@Parent required.

Returns:
true it is Parent required / false it is not Parent required

getParent

public abstract IEREntity getParent()
Get Parent Entity.

Returns:
Parent Enity.

getChild

public abstract IEREntity getChild()
Get Child Entity.

Returns:
Child Enity.

getForeignKeys

public abstract IERAttribute[] getForeignKeys()
Get foreign keys.

Returns:
the array of foreign keys. Return the empty array if there is none.