|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.change_vision.jude.api.inf.model.ITemplateBinding
public abstract ITemplateBinding
Interface for Template Binding.
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 void |
addActualParameter(IClassifierTemplateParameter param,
Object actual)
Add Actual Parameter. |
abstract void |
addQualifiedActualParameter(IClassifierTemplateParameter param,
Object actual)
Add Qualified Actual Parameter. |
abstract Map<K,V> |
getActualMap()
Get Actual Map of the Template Binding |
abstract String |
getActualParameterTypeModifier(IClassifierTemplateParameter param)
get Actual's TypeModifier from the param. |
abstract IClass |
getBoundElement()
Get Bound Element. |
abstract Map<K,V> |
getQualifiedActualMap()
Get Qualified Actual Map of the Template Binding |
abstract IClass |
getTemplate()
Get Template Class. |
abstract void |
removeActualParameter(IClassifierTemplateParameter param)
Remove Actual Parameter. |
abstract void |
setActualParameterTypeModifier(IClassifierTemplateParameter param,
String typeModifier)
Set Actual Parameter's Type Modifier. |
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, getTaggedValue, 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 IClass getBoundElement()
abstract IClass getTemplate()
abstract Map<K,V> getActualMap()
abstract Map<K,V> getQualifiedActualMap()
abstract void addActualParameter(IClassifierTemplateParameter param, Object actual)
param
- Template Parameteractual
- Actual Parameter
if type(type of the parameter) is Unspecified, it can be any class existed in the project if type is a primitive type, it should be a String value here. if type is a normal class, it should be the class or one of it's subclasses. if type is an anonymous bound class, same or related bound class can NOT be set here because of loop. Otherwise, InvalidEditingException will be occurred.
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. ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal. NO_TARGET_CLASSIFIER_KEY - if target classifier doesn't exist. FORBID_SUBSYSTEM_KEY - if a subsystem is set to a template parameter. TEMPLATE_PARAM_ACTUAL_VALUE_ERROR_KEY - if an actual value cannot be set to a template parameter. INVALID_PARAMETER_KEY - if a parameter cannot be set to a template class. ANONYMOUS_BOUND_CLASS_LOOP_KEY - if an anonymous bound class loops. MUST_SUB_CLASS_ERROR_KEY - if the type of parameter is not a sub class. 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 addQualifiedActualParameter(IClassifierTemplateParameter param, Object actual)
param
- Template Parameteractual
- Actual Parameter
if type(type of the parameter) is Unspecified, it can be any class existed in the project if type is a primitive type, it should be a String value here. if type is a normal class, it should be the class or one of it's subclasses. if type is an anonymous bound class, same or related bound class can NOT be set here because of loop. Otherwise, InvalidEditingException will be occurred.
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. ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal. NO_TARGET_CLASSIFIER_KEY - if target classifier doesn't exist. FORBID_SUBSYSTEM_KEY - if a subsystem is set to a template parameter. TEMPLATE_PARAM_ACTUAL_VALUE_ERROR_KEY - if an actual value cannot be set to a template parameter. INVALID_PARAMETER_KEY - if a parameter cannot be set to a template class. ANONYMOUS_BOUND_CLASS_LOOP_KEY - if an anonymous bound class loops. MUST_SUB_CLASS_ERROR_KEY - if the type of parameter is not a sub class. 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 removeActualParameter(IClassifierTemplateParameter param)
param
- Template Parameter
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. ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal. INVALID_PARAMETER_KEY - if a parameter cannot be set to a template class. 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 setActualParameterTypeModifier(IClassifierTemplateParameter param, String typeModifier)
param
- Template ParametertypeModifier
- Type Modifier
InvalidEditingException
- InvalidEditingException occurs.
Keys: ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in astah* community. INVALID_TYPE_MODIFIER_MODEL_ERROR_KEY - if a Type Modifier cannot be set to the model. 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 getActualParameterTypeModifier(IClassifierTemplateParameter param)
param
- Template Parameter
InvalidEditingException
- InvalidEditingException occurs.
Values: Error messages for exceptions.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |