|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.change_vision.jude.api.inf.editor.BasicModelEditor
public BasicModelEditor
Interface to edit (create/delete) UML Models. Throws Exception when invalid models are generated. (e.g. Duplicated models with the same name are created in a package.)
| Method Summary | |
|---|---|
abstract void |
changeParent(INamedElement newParent,
INamedElement element)
Change a parent. |
abstract IArtifact |
createArtifact(IPackage parentPackage,
String name)
Create an Artifact in a parent package. |
abstract IAssociation |
createAssociation(IClass class1,
IClass class2,
String name,
String sourceEndRollName,
String targetEndRollName)
Create an association between classes. |
abstract IAssociationClass |
createAssociationClass(IClass class1,
IClass class2,
String name,
String sourceEndRollName,
String targetEndRollName)
Create an association class between classes. |
abstract IAttribute |
createAttribute(IClass parentClass,
String name,
IClass type)
Create an attribute in a class. |
abstract IAttribute |
createAttribute(IClass parentClass,
String name,
String typeExpression)
Create an attribute in a class. |
abstract IClass |
createClass(IPackage parentPackage,
String name)
Create a class in a parent package. |
abstract IClass |
createClass(IClass parentClass,
String name)
Create a class in a parent class. |
abstract IComponent |
createComponent(IPackage parentPackage,
String name)
Create a Component in a parent package. |
abstract IConstraint |
createConstraint(INamedElement namedElement,
String name)
Create a constraint to a named element. |
abstract IDependency |
createCopyDependency(IRequirement source,
IRequirement target,
String name)
Create a Copy dependency between models. |
abstract IDependency |
createDependency(INamedElement source,
INamedElement target,
String name)
Create a dependency between models. |
abstract IDependency |
createDeriveReqtDependency(IRequirement source,
IRequirement target,
String name)
Create a DeriveReqt dependency between models. |
abstract IGeneralization |
createGeneralization(IClass subClass,
IClass superClass,
String name)
Create a generalization between classes. |
abstract IClass |
createInterface(IPackage parentPackage,
String name)
Create an interface in a parent package. |
abstract IClass |
createInterface(IClass parentClass,
String name)
Create an interface in a parent class. |
abstract IModel |
createModel(IPackage parentPackage,
String name)
Create a model in a parent package. |
abstract INode |
createNode(IPackage parentPackage,
String name)
Create a Node in a parent package. |
abstract IOperation |
createOperation(IClass parentClass,
String name,
IClass returnType)
Create an operation in a class. |
abstract IOperation |
createOperation(IClass parentClass,
String name,
String returnTypeExpression)
Create an operation in a class. |
abstract IPackage |
createPackage(IPackage parentPackage,
String name)
Create a package in a parent package. |
abstract IParameter |
createParameter(IOperation operation,
String name,
IClass type)
Create a parameter in an operation. |
abstract IParameter |
createParameter(IOperation operation,
String name,
String typeExpression)
Create a parameter in an operation. |
abstract IPort |
createPort(IClass owner,
String name)
Create a port in a class. |
abstract IAttribute |
createQualifier(IAttribute attribute,
String name,
IClass type)
Create a qualifier to an attribute. |
abstract IRealization |
createRealization(IClass client,
IClass supplier,
String name)
Create a realization between a class and an interface. |
abstract IDependency |
createRefineDependency(INamedElement source,
IRequirement target,
String name)
Create a Refine dependency between models. |
abstract IRequirement |
createRequirement(IPackage parentPackage,
String name)
Create a Requirement in a parent package. |
abstract IRequirement |
createRequirement(int IRequirement parentRequirement,
int String name)
Create a Requirement in a parent Requirement. |
abstract IDependency |
createSatisfyDependency(INamedElement source,
IRequirement target,
String name)
Create a Satisfy dependency between models. |
abstract IPackage |
createSubsystem(IPackage parentPackage,
String name)
Create a subsystem in a parent package. |
abstract ITaggedValue |
createTaggedValue(IElement element,
String tag,
String value)
Create a tagged value to an element. |
abstract ITemplateBinding |
createTemplateBinding(IClass boundElement,
IClass template)
Create a template binding between a bound element and a class. |
abstract IClassifierTemplateParameter |
createTemplateParameter(IClass klass,
String name,
IClass type,
Object defaultValue)
Create a template parameter in a class. |
abstract IClassifierTemplateParameter |
createTemplateParameter(IClass targetClass,
String name,
String typeString,
Object defaultValue)
Create a template parameter in a class. |
abstract ITestCase |
createTestCase(IPackage parentPackage,
String name)
Create a TestCase in a parent package. |
abstract ITestCase |
createTestCase(ITestCase parentTestCase,
String name)
Create a TestCase in a parent TestCase. |
abstract IDependency |
createTraceDependency(IRequirement source,
IRequirement target,
String name)
Create a Trace dependency between models. |
abstract IUsage |
createUsage(IClass client,
IClass supplier,
String name)
Create a usage between models. |
abstract IDependency |
createVerifyDependency(ITestCase source,
IRequirement target,
String name)
Create a Verify dependency between models. |
abstract void |
delete(IElement element)
Delete models or elements from a project. |
abstract void |
setLanguageCPlus(IModel project,
boolean doApply)
Add/Delete C++ Language from a project. |
abstract void |
setLanguageCSharp(IModel project,
boolean doApply)
Add/Delete C# Language from a project. |
abstract void |
setLanguageJava(IModel project,
boolean doApply)
Add/Delete Java Language from a project. |
| Method Detail |
|---|
abstract IPackage createPackage(IPackage parentPackage,
String name)
parentPackage - Parent Packagename - Package Name
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
NO_NAME_ERROR_KEY - if the name is empty.
NAME_DOUBLE_ERROR_KEY - An element with the same name already exists.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract IModel createModel(IPackage parentPackage,
String name)
parentPackage - Parent Packagename - Model Name
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
NO_NAME_ERROR_KEY - if the name is empty.
NAME_DOUBLE_ERROR_KEY - An element with the same name already exists.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract IPackage createSubsystem(IPackage parentPackage,
String name)
parentPackage - Parent Packagename - Subsystem Name
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
NO_NAME_ERROR_KEY - if the name is empty.
NAME_DOUBLE_ERROR_KEY - An element with the same name already exists.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract IClass createClass(IPackage parentPackage,
String name)
parentPackage - Parent Packagename - Class Name
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
NO_NAME_ERROR_KEY - if the name is empty.
NAME_DOUBLE_ERROR_KEY - An element with the same name already exists.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract IClass createClass(IClass parentClass,
String name)
parentClass - Parent Classname - Class Name
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
NO_NAME_ERROR_KEY - if the name is empty.
NAME_DOUBLE_ERROR_KEY - An element with the same name already exists.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract IClass createInterface(IPackage parentPackage,
String name)
parentPackage - Parent Packagename - Interface Name
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
NO_NAME_ERROR_KEY - if the name is empty.
NAME_DOUBLE_ERROR_KEY - An element with the same name already exists.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract IClass createInterface(IClass parentClass,
String name)
parentClass - Parent Classname - Interface Name
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
NO_NAME_ERROR_KEY - if the name is empty.
NAME_DOUBLE_ERROR_KEY - An element with the same name already exists.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract IAttribute createAttribute(IClass parentClass,
String name,
IClass type)
parentClass - Parent Classname - Attribute Nametype - Attribute Type
InvalidEditingException - InvalidEditingException occurs.
Keys:
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.
NO_NAME_ERROR_KEY - if the name is empty.
NAME_DOUBLE_ERROR_KEY - An element with the same name already exists.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract IPort createPort(IClass owner,
String name)
owner - Port Ownername - Port Name
InvalidEditingException - InvalidEditingException occurs.
Keys:
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.
abstract IAttribute createAttribute(IClass parentClass,
String name,
String typeExpression)
parentClass - Parent Classname - Attribute NametypeExpression - Type Expression
InvalidEditingException - InvalidEditingException occurs.
Keys:
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.
NO_NAME_ERROR_KEY - if the name is empty.
NAME_DOUBLE_ERROR_KEY - An element with the same name already exists.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract IOperation createOperation(IClass parentClass,
String name,
IClass returnType)
parentClass - Parent Classname - Operation NamereturnType - Return Type, Null can be set as return Type to create a constructor.
InvalidEditingException - InvalidEditingException occurs.
Keys:
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.
NO_NAME_ERROR_KEY - if the name is empty.
NAME_DOUBLE_ERROR_KEY - An element with the same name already exists.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract IOperation createOperation(IClass parentClass,
String name,
String returnTypeExpression)
parentClass - ParentClassname - Operation NamereturnTypeExpression - Return Type Expression, "" or null can be set as returnTypeExpression to create a constructor.
InvalidEditingException - InvalidEditingException occurs.
Keys:
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.
NO_NAME_ERROR_KEY - if the name is empty.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract IParameter createParameter(IOperation operation,
String name,
IClass type)
operation - Operationname - Parameter Nametype - Parameter Type
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
NO_NAME_ERROR_KEY - if the name is empty.
NAME_DOUBLE_ERROR_KEY - An element with the same name already exists.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract IParameter createParameter(IOperation operation,
String name,
String typeExpression)
operation - Operationname - Parameter NametypeExpression - Parameter Type Expression
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
NO_NAME_ERROR_KEY - if the name is empty.
NAME_DOUBLE_ERROR_KEY - An element with the same name already exists.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract IAssociation createAssociation(IClass class1,
IClass class2,
String name,
String sourceEndRollName,
String targetEndRollName)
class1 - Start Class of Associationclass2 - End Class of Associationname - Association NamesourceEndRollName - Roll Name of Source EndtargetEndRollName - Roll Name of Target End
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract IAssociationClass createAssociationClass(IClass class1,
IClass class2,
String name,
String sourceEndRollName,
String targetEndRollName)
class1 - Start Class of Associationclass2 - End Class of Associationname - Association Class NamesourceEndRollName - Roll Name of Source EndtargetEndRollName - Roll Name of Target End
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
NO_NAME_ERROR_KEY - if the name is empty.
NAME_DOUBLE_ERROR_KEY - An element with the same name already exists.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract IGeneralization createGeneralization(IClass subClass,
IClass superClass,
String name)
subClass - Sub Class (Child)superClass - Super Class (Parent)name - Generalization Name
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
CLASSIFIER_LOOP_KEY - if a generalization loop is found.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
GENERALIZATION_EXIST_KEY - if a generalization already exist.
LEAF_ERROR_KEY - if a child element is added to a leaf element,
or an element with a child element is set as a leaf.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract IRealization createRealization(IClass client,
IClass supplier,
String name)
client - Class to Realizesupplier - Interfacename - Realization Name
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
REALIZATION_EXIST_KEY - if a realization already exist.
INVALID_REALIZATION_KEY - if a target of a realization is not an interface.
REALIZATION_LOOP_ERROR_KEY - if a realization loops.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract IUsage createUsage(IClass client,
IClass supplier,
String name)
client - Client Modelsupplier - Supplier Modelname - Usage Name
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
USAGE_EXIST_KEY - if a usage already exist.
INVALID_USAGE_KEY - if a target of a usage is not an interface.
USAGE_LOOP_ERROR_KEY - if a usage loops.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract IDependency createDependency(INamedElement source,
INamedElement target,
String name)
source - Source Modeltarget - Target Modelname - Dependency Name
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract ITaggedValue createTaggedValue(IElement element,
String tag,
String value)
element - Elementtag - Tagvalue - Value
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly. When it begins in "astah" or "jude", it becomes the error.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
NO_NAME_ERROR_KEY - if the name is empty.
TAGGEDVALUE_TARGET_ERROR_KEY - if the tagged value cannot be set to the specified model.
NAME_DOUBLE_ERROR_KEY - An element with the same name already exists.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract IConstraint createConstraint(INamedElement namedElement,
String name)
namedElement - Named Elementname - Constraint Name
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
NO_NAME_ERROR_KEY - if the name is empty.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract IAttribute createQualifier(IAttribute attribute,
String name,
IClass type)
attribute - Attributename - Qualifier Nametype - Type
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
NO_ASSOCIATION_END_ERROR_KEY - if an association end does not exist.
NO_NAME_ERROR_KEY - if the name is empty.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract ITemplateBinding createTemplateBinding(IClass boundElement,
IClass template)
boundElement - Bound Elementtemplate - Template Class
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
INVALID_TEMPLATE_KEY - if the target of the template binding is not correct.
TEMPLATEBINDING_LOOP_ERROR_KEY - if the template binding loops.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract IClassifierTemplateParameter createTemplateParameter(IClass klass,
String name,
IClass type,
Object defaultValue)
class - Classname - Template Parameter Nametype - TypedefaultValue - Default Value
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
TEMPLATE_PARAM_DEFAULT_VALUE_ERROR_KEY - if the default value cannot be set to The template parameter.
NO_NAME_ERROR_KEY - if the name is empty.
INVALID_TEMPLATE_KEY - if the target of the template binding is not correct.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract IClassifierTemplateParameter createTemplateParameter(IClass targetClass,
String name,
String typeString,
Object defaultValue)
class - Classname - Template Parameter NametypeString - TypedefaultValue - Default Value
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
TEMPLATE_PARAM_DEFAULT_VALUE_ERROR_KEY - if the default value cannot be set to The template parameter.
NO_NAME_ERROR_KEY - if the name is empty.
INVALID_TEMPLATE_KEY - if the target of the template binding is not correct.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract IRequirement createRequirement(IPackage parentPackage,
String name)
parentPackage - Parent Packagename - Requirement Name
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
NO_NAME_ERROR_KEY - if the name is empty.
NAME_DOUBLE_ERROR_KEY - An element with the same name already exists.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract IRequirement createRequirement(int IRequirement parentRequirement,
int String name)
parentRequirement - Parent Requirementname - Requirement Name
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
NO_NAME_ERROR_KEY - if the name is empty.
NAME_DOUBLE_ERROR_KEY - An element with the same name already exists.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract ITestCase createTestCase(IPackage parentPackage,
String name)
parentPackage - Parent Packagename - TestCase Name
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
NO_NAME_ERROR_KEY - if the name is empty.
NAME_DOUBLE_ERROR_KEY - An element with the same name already exists.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract ITestCase createTestCase(ITestCase parentTestCase,
String name)
parentTestCase - Parent TestCasename - TestCase Name
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
NO_NAME_ERROR_KEY - if the name is empty.
NAME_DOUBLE_ERROR_KEY - An element with the same name already exists.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract IDependency createDeriveReqtDependency(IRequirement source,
IRequirement target,
String name)
source - Source Requirementtarget - Target Requirementname - DeriveReqt Dependency Name
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract IDependency createCopyDependency(IRequirement source,
IRequirement target,
String name)
source - Source Requirementtarget - Target Requirementname - Copy Dependency Name
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract IDependency createSatisfyDependency(INamedElement source,
IRequirement target,
String name)
source - Source Model
[Model]
(Package, Model, Subsystem, Class (Entity, Boundary, Control), Association Class,
Interface, Actor, UseCase, Requirement, TestCase)target - Target Requirementname - Satisfy Dependency Name
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract IDependency createVerifyDependency(ITestCase source,
IRequirement target,
String name)
source - Source TestCasetarget - Target Requirementname - Verify Dependency Name
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract IDependency createRefineDependency(INamedElement source,
IRequirement target,
String name)
source - Source Model
[Model]
(Package, Model, Subsystem, Class (Entity, Boundary, Control), Association Class,
Interface, Actor, UseCase, Requirement, TestCase)target - Target Requirementname - Refine Dependency Name
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract IDependency createTraceDependency(IRequirement source,
IRequirement target,
String name)
source - Source Requirementtarget - Target Requirementname - Trace Dependency Name
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.abstract void delete(IElement element)
element - Element
InvalidEditingException - InvalidEditingException occurs.
Keys:
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
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 changeParent(INamedElement newParent,
INamedElement element)
newParent - New Parentelement - Element
ProjectNotFoundException - Project cannot be found
ClassNotFoundException - Cannot read some models
InvalidEditingException - InvalidEditingException occurs.
Keys:
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
PARAMETER_ERROR_KEY - if a parameter is not set properly.
INVALID_PARENT_KEY - if the parent is invalid.
Values:
Error messages for exceptions.
abstract void setLanguageJava(IModel project,
boolean doApply)
project - ProjectdoApply - add or delete
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
Values:
Error messages for exceptions.
abstract void setLanguageCSharp(IModel project,
boolean doApply)
project - ProjectdoApply - add or delete
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
Values:
Error messages for exceptions.
abstract void setLanguageCPlus(IModel project,
boolean doApply)
project - ProjectdoApply - add or delete
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
Values:
Error messages for exceptions.
abstract INode createNode(IPackage parentPackage,
String name)
parentPackage - Parent Packagename - Node Name
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
NO_NAME_ERROR_KEY - if the name is empty.
NAME_DOUBLE_ERROR_KEY - An element with the same name already exists.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract IComponent createComponent(IPackage parentPackage,
String name)
parentPackage - Parent Packagename - Component Name
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
NO_NAME_ERROR_KEY - if the name is empty.
NAME_DOUBLE_ERROR_KEY - An element with the same name already exists.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.
abstract IArtifact createArtifact(IPackage parentPackage,
String name)
parentPackage - Parent Packagename - Artifact Name
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
NO_NAME_ERROR_KEY - if the name is empty.
NAME_DOUBLE_ERROR_KEY - An element with the same name already exists.
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 | ||||||||