|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.change_vision.jude.api.inf.model.IERRelationship
public 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 String |
getCardinality()
Get Cardinality. |
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 |
setCardinality(String cardinality)
Set Cardinality. |
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, getClientRealizations, getClientUsages, getConstraints, getDefinition, getDiagrams, getFullName, getFullNamespace, getName, getSupplierDependencies, getSupplierRealizations, getSupplierUsages, isPackageVisibility, isPrivateVisibility, isProtectedVisibility, isPublicVisibility, setAlias1, setAlias2, setDefinition, setName, setVisibility |
Methods inherited from class com.change_vision.jude.api.inf.model.IElement |
---|
addStereotype, getComments, getContainer, getContainers, getId, getOwner, getPresentations, getStereotypes, getTaggedValues, getTypeModifier, hasStereotype, isReadOnly, removeStereotype, setTypeModifier |
Methods inherited from class com.change_vision.jude.api.inf.model.IHyperlinkOwner |
---|
createElementHyperlink, createFileHyperlink, createURLHyperlink, deleteHyperlink, getHyperlinks |
Method Detail |
---|
abstract String getLogicalName()
abstract String getPhysicalName()
abstract String getVerbPhraseParent()
abstract String getVerbPhraseChild()
abstract boolean isIdentifying()
abstract boolean isNonIdentifying()
abstract boolean isMultiToMulti()
abstract boolean isParentRequired()
abstract IEREntity getParent()
abstract IEREntity getChild()
abstract IERAttribute[] getForeignKeys()
abstract IERIndex getERIndex()
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 astah* community. PARAMETER_ERROR_KEY - if a parameter is not set properly. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred. READ_ONLY_KEY - if a read-only element is edited.
Values: Error messages for exceptions.
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 astah* community. PARAMETER_ERROR_KEY - if a parameter is not set properly. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred. READ_ONLY_KEY - if a read-only element is edited.
Values: Error messages for exceptions.
abstract void setVerbPhraseParent(String verbPhrase)
verbPhrase
- Verb Phrase
InvalidEditingException
- InvalidEditingException occurs.
Keys: ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in astah* community. PARAMETER_ERROR_KEY - if a parameter is not set properly. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred. READ_ONLY_KEY - if a read-only element is edited.
Values: Error messages for exceptions.
abstract void setVerbPhraseChild(String verbPhrase)
verbPhrase
- Verb Phrase
InvalidEditingException
- InvalidEditingException occurs.
Keys: ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in astah* community. PARAMETER_ERROR_KEY - if a parameter is not set properly. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred. READ_ONLY_KEY - if a read-only element is edited.
Values: Error messages for exceptions.
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 astah* 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. READ_ONLY_KEY - if a read-only element is edited.
Values: Error messages for exceptions.
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 astah* 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. READ_ONLY_KEY - if a read-only element is edited.
Values: Error messages for exceptions.
abstract void setERIndex(IERIndex erIndex)
erIndex
- ERIndex
InvalidEditingException
- InvalidEditingException occurs.
Keys: ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in astah* community. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred. READ_ONLY_KEY - if a read-only element is edited.
Values: Error messages for exceptions.
abstract void setERIndexToPrimarykey()
InvalidEditingException
- InvalidEditingException occurs.
Keys: ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in astah* community. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred. READ_ONLY_KEY - if a read-only element is edited.
Values: Error messages for exceptions.
abstract String getCardinality()
abstract void setCardinality(String cardinality)
cardinality
- Cardinality
0orMore "0orMore" / 1orMore "1orMore" / 0or1 "0or1" / 2 "2" / ... / n "n"
InvalidEditingException
- InvalidEditingException occurs.
InvalidEditingException occurs.
Keys: ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in astah* community. PARAMETER_ERROR_KEY - if a parameter is not set properly. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred. READ_ONLY_KEY - if a read-only element is edited.
Values: Error messages for exceptions.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |