|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 IEnumerationValueType |
createEnumeration(IPackage parentPackage,
String name)
Create an EnumerationValueType in a parent package. |
abstract IEnumerationValueType |
createEnumeration(IBlock parentBlock,
String name)
Create an EnumerationValueType in a parent Block. |
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(IConnector connector,
String name,
IClass[] conveyeds,
boolean reversed)
Create an ItemFlow for the specified Connector. |
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 |
---|
abstract IBlock createBlock(IPackage parentPackage, String name)
parentPackage
- Parent Packagename
- Block 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 IBlock createBlock(IBlock parentBlock, String name)
parentBlock
- Parent Blockname
- Block 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 IInterfaceBlock createInterfaceBlock(IPackage parentPackage, String name)
parentPackage
- Parent Packagename
- Interface Block 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 IInterfaceBlock createInterfaceBlock(IBlock parentBlock, String name)
parentBlock
- Parent Blockname
- Interface Block 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 IInterfaceBlock createInterfaceBlock(IInterfaceBlock parentInterfaceBlock, String name)
parentInterfaceBlock
- Parent Interface Blockname
- Interface Block 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 IConstraintBlock createConstraintBlock(IPackage parentPackage, String name)
parentPackage
- Parent Packagename
- Constraint Block 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 IConstraintBlock createConstraintBlock(IBlock parentBlock, String name)
parentBlock
- Parent Blockname
- Constraint Block 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 IConstraintBlock createConstraintBlock(IConstraintBlock parentConstraintBlock, String name)
parentConstraintBlock
- Parent Constraint Blockname
- Constraint Block 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 IConstraintParameter createConstraintParameter(IConstraintBlock parent, String name, IValueType type)
parent
- Parent Constraint Blockname
- Parameter 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_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.
abstract IConstraintParameter createConstraintParameter(IConstraintBlock parent, String name, String typeExpression)
parent
- Parent Constraint Blockname
- Parameter 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 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.
abstract IValueType createValueType(IPackage parentPackage, String name)
parentPackage
- Parent Packagename
- ValueType 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 IValueType createValueType(IBlock parentBlock, String name)
parentBlock
- Parent Blockname
- ValueType 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 IUnit createUnit(IPackage parentPackage, String name)
parentPackage
- Parent Packagename
- Unit 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 IUnit createUnit(IBlock parentBlock, String name)
parentBlock
- Parent Blockname
- Unit 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 IQuantityKind createQuantityKind(IPackage parentPackage, String name)
parentPackage
- Parent Packagename
- QuantityKind 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 IQuantityKind createQuantityKind(IBlock parentBlock, String name)
parentBlock
- Parent Blockname
- QuantityKind 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 IInstanceSpecification createInstanceSpecification(IPackage parentPackage, String name)
parentPackage
- Parent Packagename
- InstanceSpecification 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 IInstanceSpecification createInstanceSpecification(IPackage parentPackage, String name, IClass classifier)
parentPackage
- Parent Packagename
- InstanceSpecification Nameclassifier
- Base Classifier
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 ILink createInstanceSpecificationLink(IInstanceSpecification startEnd, IInstanceSpecification endEnd, String name, IAssociation association)
startEnd
- Start InstanceSpecification of LinkendEnd
- End InstanceSpecification of Linkname
- Link Nameassociation
- Base Association
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 IFlowProperty createFlowProperty(IClass parentBlock, String name, IClass type)
parentBlock
- Parent Block/InterfaceBlockname
- FlowProperty Nametype
- FlowProperty Type(Block/ValueType)
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.
abstract IFlowProperty createFlowProperty(IClass parentBlock, String name, String typeExpression)
parentBlock
- Parent Block/InterfaceBlockname
- FlowProperty 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 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.
abstract IValueAttribute createValueAttribute(IClass parentBlock, String name, IClass type)
parentBlock
- Parent Blockname
- ValueAttribute Nametype
- ValueAttribute Type(ValueType)
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.
abstract IValueAttribute createValueAttribute(IClass parentBlock, String name, String typeExpression)
parentBlock
- Parent Blockname
- ValueAttribute 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 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.
abstract IValueTypeProperty createValueTypeProperty(IValueType parent, String name, IValueType type)
parent
- Parent ValueTypename
- Property 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_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.
abstract IValueTypeProperty createValueTypeProperty(IValueType parent, String name, String typeExpression)
parent
- Parent ValueTypename
- FlowProperty 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 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.
abstract IItemFlow createItemFlow(IConnector connector, String name, IClass[] conveyeds, boolean reversed)
connector
- Connectorname
- Nameconveyeds
- Conveyed Classesreversed
- the direction of the Item Flow
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.
abstract IBindingConnector createBindingConnector(IAttribute attribute0, IConstraintParameter constraintParameter0, IAttribute attribute1, IConstraintParameter constraintParameter1)
attribute0
- constraint property / value propertyconstraintParameter0
- constraint parameterattribute1
- constraint property / value propertyconstraintParameter1
- constraint parameter
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.
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 IPackage createViewPackage(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 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(IBlock 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 IPort createPort(IInterfaceBlock 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 IPort createFullPort(IBlock owner, String name)
owner
- Full Port Ownername
- Full 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 IPort createFullPort(IInterfaceBlock owner, String name)
owner
- Full Port Ownername
- Full 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 IPort createProxyPort(IBlock owner, String name)
owner
- Proxy Port Ownername
- Proxy 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 IPort createProxyPort(IInterfaceBlock owner, String name)
owner
- Proxy Port Ownername
- Proxy 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 IDependency createAllocateDependency(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 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 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 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(IRequirement parentRequirement, 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 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
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 IConnector createConnector(IAttribute part1, IPort port1, IAttribute part2, IPort port2)
part1
- Partport1
- Portpart2
- Partport2
- Port
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.
abstract IRealization createRealization(IPort client, IClass supplier, String name)
client
- Port 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(IPort client, IClass supplier, String name)
client
- Client Portsupplier
- 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 void setPortType(IPort port, String portType)
port
- PortportType
- port's type : unspecified, full or proxy
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.
abstract IAttribute createPart(IBlock parent, String name, IBlock type)
parent
- Parent Blockname
- Part Nametype
- Part Type(Block)
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.
abstract IAttribute createActorPart(IBlock parent, String name, IClass type)
parent
- Parent Blockname
- Part Nametype
- Part Type(Actor)
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.
abstract IAttribute createPart(IBlock parent, String name, String typeExpression)
parent
- Parent Blockname
- Part NametypeExpression
- Part TypeExpression(Block/actor)
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.
abstract IAttribute createReference(IClass parent, String name, IClass type)
parent
- Parent Block/InterfaceBlockname
- Part Nametype
- Part Type(Block/InterfaceBlock)
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.
abstract IAttribute createReference(IClass parent, String name, String typeExpression)
parent
- Parent Block/InterfaceBlockname
- Part NametypeExpression
- Part TypeExpression(Block/InterfaceBlock)
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.
abstract IConstraintProperty createConstraintProperty(IClass parentBlock, String name, IConstraintBlock type)
parentBlock
- Parent Block/ConstraintBlockname
- ConstraintProperty Nametype
- ConstraintProperty Type(Block/ConstraintBlock)
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.
abstract IConstraintProperty createConstraintProperty(IClass parentBlock, String name, String typeExpression)
parentBlock
- Parent Block/ConstraintBlockname
- ConstraintProperty 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 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.
abstract IClass createActor(IPackage parentPackage, String name)
parentPackage
- Parent Packagename
- Actor 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 IEnumerationValueType createEnumeration(IPackage parentPackage, String name)
parentPackage
- Parent Packagename
- EnumerationValueType Name
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. 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. READ_ONLY_KEY - if a read-only element is edited.
Values: Error messages for exceptions.
abstract IEnumerationValueType createEnumeration(IBlock parentBlock, String name)
parentBlock
- Parent Blockname
- EnumerationValueType Name
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. 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. READ_ONLY_KEY - if a read-only element is edited.
Values: Error messages for exceptions.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |