com.change_vision.jude.api.gsn.editor
Interface GsnModelEditor

com.change_vision.jude.api.gsn.editor.GsnModelEditor
All Superinterfaces:
ModelEditor
All Implemented Interfaces:
ModelEditor

public abstract GsnModelEditor
extends ModelEditor

Interface to edit (create/delete) GSN Models. Throws Exception when invalid models are generated.


Method Summary
abstract  IAssumption createAssumption(IModule owner, String identifier)
          Create a Assumption in a parent Module.
abstract  IContext createContext(IModule owner, String identifier)
          Create a Context in a parent Module.
abstract  IGoal createGoal(IModule owner, String identifier)
          Create a Goal in a parent Module.
abstract  IInContextOf createInContextOf(IArgumentAsset source, IArgumentAsset target)
          Create an InContextOf between ArgumentAsset.
abstract  IJustification createJustification(IModule owner, String identifier)
          Create a Justification in a parent Module.
abstract  IModule createModule(IModule owner, String identifier)
          Create a Module in a parent Module.
abstract  ISolution createSolution(IModule owner, String identifier)
          Create a Solution in a parent Module.
abstract  IStrategy createStrategy(IModule owner, String identifier)
          Create a Strategy in a parent Module.
abstract  ISupportedBy createSupportedBy(IArgumentAsset source, IArgumentAsset target)
          Create an SupportedBy between ArgumentAsset.
 
Methods inherited from class com.change_vision.jude.api.inf.editor.ModelEditor
changeParent, delete
 

Method Detail

createGoal

abstract IGoal createGoal(IModule owner,
                          String identifier)
Create a Goal in a parent Module.

Parameters:
owner - Module
identifier - Goal ID
Returns:
Goal
Throws:
InvalidEditingException - InvalidEditingException occurs.
Keys:
       PARAMETER_ERROR_KEY - if a parameter is not set properly.
       INVALID_PARENT_KEY - if the parent is invalid.
       INVALID_OWNER_KEY - if the owner is invalid.
Values:
       Error messages for exceptions.

createStrategy

abstract IStrategy createStrategy(IModule owner,
                                  String identifier)
Create a Strategy in a parent Module.

Parameters:
owner - Module
identifier - Strategy ID
Returns:
Strategy
Throws:
InvalidEditingException - InvalidEditingException occurs.
Keys:
       PARAMETER_ERROR_KEY - if a parameter is not set properly.
       INVALID_PARENT_KEY - if the parent is invalid.
       INVALID_OWNER_KEY - if the owner is invalid.
Values:
       Error messages for exceptions.

createSolution

abstract ISolution createSolution(IModule owner,
                                  String identifier)
Create a Solution in a parent Module.

Parameters:
owner - Module
identifier - Solution ID
Returns:
Solution
Throws:
InvalidEditingException - InvalidEditingException occurs.
Keys:
       PARAMETER_ERROR_KEY - if a parameter is not set properly.
       INVALID_PARENT_KEY - if the parent is invalid.
       INVALID_OWNER_KEY - if the owner is invalid.
Values:
       Error messages for exceptions.

createContext

abstract IContext createContext(IModule owner,
                                String identifier)
Create a Context in a parent Module.

Parameters:
owner - Module
identifier - Context ID
Returns:
Context
Throws:
InvalidEditingException - InvalidEditingException occurs.
Keys:
       PARAMETER_ERROR_KEY - if a parameter is not set properly.
       INVALID_PARENT_KEY - if the parent is invalid.
       INVALID_OWNER_KEY - if the owner is invalid.
Values:
       Error messages for exceptions.

createJustification

abstract IJustification createJustification(IModule owner,
                                            String identifier)
Create a Justification in a parent Module.

Parameters:
owner - Module
identifier - Justification ID
Returns:
Justification
Throws:
InvalidEditingException - InvalidEditingException occurs.
Keys:
       PARAMETER_ERROR_KEY - if a parameter is not set properly.
       INVALID_PARENT_KEY - if the parent is invalid.
       INVALID_OWNER_KEY - if the owner is invalid.
Values:
       Error messages for exceptions.

createAssumption

abstract IAssumption createAssumption(IModule owner,
                                      String identifier)
Create a Assumption in a parent Module.

Parameters:
owner - Module
identifier - Assumption ID
Returns:
Assumption
Throws:
InvalidEditingException - InvalidEditingException occurs.
Keys:
       PARAMETER_ERROR_KEY - if a parameter is not set properly.
       INVALID_PARENT_KEY - if the parent is invalid.
       INVALID_OWNER_KEY - if the owner is invalid.
Values:
       Error messages for exceptions.

createModule

abstract IModule createModule(IModule owner,
                              String identifier)
Create a Module in a parent Module.

Parameters:
owner - Module
identifier - Module ID
Returns:
Module
Throws:
InvalidEditingException - InvalidEditingException occurs.
Keys:
       PARAMETER_ERROR_KEY - if a parameter is not set properly.
       INVALID_PARENT_KEY - if the parent is invalid.
       INVALID_OWNER_KEY - if the owner is invalid.
Values:
       Error messages for exceptions.

createSupportedBy

abstract ISupportedBy createSupportedBy(IArgumentAsset source,
                                        IArgumentAsset target)
Create an SupportedBy between ArgumentAsset.

Parameters:
source - Start ArgumentAsset of SupportedBy
target - End ArgumentAsset of SupportedBy
Returns:
SupportedBy
Throws:
InvalidEditingException - InvalidEditingException occurs.
Values:
       Error messages for exceptions.

createInContextOf

abstract IInContextOf createInContextOf(IArgumentAsset source,
                                        IArgumentAsset target)
Create an InContextOf between ArgumentAsset.

Parameters:
source - Start ArgumentAsset of InContextOf
target - End ArgumentAsset of InContextOf
Returns:
InContextOf
Throws:
InvalidEditingException - InvalidEditingException occurs.
Values:
       Error messages for exceptions.