|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.change_vision.jude.api.inf.model.IERRelationship
Interface for ERRelationship.
Field Summary |
Fields inherited from class com.change_vision.jude.api.inf.model.INamedElement |
PACKAGE_VISIBILITY, PRIVATE_VISIBILITY, PROTECTED_VISIBILITY, PUBLIC_VISIBILITY |
Method Summary | |
abstract IEREntity |
getChild()
Get Child Entity. |
abstract IERIndex |
getERIndex()
Get ERIndex. |
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. |
abstract void |
setERIndex(IERIndex erIndex)
Set ERIndex to Relationship. |
abstract void |
setERIndexToPrimarykey()
Set ERIndex to PrimaryKey. |
abstract void |
setForeignKey(IERAttribute parent,
IERAttribute child)
Set Foreign Key to Relationship. |
abstract void |
setLogicalName(String logicalName)
Set Logical Name to Relationship. |
abstract void |
setParentRequired(boolean isParentRequired)
Set if Parent is required. |
abstract void |
setPhysicalName(String physicalName)
Set Physical Name to Relationship |
abstract void |
setVerbPhraseChild(String verbPhrase)
Set Child Verb Phrase to Relationship. |
abstract void |
setVerbPhraseParent(String verbPhrase)
Set Parent Verb Phrase to Relationship. |
Methods inherited from class com.change_vision.jude.api.inf.model.INamedElement |
getAlias1, getAlias2, getClientDependencies, getConstraints, getDefinition, getDiagrams, getName, getSupplierDependencies, isPackageVisibility, isPrivateVisibility, isProtectedVisibility, isPublicVisibility, setAlias1, setAlias2, setDefinition, setName, setVisibility |
Methods inherited from class com.change_vision.jude.api.inf.model.IElement |
addStereotype, getComments, getId, getOwner, getStereotypes, getTaggedValues, getTypeModifier, isReadOnly, removeStereotype, setTypeModifier |
Methods inherited from class com.change_vision.jude.api.inf.model.IHyperlinkOwner |
createElementHyperlink, createFileHyperlink, createURLHyperlink, deleteHyperlink, getHyperlinks |
Method Detail |
public abstract String getLogicalName()
public abstract String getPhysicalName()
public abstract String getVerbPhraseParent()
public abstract String getVerbPhraseChild()
public abstract boolean isIdentifying()
public abstract boolean isNonIdentifying()
public abstract boolean isMultiToMulti()
public abstract boolean isParentRequired()
public abstract IEREntity getParent()
public abstract IEREntity getChild()
public abstract IERAttribute[] getForeignKeys()
public abstract IERIndex getERIndex()
public abstract void setLogicalName(String logicalName)
logicalName
- Logical Name. It should NOT be null.
InvalidEditingException
- InvalidEditingException occurs.
Keys: ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in JUDE/Community. PARAMETER_ERROR_KEY - if a parameter is not set properly. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
public abstract void setPhysicalName(String physicalName)
physicalName
- Physical Name. It should NOT be null.
InvalidEditingException
- InvalidEditingException occurs.
Keys: ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in JUDE/Community. PARAMETER_ERROR_KEY - if a parameter is not set properly. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
public abstract void setVerbPhraseParent(String verbPhrase)
verbPhrase
- Verb Phrase
InvalidEditingException
- InvalidEditingException occurs.
Keys: ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in JUDE/Community. PARAMETER_ERROR_KEY - if a parameter is not set properly. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
public abstract void setVerbPhraseChild(String verbPhrase)
verbPhrase
- Verb Phrase
InvalidEditingException
- InvalidEditingException occurs.
Keys: ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in JUDE/Community. PARAMETER_ERROR_KEY - if a parameter is not set properly. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
public abstract void setParentRequired(boolean isParentRequired)
isParentRequired
- if true, parent is required, otherwise, parent is not required.
InvalidEditingException
- InvalidEditingException occurs.
Keys: ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in JUDE/Community. PARENT_REQUIRED_ERROR_KEY - Parent should be required for an identifying relationships. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
public abstract void setForeignKey(IERAttribute parent, IERAttribute child)
parent
- Parent Attribute. The type and length/precision should be same with the child attribute.child
- Child Attribute
InvalidEditingException
- InvalidEditingException occurs.
Keys: ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in JUDE/Community. PARAMETER_ERROR_KEY - if a parameter is not set properly. IERRElATIONSHIP_SETFORIGENKEY_FAIL_KEY - if a foreign key is not set properly. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
public abstract void setERIndex(IERIndex erIndex)
erIndex
- ERIndex
InvalidEditingException
- InvalidEditingException occurs.
Keys: ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in JUDE/Community. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
public abstract void setERIndexToPrimarykey()
InvalidEditingException
- InvalidEditingException occurs.
Keys: ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in JUDE/Community. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |