com.change_vision.jude.api.inf.editor
Interface SysmlModelEditor

com.change_vision.jude.api.inf.editor.SysmlModelEditor

public abstract SysmlModelEditor

Interface to edit (create/delete) Sysml Models.


Method Summary
abstract  void changeParent(INamedElement newParent, INamedElement element)
          Change a parent.
abstract  IClass createActor(IPackage parentPackage, String name)
          Not implemented yet. Create a actor in a parent package.
abstract  IAttribute createActorPart(IBlock parent, String name, IClass type)
          Not implemented yet. Create an Actor Part in a Block.
abstract  IDependency createAllocateDependency(INamedElement source, INamedElement target, String name)
          Create an allocate dependency between models.
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  IBindingConnector createBindingConnector(IAttribute attribute0, IConstraintParameter constraintParameter0, IAttribute attribute1, IConstraintParameter constraintParameter1)
          Not implemented yet. Create a BindingConnector between specified ports.
abstract  IBlock createBlock(IPackage parentPackage, String name)
          Create a Block in a parent package.
abstract  IBlock createBlock(IBlock parentBlock, String name)
          Create a block in a parent block.
abstract  IConnector createConnector(IAttribute part1, IPort port1, IAttribute part2, IPort port2)
          Create a Connector between specified ports.
abstract  IConstraint createConstraint(INamedElement namedElement, String name)
          Create a constraint to a named element.
abstract  IConstraintBlock createConstraintBlock(IPackage parentPackage, String name)
          Create a Constraint Block in a parent package.
abstract  IConstraintBlock createConstraintBlock(IBlock parentBlock, String name)
          Create a Constraint Block in a parent block.
abstract  IConstraintBlock createConstraintBlock(IConstraintBlock parentConstraintBlock, String name)
          Create a Constraint Block in a parent constraint block.
abstract  IConstraintParameter createConstraintParameter(IConstraintBlock parent, String name, IValueType type)
          Create a parameter in a Constraint Block.
abstract  IConstraintParameter createConstraintParameter(IConstraintBlock parent, String name, String typeExpression)
          Not implemented yet. Create a parameter in a Constraint Block.
abstract  IConstraintProperty createConstraintProperty(IClass parentBlock, String name, IConstraintBlock type)
          Create a ConstraintProperty in a Block/ConstraintBlock.
abstract  IConstraintProperty createConstraintProperty(IClass parentBlock, String name, String typeExpression)
          Not implemented yet. Create a ConstraintProperty in a Block/ConstraintBlock.
abstract  IDependency createCopyDependency(IRequirement source, IRequirement target, String name)
          Not implemented yet. 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)
          Not implemented yet. Create a DeriveReqt dependency between models.
abstract  IFlowProperty createFlowProperty(IClass parentBlock, String name, IClass type)
          Create a FlowProperty in a Block/InterfaceBlock.
abstract  IFlowProperty createFlowProperty(IClass parentBlock, String name, String typeExpression)
          Not implemented yet. Create a FlowProperty in a Block/InterfaceBlock.
abstract  IPort createFullPort(IBlock owner, String name)
          Create a full port in a Block.
abstract  IPort createFullPort(IInterfaceBlock owner, String name)
          Create a full port in a Interface Block.
abstract  IGeneralization createGeneralization(IClass subClass, IClass superClass, String name)
          Create a generalization between classes.
abstract  IInstanceSpecification createInstanceSpecification(IPackage parentPackage, String name)
          Create a InstanceSpecification in a parent package.
abstract  IInstanceSpecification createInstanceSpecification(IPackage parentPackage, String name, IClass classifier)
          Create a InstanceSpecification in a parent package.
abstract  ILink createInstanceSpecificationLink(IInstanceSpecification startEnd, IInstanceSpecification endEnd, String name, IAssociation association)
          Create an InstanceSpecification Link between InstanceSpecifications.
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  IInterfaceBlock createInterfaceBlock(IPackage parentPackage, String name)
          Create a Interface Block in a parent package.
abstract  IInterfaceBlock createInterfaceBlock(IBlock parentBlock, String name)
          Create a Interface Block in a parent class.
abstract  IInterfaceBlock createInterfaceBlock(IInterfaceBlock parentInterfaceBlock, String name)
          Create a Interface Block in a parent class.
abstract  IItemFlow createItemFlow(IAttribute part1, IPort port1, IAttribute part2, IPort port2)
          Not implemented yet. Create a ItemFlow between specified ports.
abstract  IModel createModel(IPackage parentPackage, String name)
          Create a Model 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  IAttribute createPart(IBlock parent, String name, IBlock type)
          Create a Part in a Block.
abstract  IAttribute createPart(IBlock parent, String name, String typeExpression)
          Not implemented yet. Create a Part in a Block.
abstract  IPort createPort(IBlock owner, String name)
          Create a port in a Block.
abstract  IPort createPort(IInterfaceBlock owner, String name)
          Create a port in a Interface Block.
abstract  IPort createProxyPort(IBlock owner, String name)
          Create a proxy port in a Block.
abstract  IPort createProxyPort(IInterfaceBlock owner, String name)
          Create a proxy port in a Interface Block.
abstract  IQuantityKind createQuantityKind(IPackage parentPackage, String name)
          Create a QuantityKind in a parent package.
abstract  IQuantityKind createQuantityKind(IBlock parentBlock, String name)
          Not implemented yet. Create a QuantityKind in a parent block.
abstract  IRealization createRealization(IClass client, IClass supplier, String name)
          Create a realization between a class and an interface.
abstract  IRealization createRealization(IPort client, IClass supplier, String name)
          Create a realization between a port and an interface.
abstract  IAttribute createReference(IClass parent, String name, IClass type)
          Create a Reference in a Block/InterfaceBlock.
abstract  IAttribute createReference(IClass parent, String name, String typeExpression)
          Not implemented yet. Create a Reference in a Block/InterfaceBlock.
abstract  IDependency createRefineDependency(INamedElement source, IRequirement target, String name)
          Not implemented yet. Create a Refine dependency between models.
abstract  IRequirement createRequirement(IPackage parentPackage, String name)
          Not implemented yet. Create a Requirement in a parent package.
abstract  IRequirement createRequirement(IRequirement parentRequirement, String name)
          Not implemented yet. Create a Requirement in a parent Requirement.
abstract  IDependency createSatisfyDependency(INamedElement source, IRequirement target, String name)
          Not implemented yet. Create a Satisfy dependency between models.
abstract  ITaggedValue createTaggedValue(IElement element, String tag, String value)
          Create a tagged value to an element.
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)
          Not implemented yet. Create a Trace dependency between models.
abstract  IUnit createUnit(IPackage parentPackage, String name)
          Create a Unit in a parent package.
abstract  IUnit createUnit(IBlock parentBlock, String name)
          Not implemented yet. Create a Unit in a parent block.
abstract  IUsage createUsage(IClass client, IClass supplier, String name)
          Create a usage between models.
abstract  IUsage createUsage(IPort client, IClass supplier, String name)
          Create a usage between a port and an interface.
abstract  IValueAttribute createValueAttribute(IClass parentBlock, String name, IClass type)
          Create a ValueAttribute in a Block.
abstract  IValueAttribute createValueAttribute(IClass parentBlock, String name, String typeExpression)
          Not implemented yet. Create a ValueAttribute in a Block.
abstract  IValueType createValueType(IPackage parentPackage, String name)
          Create a ValueType in a parent package.
abstract  IValueType createValueType(IBlock parentBlock, String name)
          Create a ValueType in a parent block.
abstract  IValueTypeProperty createValueTypeProperty(IValueType parent, String name, IValueType type)
          Create a Property in a ValueType.
abstract  IValueTypeProperty createValueTypeProperty(IValueType parent, String name, String typeExpression)
          Not implemented yet. Create a Property in a ValueType.
abstract  IDependency createVerifyDependency(ITestCase source, IRequirement target, String name)
          Not implemented yet. Create a Verify dependency between models.
abstract  IPackage createViewPackage(IPackage parentPackage, String name)
          Create a view package in a parent package.
abstract  void delete(IElement element)
          Delete models or elements from a project.
abstract  void setPortType(IPort port, String portType)
          Set Port Type to unspecified, full or proxy.
 

Method Detail

createBlock

abstract IBlock createBlock(IPackage parentPackage,
                            String name)
Create a Block in a parent package.

Parameters:
parentPackage - Parent Package
name - Block Name
Returns:
IBlock Block
Throws:
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.

createBlock

abstract IBlock createBlock(IBlock parentBlock,
                            String name)
Create a block in a parent block.

Parameters:
parentBlock - Parent Block
name - Block Name
Returns:
IBlock Block
Throws:
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.

createInterfaceBlock

abstract IInterfaceBlock createInterfaceBlock(IPackage parentPackage,
                                              String name)
Create a Interface Block in a parent package.

Parameters:
parentPackage - Parent Package
name - Interface Block Name
Returns:
IInterfaceBlock Interface Block
Throws:
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.

createInterfaceBlock

abstract IInterfaceBlock createInterfaceBlock(IBlock parentBlock,
                                              String name)
Create a Interface Block in a parent class.

Parameters:
parentBlock - Parent Block
name - Interface Block Name
Returns:
IInterfaceBlock Interface Block
Throws:
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.

createInterfaceBlock

abstract IInterfaceBlock createInterfaceBlock(IInterfaceBlock parentInterfaceBlock,
                                              String name)
Create a Interface Block in a parent class.

Parameters:
parentInterfaceBlock - Parent Interface Block
name - Interface Block Name
Returns:
IInterfaceBlock Interface Block
Throws:
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.

createConstraintBlock

abstract IConstraintBlock createConstraintBlock(IPackage parentPackage,
                                                String name)
Create a Constraint Block in a parent package.

Parameters:
parentPackage - Parent Package
name - Constraint Block Name
Returns:
IConstraintBlock Constraint Block
Throws:
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.

createConstraintBlock

abstract IConstraintBlock createConstraintBlock(IBlock parentBlock,
                                                String name)
Create a Constraint Block in a parent block.

Parameters:
parentBlock - Parent Block
name - Constraint Block Name
Returns:
IConstraintBlock Constraint Block
Throws:
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.

createConstraintBlock

abstract IConstraintBlock createConstraintBlock(IConstraintBlock parentConstraintBlock,
                                                String name)
Create a Constraint Block in a parent constraint block.

Parameters:
parentConstraintBlock - Parent Constraint Block
name - Constraint Block Name
Returns:
IConstraintBlock Constraint Block
Throws:
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.

createConstraintParameter

abstract IConstraintParameter createConstraintParameter(IConstraintBlock parent,
                                                        String name,
                                                        IValueType type)
Create a parameter in a Constraint Block.

Parameters:
parent - Parent Constraint Block
name - Parameter Name
type - Type
Returns:
IConstraintParameter Constraint Parameter
Throws:
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 Block/InterfaceBlock 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.

createConstraintParameter

abstract IConstraintParameter createConstraintParameter(IConstraintBlock parent,
                                                        String name,
                                                        String typeExpression)
Not implemented yet. Create a parameter in a Constraint Block.

Parameters:
parent - Parent Constraint Block
name - Parameter Name
typeExpression - Type expression
Returns:
IConstraintParameter Constraint Parameter
Throws:
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 Block/InterfaceBlock 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.

createValueType

abstract IValueType createValueType(IPackage parentPackage,
                                    String name)
Create a ValueType in a parent package.

Parameters:
parentPackage - Parent Package
name - ValueType Name
Returns:
IValueType ValueType
Throws:
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.

createValueType

abstract IValueType createValueType(IBlock parentBlock,
                                    String name)
Create a ValueType in a parent block.

Parameters:
parentBlock - Parent Block
name - ValueType Name
Returns:
IValueType ValueType
Throws:
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.

createUnit

abstract IUnit createUnit(IPackage parentPackage,
                          String name)
Create a Unit in a parent package.

Parameters:
parentPackage - Parent Package
name - Unit Name
Returns:
IUnit Unit
Throws:
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.

createUnit

abstract IUnit createUnit(IBlock parentBlock,
                          String name)
Not implemented yet. Create a Unit in a parent block.

Parameters:
parentBlock - Parent Block
name - Unit Name
Returns:
IUnit Unit
Throws:
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.

createQuantityKind

abstract IQuantityKind createQuantityKind(IPackage parentPackage,
                                          String name)
Create a QuantityKind in a parent package.

Parameters:
parentPackage - Parent Package
name - QuantityKind Name
Returns:
IQuantityKind QuantityKind
Throws:
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.

createQuantityKind

abstract IQuantityKind createQuantityKind(IBlock parentBlock,
                                          String name)
Not implemented yet. Create a QuantityKind in a parent block.

Parameters:
parentBlock - Parent Block
name - QuantityKind Name
Returns:
IQuantityKind QuantityKind
Throws:
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.

createInstanceSpecification

abstract IInstanceSpecification createInstanceSpecification(IPackage parentPackage,
                                                            String name)
Create a InstanceSpecification in a parent package.

Parameters:
parentPackage - Parent Package
name - InstanceSpecification Name
Returns:
IInstanceSpecification InstanceSpecification
Throws:
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.

createInstanceSpecification

abstract IInstanceSpecification createInstanceSpecification(IPackage parentPackage,
                                                            String name,
                                                            IClass classifier)
Create a InstanceSpecification in a parent package.

Parameters:
parentPackage - Parent Package
name - InstanceSpecification Name
classifier - Base Classifier
Returns:
IInstanceSpecification InstanceSpecification
Throws:
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.

createInstanceSpecificationLink

abstract ILink createInstanceSpecificationLink(IInstanceSpecification startEnd,
                                               IInstanceSpecification endEnd,
                                               String name,
                                               IAssociation association)
Create an InstanceSpecification Link between InstanceSpecifications.

Parameters:
startEnd - Start InstanceSpecification of Link
endEnd - End InstanceSpecification of Link
name - Link Name
association - Base Association
Returns:
ILink InstanceSpecification Link
Throws:
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.

createFlowProperty

abstract IFlowProperty createFlowProperty(IClass parentBlock,
                                          String name,
                                          IClass type)
Create a FlowProperty in a Block/InterfaceBlock.

Parameters:
parentBlock - Parent Block/InterfaceBlock
name - FlowProperty Name
type - FlowProperty Type(Block/ValueType)
Returns:
IFlowProperty FlowProperty
Throws:
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 Block/InterfaceBlock 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.

createFlowProperty

abstract IFlowProperty createFlowProperty(IClass parentBlock,
                                          String name,
                                          String typeExpression)
Not implemented yet. Create a FlowProperty in a Block/InterfaceBlock.

Parameters:
parentBlock - Parent Block/InterfaceBlock
name - FlowProperty Name
typeExpression - Type Expression
Returns:
IFlowProperty FlowProperty
Throws:
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 Block/InterfaceBlock 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.

createValueAttribute

abstract IValueAttribute createValueAttribute(IClass parentBlock,
                                              String name,
                                              IClass type)
Create a ValueAttribute in a Block.

Parameters:
parentBlock - Parent Block
name - ValueAttribute Name
type - ValueAttribute Type(ValueType)
Returns:
IValueAttribute ValueAttribute
Throws:
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 Block 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.

createValueAttribute

abstract IValueAttribute createValueAttribute(IClass parentBlock,
                                              String name,
                                              String typeExpression)
Not implemented yet. Create a ValueAttribute in a Block.

Parameters:
parentBlock - Parent Block
name - ValueAttribute Name
typeExpression - Type Expression
Returns:
IValueAttribute ValueAttribute
Throws:
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 Block 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.

createValueTypeProperty

abstract IValueTypeProperty createValueTypeProperty(IValueType parent,
                                                    String name,
                                                    IValueType type)
Create a Property in a ValueType.

Parameters:
parent - Parent ValueType
name - Property Name
type - Type
Returns:
IValueTypeProperty ValueType Property
Throws:
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 Block/InterfaceBlock 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.

createValueTypeProperty

abstract IValueTypeProperty createValueTypeProperty(IValueType parent,
                                                    String name,
                                                    String typeExpression)
Not implemented yet. Create a Property in a ValueType.

Parameters:
parent - Parent ValueType
name - FlowProperty Name
typeExpression - Type Expression
Returns:
IValueTypeProperty ValueType Property
Throws:
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 Block/InterfaceBlock 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.

createItemFlow

abstract IItemFlow createItemFlow(IAttribute part1,
                                  IPort port1,
                                  IAttribute part2,
                                  IPort port2)
Not implemented yet. Create a ItemFlow between specified ports.

Parameters:
part1 - Part
port1 - Port
part2 - Part
port2 - Port
Returns:
IItemFlow ItemFlow
Throws:
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.
       READ_ONLY_KEY - if a read-only element is edited.
Values:
       Error messages for exceptions.

createBindingConnector

abstract IBindingConnector createBindingConnector(IAttribute attribute0,
                                                  IConstraintParameter constraintParameter0,
                                                  IAttribute attribute1,
                                                  IConstraintParameter constraintParameter1)
Not implemented yet. Create a BindingConnector between specified ports.

Parameters:
attribute0 - constraint property / value property
constraintParameter0 - constraint parameter
attribute1 - constraint property / value property
constraintParameter1 - constraint parameter
Returns:
IBindingConnector BindingConnector
Throws:
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.
       READ_ONLY_KEY - if a read-only element is edited.
Values:
       Error messages for exceptions.

createPackage

abstract IPackage createPackage(IPackage parentPackage,
                                String name)
Create a package in a parent package.

Parameters:
parentPackage - Parent Package
name - Package Name
Returns:
IPackage Package
Throws:
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.

createViewPackage

abstract IPackage createViewPackage(IPackage parentPackage,
                                    String name)
Create a view package in a parent package.

Parameters:
parentPackage - Parent Package
name - Package Name
Returns:
IPackage Package
Throws:
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.

createModel

abstract IModel createModel(IPackage parentPackage,
                            String name)
Create a Model in a parent package.

Parameters:
parentPackage - Parent Package
name - Model Name
Returns:
IModel Model
Throws:
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.

createInterface

abstract IClass createInterface(IPackage parentPackage,
                                String name)
Create an interface in a parent package.

Parameters:
parentPackage - Parent Package
name - Interface Name
Returns:
IClass Interface
Throws:
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.

createInterface

abstract IClass createInterface(IClass parentClass,
                                String name)
Create an interface in a parent class.

Parameters:
parentClass - Parent Class
name - Interface Name
Returns:
IClass Class
Throws:
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.

createAttribute

abstract IAttribute createAttribute(IClass parentClass,
                                    String name,
                                    IClass type)
Create an attribute in a class.

Parameters:
parentClass - Parent Class
name - Attribute Name
type - Attribute Type
Returns:
IAttribute Attribute
Throws:
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.

createPort

abstract IPort createPort(IBlock owner,
                          String name)
Create a port in a Block.

Parameters:
owner - Port Owner
name - Port Name
Returns:
IPort Port
Throws:
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.

createPort

abstract IPort createPort(IInterfaceBlock owner,
                          String name)
Create a port in a Interface Block.

Parameters:
owner - Port Owner
name - Port Name
Returns:
IPort Port
Throws:
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.

createFullPort

abstract IPort createFullPort(IBlock owner,
                              String name)
Create a full port in a Block.

Parameters:
owner - Full Port Owner
name - Full Port Name
Returns:
IPort Full Port
Throws:
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.

createFullPort

abstract IPort createFullPort(IInterfaceBlock owner,
                              String name)
Create a full port in a Interface Block.

Parameters:
owner - Full Port Owner
name - Full Port Name
Returns:
IPort Full Port
Throws:
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.

createProxyPort

abstract IPort createProxyPort(IBlock owner,
                               String name)
Create a proxy port in a Block.

Parameters:
owner - Proxy Port Owner
name - Proxy Port Name
Returns:
IPort Proxy Port
Throws:
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.

createProxyPort

abstract IPort createProxyPort(IInterfaceBlock owner,
                               String name)
Create a proxy port in a Interface Block.

Parameters:
owner - Proxy Port Owner
name - Proxy Port Name
Returns:
IPort Proxy Port
Throws:
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.

createAttribute

abstract IAttribute createAttribute(IClass parentClass,
                                    String name,
                                    String typeExpression)
Create an attribute in a class.

Parameters:
parentClass - Parent Class
name - Attribute Name
typeExpression - Type Expression
Returns:
IAttribute Attribute
Throws:
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.

createOperation

abstract IOperation createOperation(IClass parentClass,
                                    String name,
                                    IClass returnType)
Create an operation in a class.

Parameters:
parentClass - Parent Class
name - Operation Name
returnType - Return Type, Null can be set as return Type to create a constructor.
Returns:
IOperation Operation
Throws:
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.

createOperation

abstract IOperation createOperation(IClass parentClass,
                                    String name,
                                    String returnTypeExpression)
Create an operation in a class.

Parameters:
parentClass - ParentClass
name - Operation Name
returnTypeExpression - Return Type Expression, "" or null can be set as returnTypeExpression to create a constructor.
Returns:
IOperation Operation
Throws:
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.

createParameter

abstract IParameter createParameter(IOperation operation,
                                    String name,
                                    IClass type)
Create a parameter in an operation.

Parameters:
operation - Operation
name - Parameter Name
type - Parameter Type
Returns:
IParameter Parameter
Throws:
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.

createParameter

abstract IParameter createParameter(IOperation operation,
                                    String name,
                                    String typeExpression)
Create a parameter in an operation.

Parameters:
operation - Operation
name - Parameter Name
typeExpression - Parameter Type Expression
Returns:
IParameter Parameter
Throws:
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.

createAssociation

abstract IAssociation createAssociation(IClass class1,
                                        IClass class2,
                                        String name,
                                        String sourceEndRollName,
                                        String targetEndRollName)
Create an association between classes.

Parameters:
class1 - Start Class of Association
class2 - End Class of Association
name - Association Name
sourceEndRollName - Roll Name of Source End
targetEndRollName - Roll Name of Target End
Returns:
IAssociation Association
Throws:
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.

createAssociationClass

abstract IAssociationClass createAssociationClass(IClass class1,
                                                  IClass class2,
                                                  String name,
                                                  String sourceEndRollName,
                                                  String targetEndRollName)
Create an association class between classes.

Parameters:
class1 - Start Class of Association
class2 - End Class of Association
name - Association Class Name
sourceEndRollName - Roll Name of Source End
targetEndRollName - Roll Name of Target End
Returns:
IAssociationClass Association Class
Throws:
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.

createGeneralization

abstract IGeneralization createGeneralization(IClass subClass,
                                              IClass superClass,
                                              String name)
Create a generalization between classes.

Parameters:
subClass - Sub Class (Child)
superClass - Super Class (Parent)
name - Generalization Name
Returns:
IGeneralization Generalization
Throws:
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.

createRealization

abstract IRealization createRealization(IClass client,
                                        IClass supplier,
                                        String name)
Create a realization between a class and an interface.

Parameters:
client - Class to Realize
supplier - Interface
name - Realization Name
Returns:
IRealization Realization
Throws:
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.

createUsage

abstract IUsage createUsage(IClass client,
                            IClass supplier,
                            String name)
Create a usage between models.

Parameters:
client - Client Model
supplier - Supplier Model
name - Usage Name
Returns:
IUsage Usage
Throws:
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.

createDependency

abstract IDependency createDependency(INamedElement source,
                                      INamedElement target,
                                      String name)
Create a dependency between models.

Parameters:
source - Source Model
target - Target Model
name - Dependency Name
Returns:
IDependency Dependency
Throws:
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.

createAllocateDependency

abstract IDependency createAllocateDependency(INamedElement source,
                                              INamedElement target,
                                              String name)
Create an allocate dependency between models.

Parameters:
source - Source Model
target - Target Model
name - Dependency Name
Returns:
IDependency Dependency
Throws:
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.

createDeriveReqtDependency

abstract IDependency createDeriveReqtDependency(IRequirement source,
                                                IRequirement target,
                                                String name)
Not implemented yet. Create a DeriveReqt dependency between models.

Parameters:
source - Source Requirement
target - Target Requirement
name - DeriveReqt Dependency Name
Returns:
IDependency DeriveReqt Dependency
Throws:
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.

createCopyDependency

abstract IDependency createCopyDependency(IRequirement source,
                                          IRequirement target,
                                          String name)
Not implemented yet. Create a Copy dependency between models.

Parameters:
source - Source Requirement
target - Target Requirement
name - Copy Dependency Name
Returns:
IDependency Copy Dependency
Throws:
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.

createSatisfyDependency

abstract IDependency createSatisfyDependency(INamedElement source,
                                             IRequirement target,
                                             String name)
Not implemented yet. Create a Satisfy dependency between models.

Parameters:
source - Source Model [Model] (Package, Model, Subsystem, Class (Entity, Boundary, Control), Association Class, Interface, Actor, UseCase, Requirement, TestCase)
target - Target Requirement
name - Satisfy Dependency Name
Returns:
IDependency Satisfy Dependency
Throws:
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.

createVerifyDependency

abstract IDependency createVerifyDependency(ITestCase source,
                                            IRequirement target,
                                            String name)
Not implemented yet. Create a Verify dependency between models.

Parameters:
source - Source TestCase
target - Target Requirement
name - Verify Dependency Name
Returns:
IDependency Verify Dependency
Throws:
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.

createRefineDependency

abstract IDependency createRefineDependency(INamedElement source,
                                            IRequirement target,
                                            String name)
Not implemented yet. Create a Refine dependency between models.

Parameters:
source - Source Model [Model] (Package, Model, Subsystem, Class (Entity, Boundary, Control), Association Class, Interface, Actor, UseCase, Requirement, TestCase)
target - Target Requirement
name - Refine Dependency Name
Returns:
IDependency Refine Dependency
Throws:
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.

createTraceDependency

abstract IDependency createTraceDependency(IRequirement source,
                                           IRequirement target,
                                           String name)
Not implemented yet. Create a Trace dependency between models.

Parameters:
source - Source Requirement
target - Target Requirement
name - Trace Dependency Name
Returns:
IDependency Trace Dependency
Throws:
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.

createTaggedValue

abstract ITaggedValue createTaggedValue(IElement element,
                                        String tag,
                                        String value)
Create a tagged value to an element.

Parameters:
element - Element
tag - Tag
value - Value
Returns:
ITaggedValue Tagged Value
Throws:
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.

createConstraint

abstract IConstraint createConstraint(INamedElement namedElement,
                                      String name)
Create a constraint to a named element.

Parameters:
namedElement - Named Element
name - Constraint Name
Returns:
IConstraint Constraint
Throws:
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.

createRequirement

abstract IRequirement createRequirement(IPackage parentPackage,
                                        String name)
Not implemented yet. Create a Requirement in a parent package.

Parameters:
parentPackage - Parent Package
name - Requirement Name
Returns:
IRequirement Requirement
Throws:
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.

createRequirement

abstract IRequirement createRequirement(IRequirement parentRequirement,
                                        String name)
Not implemented yet. Create a Requirement in a parent Requirement.

Parameters:
parentRequirement - Parent Requirement
name - Requirement Name
Returns:
IRequirement Requirement
Throws:
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.

createTestCase

abstract ITestCase createTestCase(IPackage parentPackage,
                                  String name)
Create a TestCase in a parent package.

Parameters:
parentPackage - Parent Package
name - TestCase Name
Returns:
ITestCase TestCase
Throws:
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.

createTestCase

abstract ITestCase createTestCase(ITestCase parentTestCase,
                                  String name)
Create a TestCase in a parent TestCase.

Parameters:
parentTestCase - Parent TestCase
name - TestCase Name
Returns:
ITestCase TestCase
Throws:
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.

delete

abstract void delete(IElement element)
Delete models or elements from a project.

Parameters:
element - Element
Throws:
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.

changeParent

abstract void changeParent(INamedElement newParent,
                           INamedElement element)
Change a parent.

Parameters:
newParent - New Parent
element - Element
Throws:
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.

createConnector

abstract IConnector createConnector(IAttribute part1,
                                    IPort port1,
                                    IAttribute part2,
                                    IPort port2)
Create a Connector between specified ports.

Parameters:
part1 - Part
port1 - Port
part2 - Part
port2 - Port
Returns:
IConnector Connector
Throws:
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.
       READ_ONLY_KEY - if a read-only element is edited.
Values:
       Error messages for exceptions.

createRealization

abstract IRealization createRealization(IPort client,
                                        IClass supplier,
                                        String name)
Create a realization between a port and an interface.

Parameters:
client - Port to Realize
supplier - Interface
name - Realization Name
Returns:
IRealization Realization
Throws:
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.

createUsage

abstract IUsage createUsage(IPort client,
                            IClass supplier,
                            String name)
Create a usage between a port and an interface.

Parameters:
client - Client Port
supplier - Supplier Model
name - Usage Name
Returns:
IUsage Usage
Throws:
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.

setPortType

abstract void setPortType(IPort port,
                          String portType)
Set Port Type to unspecified, full or proxy. When set port type to unspecified/full, if type is Interface block, it clears type to null. When set port type to proxy, if type is block, it clears type to null.

Parameters:
port - Port
portType - port's type : unspecified, full or proxy
Throws:
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.
       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.

createPart

abstract IAttribute createPart(IBlock parent,
                               String name,
                               IBlock type)
Create a Part in a Block.

Parameters:
parent - Parent Block
name - Part Name
type - Part Type(Block)
Returns:
IAttribute Part
Throws:
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 Block/InterfaceBlock 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.

createActorPart

abstract IAttribute createActorPart(IBlock parent,
                                    String name,
                                    IClass type)
Not implemented yet. Create an Actor Part in a Block.

Parameters:
parent - Parent Block
name - Part Name
type - Part Type(Actor)
Returns:
IAttribute Part
Throws:
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 Block/InterfaceBlock 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.

createPart

abstract IAttribute createPart(IBlock parent,
                               String name,
                               String typeExpression)
Not implemented yet. Create a Part in a Block.

Parameters:
parent - Parent Block
name - Part Name
typeExpression - Part TypeExpression(Block/actor)
Returns:
IAttribute Part
Throws:
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 Block/InterfaceBlock 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.

createReference

abstract IAttribute createReference(IClass parent,
                                    String name,
                                    IClass type)
Create a Reference in a Block/InterfaceBlock.

Parameters:
parent - Parent Block/InterfaceBlock
name - Part Name
type - Part Type(Block/InterfaceBlock)
Returns:
IAttribute Reference
Throws:
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 Block/InterfaceBlock 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.

createReference

abstract IAttribute createReference(IClass parent,
                                    String name,
                                    String typeExpression)
Not implemented yet. Create a Reference in a Block/InterfaceBlock.

Parameters:
parent - Parent Block/InterfaceBlock
name - Part Name
typeExpression - Part TypeExpression(Block/InterfaceBlock)
Returns:
IAttribute Reference
Throws:
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 Block/InterfaceBlock 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.

createConstraintProperty

abstract IConstraintProperty createConstraintProperty(IClass parentBlock,
                                                      String name,
                                                      IConstraintBlock type)
Create a ConstraintProperty in a Block/ConstraintBlock.

Parameters:
parentBlock - Parent Block/ConstraintBlock
name - ConstraintProperty Name
type - ConstraintProperty Type(Block/ConstraintBlock)
Returns:
IConstraintProperty ConstraintProperty
Throws:
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 Block/InterfaceBlock 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.

createConstraintProperty

abstract IConstraintProperty createConstraintProperty(IClass parentBlock,
                                                      String name,
                                                      String typeExpression)
Not implemented yet. Create a ConstraintProperty in a Block/ConstraintBlock.

Parameters:
parentBlock - Parent Block/ConstraintBlock
name - ConstraintProperty Name
typeExpression - Type Expression
Returns:
IConstraintProperty ConstraintProperty
Throws:
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 Block/InterfaceBlock 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.

createActor

abstract IClass createActor(IPackage parentPackage,
                            String name)
Not implemented yet. Create a actor in a parent package.

Parameters:
parentPackage - Parent Package
name - Actor Name
Returns:
IClass Actor
Throws:
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.