Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

com.gentleware.poseidon.uml.model_management

Class Uml1SmFactory

com.gentleware.poseidon.uml.model_management.Uml1SmFactory
All known implemented Interfaces:
SmFactory


public class Uml1SmFactory


Created: 27.01.2003 13:54:31

Authors:
Stephen Kelvin


 Attribute Summary
public static short  ACC_FINAL
 
public static String  DEFAULT_ATTRIBUTE_TYPE
 
public static String  DEFAULT_COLLECTION_TYPE
 
public static String  DEFAULT_OPERATION_RETURN_TYPE
 
public static String  DEFAULT_PARAMETER_TYPE
 
private Map  metaclassMap
 
arrow_up
 

 Association Summary
private UmlProject  _project
 
private ActivityGraphsPackage  m1ActivityPackage
 
private CommonBehaviorPackage  m1BehaviorPackage
 
private CollaborationsPackage  m1CollaborationsPackage
 
private CorePackage  m1CorePackage
 
private DataTypesPackage  m1DataTypesPackage
 
private ModelManagementPackage  m1ModelManagementPackage
 
private StateMachinesPackage  m1StatesPackage
 
private UseCasesPackage  m1UseCasesPackage
 
arrow_up
 

 Constructor Summary
public   Uml1SmFactory(UmlProject project, RefPackage umlRootPackage)
 
public   Uml1SmFactory(UmlProject project)
 
arrow_up
 

 Method Summary
public void   clearTagDefinitionMap()
 
public Abstraction   createAbstraction(SmId id, ModelElement client, ModelElement supplier)
 
public Dependency   createAccessorDependency(SmId id, Attribute attr, Operation op)
Creates a dependency with the stereotype 'accessor' between the given attribute and operation. 
public Action   createAction(SmId id, RefClass actionClass)
 
public Action   createAction(SmId id, RefClass actionClass, Namespace namespace)
 
public Action   createAction(SmId id, Class actionClass)
 
public Action   createAction(SmId id, Class actionClass, Namespace namespace)
 
public ActionExpression   createActionExpression(SmId actionExpressionSmId, String language, String body)
Creates a new action expression for the given language with the given body. 
public ActionState   createActionState(SmId actionStateSmId, SmId entryActionSmId, SmId entryActionExpressionSmId)
 
public ActionState   createActionState(SmId actionStateSmId, SmId entryActionSmId, SmId entryActionExpressionSmId, RefClass entryActionClass)
Creates an action state with an empty entry action of the given tpye (for example CallAction, ActionSequence)  
public ActivityGraph   createActivityGraph(SmId id)
 
public ActivityGraph   createActivityGraph(SmId id, ModelElement context)
 
public Actor   createActor(SmId id)
 
public Actor   createActor(SmId id, String name)
 
public Actor   createActor(SmId id, Namespace namespace)
 
public Actor   createActor(SmId id, String name, Namespace namespace)
 
public UmlAssociation   createAssociation(SmId id, Classifier c1, Classifier c2)
THIS METHOD MUST NOT BE CALLED FROM COMMANDS!  
public UmlAssociation   createAssociation(SmId id, Classifier c1, boolean nav1, Classifier c2, boolean nav2)
THIS METHOD MUST NOT BE CALLED FROM COMMANDS!  
public UmlAssociation   createAssociation(SmId id)
 
public AssociationClass   createAssociationClass(SmId id, Namespace namespace)
 
public AssociationClass   createAssociationClass(SmId id, Classifier c1, Classifier c2, Namespace namespace)
 
public AssociationEnd   createAssociationEnd(boolean navigable, Classifier participant, boolean createMultiplicity)
NOTE: THIS METHOD MUST NOT BE CALLED FROM COMMANDS  
public AssociationEnd   createAssociationEnd(SmId associationEndSmId, boolean navigable, Classifier participant, boolean createMultiplicity)
 
public AssociationEnd   createAssociationEnd(SmId associationEndSmId, boolean navigable, Classifier participant, ScopeKind scope, ChangeableKind changeability, boolean createMultiplicity)
 
public UmlAssociation   createAssociationIntoNamespace(SmId id, Namespace namespace)
 
public AssociationRole   createAssociationRole(SmId id)
Create new association role. 
public AssociationRole   createAssociationRole(SmId id, UmlAssociation base)
Create new association role with the given association as its base. 
public final AssociationRole   createAssociationRole(SmId id, ClassifierRole source, ClassifierRole target)
Create new association role connecting the given classifier roles. 
public AssociationRole   createAssociationRole(SmId id, UmlAssociation base, ClassifierRole source, ClassifierRole target)
THIS METHOD IS NOT COMMAND-SAFE, DO NO USE FROM A COMMAND!  
public Attribute   createAttribute(SmId id)
 
public Attribute   createAttribute(SmId id, String name)
 
public Attribute   createAttribute(SmId id, Classifier owner, String name)
Creates a new attribute with default type, default name, private visibility, and instance scope. 
public Attribute   createAttribute(SmId id, Classifier owner, String name, Classifier type, ScopeKind ownerScope, VisibilityKind visibility, ChangeableKind changability)
Creates a new attribute with default type, default name, private visibility, and instance scope. 
public Attribute   createAttribute(SmId id, Classifier owner)
 
public Binding   createBinding(SmId id, ModelElement client, ModelElement supplier)
 
public BooleanExpression   createBooleanExpression(SmId id, String language, String body)
Creates a new boolean expression for the given language with the given body. 
public UmlClass   createClass(SmId id, String name, Namespace namespace)
 
public UmlClass   createClass(SmId id, String name)
 
public UmlClass   createClass(SmId id, Namespace namespace)
 
public UmlClass   createClass(SmId id)
 
public Classifier   createClassifier(SmId id, Class classifierClass, String name, Namespace namespace)
Creates a classifier of a given classifier class. 
public ClassifierInState   createClassifierInState(SmId smId, Classifier type)
 
public ClassifierRole   createClassifierRole(SmId id, Classifier base)
Creates a new classifier role based on the given classifier. 
public Collaboration   createCollaboration(SmId id)
 
public Comment   createComment(SmId id)
 
public Component   createComponent(SmId id, Namespace namespace)
 
public ComponentInstance   createComponentInstance(SmId id)
 
public CompositeState   createCompositeState(SmId id)
 
public Constraint   createConstraint(SmId id)
 
public Constraint   createConstraint(SmId constraintSmId, String name, SmId expressionSmId, String language, String expression)
 
public DataType   createDataType(SmId id, Namespace namespace)
 
public DataType   createDataType(SmId id, String name, Namespace namespace)
 
private void   createDefaultReturnParameter(Operation oper)
 
public TagDefinition   createDefinedTag(Stereotype stereo, String tagName, String tagType)
 
public TagDefinition   createDefinedTag(SmId id, Stereotype stereo, String tagName, String tagType)
Creates a new TagDefinition and associates it with a stereotype. 
public Dependency   createDependency(SmId id)
 
public Dependency   createDependency(SmId id, ModelElement client, ModelElement supplier)
 
public RefObject   createElement(SmId id, RefClass elementClass, RefObject owner, String name)
Create a new model element of the given Class using a default constsetIructor. 
public Event   createEvent(SmId id, Class eventClass)
 
public Event   createEvent(SmId id, Class eventClass, State state)
Creates a new Event for the given state. 
public Expression   createExpression(SmId id, String language, String body)
Creates a new expression for the given language with the given body. 
public Expression   createExpression(SmId id, String language, String body, Class expressionClass)
Creates a new expression object of the given type for the given language with the given body. 
public Extend   createExtend(SmId id, UseCase base, UseCase extension)

Build an extend relationship. 

public ExtensionPoint   createExtensionPoint(SmId id, UseCase useCase)
 
public FinalState   createFinalState(SmId id)
 
public Generalization   createGeneralization(SmId id)
 
public Generalization   createGeneralization(SmId id, GeneralizableElement child, GeneralizableElement parent)
 
public Guard   createGuard(SmId id)
 
public Include   createInclude(SmId id, UseCase base, UseCase addition)

Build an include relationship. 

public Interface   createInterface(SmId id, Namespace namespace)
 
public Interface   createInterface(SmId id, String name, Namespace namespace)
 
public IterationExpression   createIterationExpression(SmId id, String language, String body)
Creates a new iteration expression for the given language with the given body. 
public Link   createLink(SmId id, Instance from, Instance to)
WARNING: THIS METHOD MUST NOT BE CALLED FROM COMMANDS  
public Link   createLink(SmId id, SmId linkEnd0SmId, SmId linkEnd1SmId, Instance from, Instance to)
 
public Message   createMessage(SmId id, AssociationRole ar, String sequenceNumber)
 
public Message   createMessage(SmId id, String name)
 
public Method   createMethod(SmId id, Operation op)
 
public Model   createModel(SmId id)
 
public Multiplicity   createMultiplicity(SmId id, Multicity multicity)
 
public Multiplicity   createMultiplicity(SmId multiplicityRangeSmId, SmId multiplicitySmId, int low, int high)
Creates a multiplicity element of range low..high  
public Multiplicity   createMultiplicity(SmId id, String ranges)
Creates a multiplicity element of a given range  
public MultiplicityRange   createMultiplicityRange(SmId id, Multiplicity multiplicity, int low, int high)
 
public MultiplicityRange   createMultiplicityRange(SmId id, int low, int high)
 
public Node   createNode(SmId id)
 
public NodeInstance   createNodeInstance(SmId id)
 
public Object   createObject(SmId id)
Create a new object. 
public Object   createObject(SmId id, Classifier base)
Create a new object bound to the given classifier. 
public ObjectFlowState   createObjectFlowState(SmId id)
 
public ObjectSetExpression   createObjectSetExpression(SmId id, String language, String body)
Creates a new Object set expression for the given language with the given body. 
public Operation   createOperation(SmId id)
Creates a new operation with nothing set to any default value at all. 
public Operation   createOperation(SmId id, Classifier owner)
Creates a new operation with a default name, return type void, and a java body. 
public Operation   createOperation(SmId id, Classifier owner, String opName, String returnParameterType, Collection params, String bodyText)
 
public Operation   createOperation(SmId id, Classifier owner, String opName, Parameter returnParameter, Collection params, String bodyText)
 
public Operation   createOperation(SmId smId, Classifier owner, String opName, Parameter returnParameter, Collection params, String bodyText, SmId procedureExpressionSmId, SmId methodSmId)

Creates an operation and adds it to the feature-list of the given classifier. 

public UmlPackage   createPackage(SmId id)
 
public UmlPackage   createPackage(SmId id, String name)
 
public UmlPackage   createPackage(SmId id, Namespace namespace)
 
public UmlPackage   createPackage(SmId id, String name, Namespace namespace)
 
public Parameter   createParameter(SmId parameterSmId)
Creates a default-named parameter of type int, kind INOUT. 
public Parameter   createParameter(SmId id, Event event)
Creates a default-named parameter of type int, kind INOUT, for the given event. 
public Parameter   createParameter(SmId parameterSmId, BehavioralFeature feature)
Creates a default-named parameter of type int, kind INOUT, for the given feature. 
public Parameter   createParameter(SmId id, Classifier type)
 
public Parameter   createParameter(SmId id, Classifier type, String name, short modifiers)
 
public Parameter   createParameter(SmId id, Classifier type, String name, SmId finalTaggedValueSmId, ParameterDirectionKind direction)
 
public ProcedureExpression   createProcedureExpression(SmId id, String language, String body)
Creates a new procedure expression for the given language with the given body. 
public Pseudostate   createPseudostate(SmId id, String kind)
 
public Pseudostate   createPseudostate(SmId id, PseudostateKind kind)
 
public Attribute   createRawAttribute(SmId id, Classifier owner)
 
public Parameter   createRawParameter(SmId parameterSmId)
 
public Parameter   createRawParameter(SmId parameterSmId, String name, Expression defaultValue, ParameterDirectionKind directionKind)
 
public Usage   createRawUsage(SmId id)
 
public Abstraction   createRealization(SmId id)
 
public Abstraction   createRealization(SmId id, SmId realizationStereotypeSmId)
 
public Abstraction   createRealization(SmId id, ModelElement client, ModelElement supplier)
 
public Abstraction   createRealization(SmId id, ModelElement client, ModelElement supplier, SmId realizationStereotypeSmId)
 
public Parameter   createReturnParameter(SmId id, Classifier type)
 
public Signal   createSignal(SmId id)
 
public SimpleState   createSimpleState(SmId id)
 
public State   createState(SmId id, RefClass stateClass)
Creates a new state of the desired type. 
public StateMachine   createStateMachine(SmId stateMachineSmId, ModelElement context)
Creates a new state machine for the given context. 
public Stereotype   createStereotype(SmId id)
Creates new stereotype without a namespace or a name (!). 
public Stereotype   createStereotype(SmId id, String name)
Creates new stereotype without a namespace (!). 
public Stereotype   createStereotype(String name)
Creates new stereotype without a namespace (!). 
public Stereotype   createStereotype(SmId id, Namespace namespace)
Creates new stereotype without a namespace (!). 
public Stereotype   createStereotype(SmId id, String name, Namespace namespace, String baseClass)
Creates a new stereotype with name, namespace and desired baseclass. 
public Stereotype   createStereotype(SmId id, String name, Namespace namespace)
Always creates new stereotype, never does a lookup to return an existing one. 
public Stimulus   createStimulus(SmId id)
 
public Stimulus   createStimulus(SmId id, Link communicationLink, Instance sender, Instance receiver, Action action)
 
public StubState   createStubState(SmId id)
Creates a new stub state. 
public StubState   createStubState(SmId id, String refState)
Creates a new stub state with a reference to the given state. 
public SynchState   createSynchState(SmId id)
Creates a new synch state. 
public SynchState   createSynchState(SmId id, int bound)
Creates a new synch state with a bound number. 
public TagDefinition   createTagDefinition(String tagName, Stereotype owner)
Creates a new, free-floating TagDefinition. 
public TagDefinition   createTagDefinition(String tagName, SmId tagDefinitionSmId, Stereotype owner)
Creates a new, free-floating TagDefinition. 
public TagDefinition   createTagDefinition(String tagName, String tagType, SmId tagDefinitionSmId, Stereotype owner)
Creates a new, free-floating TagDefinition. 
public TagDefinition   createTagDefinitionNoMultiplicity(String tagName, String tagType, SmId tagDefinitionSmId, Stereotype owner)
 
public TaggedValue   createTaggedValue(String tag, String value)
 
public TaggedValue   createTaggedValue(SmId taggedValueId, ModelElement owner, String tag, String taggedValueDataValue)
 
public TaggedValue   createTaggedValue(SmId TaggedValueId, ModelElement owner, String tagType, String tag, String taggedValueDataValue)
 
public TaggedValue   createTaggedValue(SmId TaggedValueId, TagDefinition tagDefinition, String taggedValueDataValue, ModelElement owner)
 
public TemplateArgument   createTemplateArgument(SmId id, Binding bind, ModelElement modelElement)
 
public TimeExpression   createTimeExpression(SmId id, String language, String body)
Creates a new boolean expression for the given language with the given body. 
public Transition   createTransition(SmId id)
Create a new transition. 
public Transition   createTransition(SmId id, StateVertex target, StateVertex source)
Creates a new transition connecting the given state vertexes. 
public Transition   createTransition(SmId id, StateVertex target, StateVertex source, StateMachine statemachine)
 
public Transition   createTransition(SmId id, SmId signalSendActionSmId, StateVertex target, StateVertex source, StateMachine statemachine)
Creates a transition with an effect send action, representing a send signal. 
public UmlException   createUmlException(SmId id)
 
public Usage   createUsage(SmId id, ModelElement client, ModelElement supplier)
 
public UseCase   createUseCase(SmId id)
 
public UseCase   createUseCase(SmId id, String name)
 
public UseCase   createUseCase(SmId id, Namespace namespace)
 
public UseCase   createUseCase(SmId id, String name, Namespace namespace)
 
public ActivityGraphsPackage   getActivityGraphsPackage()
Returns the meta object for the uml activity graph package. 
private String   getClassName(Class c)
Returns the name of the class without package prefix  
public CollaborationsPackage   getCollaborationsPackage()
Returns the meta object for the uml collaboration package. 
public CommonBehaviorPackage   getCommonBehaviorPackage()
Returns the meta object for the uml common behavior package. 
public CorePackage   getCorePackage()
Returns the meta object for the uml core package. 
public DataTypesPackage   getDataTypesPackage()
Returns the meta object for the uml data types package. 
public ModelManagementPackage   getModelManagementPackage()
Returns the meta object for the uml model management package. 
public static ResourceId   getNewNameResourceId(RefObject element)
 
public SmId   getNextSmId()
use this method only to create smids during command-execution. 
public StateMachinesPackage   getStateMachinesPackage()
Returns the meta object for the uml states package. 
public TagDefinition   getTagDefinition(String tagName, RefObject owner)
 
public UseCasesPackage   getUseCasePackage()
Returns the meta object for the uml use case package. 
private void   handleParameters(Collection params, Operation oper)
 
public boolean   hasDefaultName(ModelElement element)
 
private void   initAndAttachAction(Action action, SmId id, Namespace namespace)
 
private RefClass   refGetElement(RefPackage umlPackage, String umlName)
Returns the reclass element specified by the uml class name aand the containing package  
public Dependency   removeAccessorDependency(SmId id, Attribute attr, Operation op)
Creates a dependency with the stereotype 'accessor' between the given attribute and operation. 
public void   removeTagDefinitionFromMap(TagDefinition tagDefinition)
 
public String   toString()
 
arrow_up
 

Tagged Values
static false
 

 Attribute Detail

ACC_FINAL

public static short ACC_FINAL

arrow_up


DEFAULT_ATTRIBUTE_TYPE

public static String DEFAULT_ATTRIBUTE_TYPE

arrow_up


DEFAULT_COLLECTION_TYPE

public static String DEFAULT_COLLECTION_TYPE

arrow_up


DEFAULT_OPERATION_RETURN_TYPE

public static String DEFAULT_OPERATION_RETURN_TYPE

arrow_up


DEFAULT_PARAMETER_TYPE

public static String DEFAULT_PARAMETER_TYPE

arrow_up


metaclassMap

private Map metaclassMap

arrow_up
 Association Detail

_project

private UmlProject _project

arrow_up


m1ActivityPackage

private ActivityGraphsPackage m1ActivityPackage

arrow_up


m1BehaviorPackage

private CommonBehaviorPackage m1BehaviorPackage

arrow_up


m1CollaborationsPackage

private CollaborationsPackage m1CollaborationsPackage

arrow_up


m1CorePackage

private CorePackage m1CorePackage

arrow_up


m1DataTypesPackage

private DataTypesPackage m1DataTypesPackage

arrow_up


m1ModelManagementPackage

private ModelManagementPackage m1ModelManagementPackage

arrow_up


m1StatesPackage

private StateMachinesPackage m1StatesPackage

arrow_up


m1UseCasesPackage

private UseCasesPackage m1UseCasesPackage

arrow_up
 Constructor Detail

Uml1SmFactory

public Uml1SmFactory Uml1SmFactory(UmlProject project, RefPackage umlRootPackage)

Parameters:
project -
umlRootPackage -
Returns:
arrow_up


Uml1SmFactory

public Uml1SmFactory Uml1SmFactory(UmlProject project)

Parameters:
project -
Returns:
arrow_up
 Method Detail

clearTagDefinitionMap

public void clearTagDefinitionMap()

Deprecated.
we don't use that map anymore - so we don't need this method too.
arrow_up


createAbstraction

public Abstraction createAbstraction(SmId id, ModelElement client, ModelElement supplier)

Parameters:
id -
client -
supplier -
Returns:
arrow_up


createAccessorDependency

public Dependency createAccessorDependency(SmId id, Attribute attr, Operation op)


Creates a dependency with the stereotype 'accessor' between the given attribute and operation. The operation is only allowed to be an accessor for one attribute.

Do not use this method directly!! You should always use the AccessorMethodsHelper.  

Parameters:
id -
attr -
op -
Returns:
arrow_up


createAction

public Action createAction(SmId id, RefClass actionClass)

Parameters:
id -
actionClass -
Returns:
arrow_up


createAction

public Action createAction(SmId id, RefClass actionClass, Namespace namespace)

Parameters:
id -
actionClass -
namespace -
Returns:
arrow_up


createAction

public Action createAction(SmId id, Class actionClass)

Parameters:
id -
actionClass -
Returns:
arrow_up


createAction

public Action createAction(SmId id, Class actionClass, Namespace namespace)

Parameters:
id -
actionClass -
namespace -
Returns:
arrow_up


createActionExpression

public ActionExpression createActionExpression(SmId actionExpressionSmId, String language, String body)


Creates a new action expression for the given language with the given body.  
Parameters:
actionExpressionSmId - theSmId the new actionExpressions will be associated to
language - The language of the new expression.
body - The body of the new expression.
Returns:
The new expression.
arrow_up


createActionState

public ActionState createActionState(SmId actionStateSmId, SmId entryActionSmId, SmId entryActionExpressionSmId)

Parameters:
actionStateSmId -
entryActionSmId -
entryActionExpressionSmId -
Returns:
arrow_up


createActionState

public ActionState createActionState(SmId actionStateSmId, SmId entryActionSmId, SmId entryActionExpressionSmId, RefClass entryActionClass)


Creates an action state with an empty entry action of the given tpye (for example CallAction, ActionSequence)  
Parameters:
actionStateSmId -
entryActionSmId -
entryActionExpressionSmId -
entryActionClass - concrete action class (for example CallAction, ActionSequence,...)
Returns:
arrow_up


createActivityGraph

public ActivityGraph createActivityGraph(SmId id)

Parameters:
id -
Returns:
arrow_up


createActivityGraph

public ActivityGraph createActivityGraph(SmId id, ModelElement context)

Parameters:
id -
context -
Returns:
arrow_up


createActor

public Actor createActor(SmId id)

Parameters:
id -
Returns:
arrow_up


createActor

public Actor createActor(SmId id, String name)

Parameters:
id -
name -
Returns:
arrow_up


createActor

public Actor createActor(SmId id, Namespace namespace)

Parameters:
id -
namespace -
Returns:
arrow_up


createActor

public Actor createActor(SmId id, String name, Namespace namespace)

Parameters:
id -
name -
namespace -
Returns:
arrow_up


createAssociation

public UmlAssociation createAssociation(SmId id, Classifier c1, Classifier c2)


THIS METHOD MUST NOT BE CALLED FROM COMMANDS!  
Parameters:
id -
c1 -
c2 -
Returns:
arrow_up


createAssociation

public UmlAssociation createAssociation(SmId id, Classifier c1, boolean nav1, Classifier c2, boolean nav2)


THIS METHOD MUST NOT BE CALLED FROM COMMANDS!  
Parameters:
id -
c1 -
nav1 -
c2 -
nav2 -
Returns:
arrow_up


createAssociation

public UmlAssociation createAssociation(SmId id)

Parameters:
id -
Returns:
arrow_up


createAssociationClass

public AssociationClass createAssociationClass(SmId id, Namespace namespace)

Parameters:
id -
namespace -
Returns:
arrow_up


createAssociationClass

public AssociationClass createAssociationClass(SmId id, Classifier c1, Classifier c2, Namespace namespace)

Parameters:
id -
c1 -
c2 -
namespace -
Returns:
arrow_up


createAssociationEnd

public AssociationEnd createAssociationEnd(boolean navigable, Classifier participant, boolean createMultiplicity)


NOTE: THIS METHOD MUST NOT BE CALLED FROM COMMANDS  
Parameters:
navigable -
participant -
createMultiplicity -
Returns:
arrow_up


createAssociationEnd

public AssociationEnd createAssociationEnd(SmId associationEndSmId, boolean navigable, Classifier participant, boolean createMultiplicity)

Parameters:
associationEndSmId -
navigable -
participant -
createMultiplicity -
Returns:
arrow_up


createAssociationEnd

public AssociationEnd createAssociationEnd(SmId associationEndSmId, boolean navigable, Classifier participant, ScopeKind scope, ChangeableKind changeability, boolean createMultiplicity)

Parameters:
associationEndSmId -
navigable -
participant -
scope -
changeability -
createMultiplicity -
Returns:
arrow_up


createAssociationIntoNamespace

public UmlAssociation createAssociationIntoNamespace(SmId id, Namespace namespace)

Parameters:
id -
namespace -
Returns:
arrow_up


createAssociationRole

public AssociationRole createAssociationRole(SmId id)


Create new association role.  
Parameters:
id -
Returns:
New association role.
arrow_up


createAssociationRole

public AssociationRole createAssociationRole(SmId id, UmlAssociation base)


Create new association role with the given association as its base.  
Parameters:
id -
base - The association being the base for this association role.
Returns:
New association role.
arrow_up


createAssociationRole

public final AssociationRole createAssociationRole(SmId id, ClassifierRole source, ClassifierRole target)


Create new association role connecting the given classifier roles.  
Parameters:
id -
source - Source classifier role to be connected by this association role.
target - Target classifier role to be connected by this association role.
Returns:
New association role.
arrow_up


createAssociationRole

public AssociationRole createAssociationRole(SmId id, UmlAssociation base, ClassifierRole source, ClassifierRole target)


THIS METHOD IS NOT COMMAND-SAFE, DO NO USE FROM A COMMAND!  
Parameters:
id -
base -
source -
target -
Returns:
arrow_up


createAttribute

public Attribute createAttribute(SmId id)

Parameters:
id -
Returns:
arrow_up


createAttribute

public Attribute createAttribute(SmId id, String name)

Parameters:
id -
name -
Returns:
arrow_up


createAttribute

public Attribute createAttribute(SmId id, Classifier owner, String name)


Creates a new attribute with default type, default name, private visibility, and instance scope.  
Parameters:
id -
owner - The owning classifier.
name -
Returns:
The new Attribute.
arrow_up


createAttribute

public Attribute createAttribute(SmId id, Classifier owner, String name, Classifier type, ScopeKind ownerScope, VisibilityKind visibility, ChangeableKind changability)


Creates a new attribute with default type, default name, private visibility, and instance scope.  
Parameters:
id -
owner - The owning classifier.
name -
type -
ownerScope -
visibility -
changability -
Returns:
The new Attribute.
arrow_up


createAttribute

public Attribute createAttribute(SmId id, Classifier owner)

Parameters:
id -
owner -
Returns:
arrow_up


createBinding

public Binding createBinding(SmId id, ModelElement client, ModelElement supplier)

Parameters:
id -
client -
supplier -
Returns:
arrow_up


createBooleanExpression

public BooleanExpression createBooleanExpression(SmId id, String language, String body)


Creates a new boolean expression for the given language with the given body.  
Parameters:
id -
language - The language of the new expression.
body - The body of the new expression.
Returns:
The new expression.
arrow_up


createClass

public UmlClass createClass(SmId id, String name, Namespace namespace)

Parameters:
id -
name -
namespace -
Returns:
arrow_up


createClass

public UmlClass createClass(SmId id, String name)

Parameters:
id -
name -
Returns:
arrow_up


createClass

public UmlClass createClass(SmId id, Namespace namespace)

Parameters:
id -
namespace -
Returns:
arrow_up


createClass

public UmlClass createClass(SmId id)

Parameters:
id -
Returns:
arrow_up


createClassifier

public Classifier createClassifier(SmId id, Class classifierClass, String name, Namespace namespace)


Creates a classifier of a given classifier class.  
Parameters:
id -
classifierClass -
name -
namespace -
Returns:
arrow_up


createClassifierInState

public ClassifierInState createClassifierInState(SmId smId, Classifier type)

Parameters:
smId -
type -
Returns:
arrow_up


createClassifierRole

public ClassifierRole createClassifierRole(SmId id, Classifier base)


Creates a new classifier role based on the given classifier.  
Parameters:
id -
base - The classifier being the base for this role.
Returns:
New classifier role.
arrow_up


createCollaboration

public Collaboration createCollaboration(SmId id)

Parameters:
id -
Returns:
arrow_up


createComment

public Comment createComment(SmId id)

Parameters:
id -
Returns:
arrow_up


createComponent

public Component createComponent(SmId id, Namespace namespace)

Parameters:
id -
namespace -
Returns:
arrow_up


createComponentInstance

public ComponentInstance createComponentInstance(SmId id)

Parameters:
id -
Returns:
arrow_up


createCompositeState

public CompositeState createCompositeState(SmId id)

Parameters:
id -
Returns:
arrow_up


createConstraint

public Constraint createConstraint(SmId id)

Parameters:
id -
Returns:
arrow_up


createConstraint

public Constraint createConstraint(SmId constraintSmId, String name, SmId expressionSmId, String language, String expression)

Parameters:
constraintSmId -
name -
expressionSmId -
language -
expression -
Returns:
arrow_up


createDataType

public DataType createDataType(SmId id, Namespace namespace)

Parameters:
id -
namespace -
Returns:
arrow_up


createDataType

public DataType createDataType(SmId id, String name, Namespace namespace)

Parameters:
id -
name -
namespace -
Returns:
arrow_up


createDefaultReturnParameter

private void createDefaultReturnParameter(Operation oper)

Parameters:
oper -
arrow_up


createDefinedTag

public TagDefinition createDefinedTag(Stereotype stereo, String tagName, String tagType)

Parameters:
stereo -
tagName -
tagType -
Returns:
arrow_up


createDefinedTag

public TagDefinition createDefinedTag(SmId id, Stereotype stereo, String tagName, String tagType)


Creates a new TagDefinition and associates it with a stereotype.  
Parameters:
id -
stereo - The stereotype to associate the tag definition with.
tagName - The name of the new tag definition.
tagType - The name of the type of the new tag definition.
Returns:
The new tag definition.
Since:
2.0
arrow_up


createDependency

public Dependency createDependency(SmId id)

Parameters:
id -
Returns:
arrow_up


createDependency

public Dependency createDependency(SmId id, ModelElement client, ModelElement supplier)

Parameters:
id -
client -
supplier -
Returns:
arrow_up


createElement

public RefObject createElement(SmId id, RefClass elementClass, RefObject owner, String name)


Create a new model element of the given Class using a default constsetIructor.  
Parameters:
id -
elementClass -
owner -
name -
Returns:
arrow_up


createEvent

public Event createEvent(SmId id, Class eventClass)

Parameters:
id -
eventClass -
Returns:
arrow_up


createEvent

public Event createEvent(SmId id, Class eventClass, State state)


Creates a new Event for the given state.  
Parameters:
id -
eventClass -
state -
Returns:
arrow_up


createExpression

public Expression createExpression(SmId id, String language, String body)


Creates a new expression for the given language with the given body.  
Parameters:
id -
language - The language of the new expression.
body - The body of the new expression.
Returns:
The new expression.
arrow_up


createExpression

public Expression createExpression(SmId id, String language, String body, Class expressionClass)


Creates a new expression object of the given type for the given language with the given body.  
Parameters:
id -
language - The language of the new expression.
body - The body of the new expression.
expressionClass - The type of the new expression instance.
Returns:
The new expression.
arrow_up


createExtend

public Extend createExtend(SmId id, UseCase base, UseCase extension)


Build an extend relationship.

Set the namespace to the base (preferred) or else extension's namespace. We don't do any checking on base and extension. They should be different, but that is someone else's problem.

 
Parameters:
id -
base - The base use case for the relationship
extension - The extension use case for the relationship
Returns:
The new extend relationship or null if it can't be created.
arrow_up


createExtensionPoint

public ExtensionPoint createExtensionPoint(SmId id, UseCase useCase)

Parameters:
id -
useCase -
Returns:
arrow_up


createFinalState

public FinalState createFinalState(SmId id)

Parameters:
id -
Returns:
arrow_up


createGeneralization

public Generalization createGeneralization(SmId id)

Parameters:
id -
Returns:
arrow_up


createGeneralization

public Generalization createGeneralization(SmId id, GeneralizableElement child, GeneralizableElement parent)

Parameters:
id -
child -
parent -
Returns:
arrow_up


createGuard

public Guard createGuard(SmId id)

Parameters:
id -
Returns:
arrow_up


createInclude

public Include createInclude(SmId id, UseCase base, UseCase addition)


Build an include relationship.

Set the namespace to the base (preferred) or else extension's namespace. We don't do any checking on base and extension. They should be different, but that is someone else's problem.

Note. There is a bug in NSUML that gets the base and addition associations back to front. We reverse the use of their accessors in the code to correct this.

 
Parameters:
id -
base - The base use case for the relationship
addition - The extension use case for the relationship
Returns:
The new include relationship or null if it can't be created.
arrow_up


createInterface

public Interface createInterface(SmId id, Namespace namespace)

Parameters:
id -
namespace -
Returns:
arrow_up


createInterface

public Interface createInterface(SmId id, String name, Namespace namespace)

Parameters:
id -
name -
namespace -
Returns:
arrow_up


createIterationExpression

public IterationExpression createIterationExpression(SmId id, String language, String body)


Creates a new iteration expression for the given language with the given body.  
Parameters:
id -
language - The language of the new expression.
body - The body of the new expression.
Returns:
The new expression.
arrow_up


createLink

public Link createLink(SmId id, Instance from, Instance to)


WARNING: THIS METHOD MUST NOT BE CALLED FROM COMMANDS  
Parameters:
id -
from -
to -
Returns:
arrow_up


createLink

public Link createLink(SmId id, SmId linkEnd0SmId, SmId linkEnd1SmId, Instance from, Instance to)

Parameters:
id -
linkEnd0SmId -
linkEnd1SmId -
from -
to -
Returns:
arrow_up


createMessage

public Message createMessage(SmId id, AssociationRole ar, String sequenceNumber)

Parameters:
id -
ar -
sequenceNumber -
Returns:
arrow_up


createMessage

public Message createMessage(SmId id, String name)

Parameters:
id -
name -
Returns:
arrow_up


createMethod

public Method createMethod(SmId id, Operation op)

Parameters:
id -
op -
Returns:
arrow_up


createModel

public Model createModel(SmId id)

Parameters:
id -
Returns:
arrow_up


createMultiplicity

public Multiplicity createMultiplicity(SmId id, Multicity multicity)

Parameters:
id -
multicity -
Returns:
arrow_up


createMultiplicity

public Multiplicity createMultiplicity(SmId multiplicityRangeSmId, SmId multiplicitySmId, int low, int high)


Creates a multiplicity element of range low..high  
Parameters:
multiplicityRangeSmId -
multiplicitySmId -
low -
high -
Returns:
arrow_up


createMultiplicity

public Multiplicity createMultiplicity(SmId id, String ranges)


Creates a multiplicity element of a given range  
Parameters:
id -
ranges -
Returns:
todo: all this stuff is also done in multicity - remove it here!!!
arrow_up


createMultiplicityRange

public MultiplicityRange createMultiplicityRange(SmId id, Multiplicity multiplicity, int low, int high)

Parameters:
id -
multiplicity -
low -
high -
Returns:
arrow_up


createMultiplicityRange

public MultiplicityRange createMultiplicityRange(SmId id, int low, int high)

Parameters:
id -
low -
high -
Returns:
arrow_up


createNode

public Node createNode(SmId id)

Parameters:
id -
Returns:
arrow_up


createNodeInstance

public NodeInstance createNodeInstance(SmId id)

Parameters:
id -
Returns:
arrow_up


createObject

public Object createObject(SmId id)


Create a new object.  
Parameters:
id -
Returns:
The new object. l
arrow_up


createObject

public Object createObject(SmId id, Classifier base)


Create a new object bound to the given classifier.  
Parameters:
id -
base - The classifier to bind the object to.
Returns:
The new object.
arrow_up


createObjectFlowState

public ObjectFlowState createObjectFlowState(SmId id)

Parameters:
id -
Returns:
arrow_up


createObjectSetExpression

public ObjectSetExpression createObjectSetExpression(SmId id, String language, String body)


Creates a new Object set expression for the given language with the given body.  
Parameters:
id -
language - The language of the new expression.
body - The body of the new expression.
Returns:
The new expression.
arrow_up


createOperation

public Operation createOperation(SmId id)


Creates a new operation with nothing set to any default value at all.  
Parameters:
id -
Returns:
arrow_up


createOperation

public Operation createOperation(SmId id, Classifier owner)


Creates a new operation with a default name, return type void, and a java body.  
Parameters:
id -
owner -
Returns:
arrow_up


createOperation

public Operation createOperation(SmId id, Classifier owner, String opName, String returnParameterType, Collection params, String bodyText)

Parameters:
id -
owner -
opName -
returnParameterType -
params -
bodyText -
Returns:
arrow_up


createOperation

public Operation createOperation(SmId id, Classifier owner, String opName, Parameter returnParameter, Collection params, String bodyText)

Parameters:
id -
owner -
opName -
returnParameter -
params -
bodyText -
Returns:
arrow_up


createOperation

public Operation createOperation(SmId smId, Classifier owner, String opName, Parameter returnParameter, Collection params, String bodyText, SmId procedureExpressionSmId, SmId methodSmId)


Creates an operation and adds it to the feature-list of the given classifier.

 
Parameters:
smId - the {@link SmId} which should own the operation
owner - the classifier which will get the created operation added to its features ({@link Classifier#getFeature()})
opName - the name of the operation
returnParameter - the return-parameter to be used. null if a default return-parameter should be added.
params - collection of {@link Parameter} for operation-parameters. null or empty collection if operation has no parameters.
bodyText -
procedureExpressionSmId -
methodSmId -
Returns:
Exceptions:
NullPointerException if one of the following arguments is null:
arrow_up


createPackage

public UmlPackage createPackage(SmId id)

Parameters:
id -
Returns:
arrow_up


createPackage

public UmlPackage createPackage(SmId id, String name)

Parameters:
id -
name -
Returns:
arrow_up


createPackage

public UmlPackage createPackage(SmId id, Namespace namespace)

Parameters:
id -
namespace -
Returns:
arrow_up


createPackage

public UmlPackage createPackage(SmId id, String name, Namespace namespace)

Parameters:
id -
name -
namespace -
Returns:
arrow_up


createParameter

public Parameter createParameter(SmId parameterSmId)


Creates a default-named parameter of type int, kind INOUT.  
Parameters:
parameterSmId -
Returns:
arrow_up


createParameter

public Parameter createParameter(SmId id, Event event)


Creates a default-named parameter of type int, kind INOUT, for the given event.  
Parameters:
id -
event -
Returns:
arrow_up


createParameter

public Parameter createParameter(SmId parameterSmId, BehavioralFeature feature)


Creates a default-named parameter of type int, kind INOUT, for the given feature.  
Parameters:
parameterSmId -
feature -
Returns:
arrow_up


createParameter

public Parameter createParameter(SmId id, Classifier type)

Parameters:
id -
type -
Returns:
arrow_up


createParameter

public Parameter createParameter(SmId id, Classifier type, String name, short modifiers)

Parameters:
id -
type -
name -
modifiers -
Returns:
arrow_up


createParameter

public Parameter createParameter(SmId id, Classifier type, String name, SmId finalTaggedValueSmId, ParameterDirectionKind direction)

Parameters:
id -
type -
name -
finalTaggedValueSmId -
direction -
Returns:
arrow_up


createProcedureExpression

public ProcedureExpression createProcedureExpression(SmId id, String language, String body)


Creates a new procedure expression for the given language with the given body.  
Parameters:
id -
language - The language of the new expression.
body - The body of the new expression.
Returns:
The new expression.
arrow_up


createPseudostate

public Pseudostate createPseudostate(SmId id, String kind)

Parameters:
id -
kind -
Returns:
arrow_up


createPseudostate

public Pseudostate createPseudostate(SmId id, PseudostateKind kind)

Parameters:
id -
kind -
Returns:
arrow_up


createRawAttribute

public Attribute createRawAttribute(SmId id, Classifier owner)

Parameters:
id -
owner -
Returns:
arrow_up


createRawParameter

public Parameter createRawParameter(SmId parameterSmId)

Parameters:
parameterSmId -
Returns:
arrow_up


createRawParameter

public Parameter createRawParameter(SmId parameterSmId, String name, Expression defaultValue, ParameterDirectionKind directionKind)

Parameters:
parameterSmId -
name -
defaultValue -
directionKind -
Returns:
arrow_up


createRawUsage

public Usage createRawUsage(SmId id)

Parameters:
id -
Returns:
arrow_up


createRealization

public Abstraction createRealization(SmId id)

Parameters:
id -
Returns:
arrow_up


createRealization

public Abstraction createRealization(SmId id, SmId realizationStereotypeSmId)

Parameters:
id -
realizationStereotypeSmId -
Returns:
arrow_up


createRealization

public Abstraction createRealization(SmId id, ModelElement client, ModelElement supplier)

Parameters:
id -
client -
supplier -
Returns:
arrow_up


createRealization

public Abstraction createRealization(SmId id, ModelElement client, ModelElement supplier, SmId realizationStereotypeSmId)

Parameters:
id -
client -
supplier -
realizationStereotypeSmId -
Returns:
arrow_up


createReturnParameter

public Parameter createReturnParameter(SmId id, Classifier type)

Parameters:
id -
type -
Returns:
arrow_up


createSignal

public Signal createSignal(SmId id)

Parameters:
id -
Returns:
arrow_up


createSimpleState

public SimpleState createSimpleState(SmId id)

Parameters:
id -
Returns:
arrow_up


createState

public State createState(SmId id, RefClass stateClass)


Creates a new state of the desired type.  
Parameters:
id - Identifier of the state instance to create.
stateClass - The type of state tobe created.
Returns:
A new instance of the given state type.
arrow_up


createStateMachine

public StateMachine createStateMachine(SmId stateMachineSmId, ModelElement context)


Creates a new state machine for the given context.  
Parameters:
stateMachineSmId -
context -
Returns:
arrow_up


createStereotype

public Stereotype createStereotype(SmId id)


Creates new stereotype without a namespace or a name (!).  
Parameters:
id -
Returns:
arrow_up


createStereotype

public Stereotype createStereotype(SmId id, String name)


Creates new stereotype without a namespace (!).  
Parameters:
id -
name -
Returns:
arrow_up


createStereotype

public Stereotype createStereotype(String name)


Creates new stereotype without a namespace (!).  
Parameters:
name -
Returns:
arrow_up


createStereotype

public Stereotype createStereotype(SmId id, Namespace namespace)


Creates new stereotype without a namespace (!).  
Parameters:
id -
namespace -
Returns:
arrow_up


createStereotype

public Stereotype createStereotype(SmId id, String name, Namespace namespace, String baseClass)


Creates a new stereotype with name, namespace and desired baseclass.  
Parameters:
id -
name -
namespace -
baseClass -
Returns:
arrow_up


createStereotype

public Stereotype createStereotype(SmId id, String name, Namespace namespace)


Always creates new stereotype, never does a lookup to return an existing one.  
Parameters:
id -
name -
namespace -
Returns:
arrow_up


createStimulus

public Stimulus createStimulus(SmId id)

Parameters:
id -
Returns:
arrow_up


createStimulus

public Stimulus createStimulus(SmId id, Link communicationLink, Instance sender, Instance receiver, Action action)

Parameters:
id -
communicationLink -
sender -
receiver -
action -
Returns:
arrow_up


createStubState

public StubState createStubState(SmId id)


Creates a new stub state.  
Parameters:
id -
Returns:
The new stub state.
arrow_up


createStubState

public StubState createStubState(SmId id, String refState)


Creates a new stub state with a reference to the given state.  
Parameters:
id -
refState - Name of the referenced state.
Returns:
The new stub state.
arrow_up


createSynchState

public SynchState createSynchState(SmId id)


Creates a new synch state.  
Parameters:
id -
Returns:
The new synch state.
arrow_up


createSynchState

public SynchState createSynchState(SmId id, int bound)


Creates a new synch state with a bound number.  
Parameters:
id -
bound - Number of bounds for this synch state.
Returns:
The new synch state.
arrow_up


createTagDefinition

public TagDefinition createTagDefinition(String tagName, Stereotype owner)


Creates a new, free-floating TagDefinition. The new TagDefinition is not assigned to a stereotype. The tag definition's tag type is set to "String".  
Parameters:
tagName - The name of the new tag definition.
owner -
Returns:
The new TagDefinition.
arrow_up


createTagDefinition

public TagDefinition createTagDefinition(String tagName, SmId tagDefinitionSmId, Stereotype owner)


Creates a new, free-floating TagDefinition. The new TagDefinition is not assigned to a stereotype. The tag definition's tag type is set to "String".  
Parameters:
tagName - The name of the new tag definition.
tagDefinitionSmId -
owner -
Returns:
The new TagDefinition.
arrow_up


createTagDefinition

public TagDefinition createTagDefinition(String tagName, String tagType, SmId tagDefinitionSmId, Stereotype owner)


Creates a new, free-floating TagDefinition. The new TagDefinition is not assigned to a stereotype.  
Parameters:
tagName - The name of the new tag definition.
tagType - name of the type of this tag definition.
tagDefinitionSmId -
owner -
Returns:
The new TagDefinition.
Since:
2.0
arrow_up


createTagDefinitionNoMultiplicity

public TagDefinition createTagDefinitionNoMultiplicity(String tagName, String tagType, SmId tagDefinitionSmId, Stereotype owner)

Parameters:
tagName - never be null or ""
tagType -
tagDefinitionSmId - never be null
owner -
Returns:
arrow_up


createTaggedValue

public TaggedValue createTaggedValue(String tag, String value)

Parameters:
tag -
value -
Returns:
arrow_up


createTaggedValue

public TaggedValue createTaggedValue(SmId taggedValueId, ModelElement owner, String tag, String taggedValueDataValue)

Parameters:
taggedValueId -
owner -
tag -
taggedValueDataValue -
Returns:
arrow_up


createTaggedValue

public TaggedValue createTaggedValue(SmId TaggedValueId, ModelElement owner, String tagType, String tag, String taggedValueDataValue)

Parameters:
TaggedValueId -
owner -
tagType -
tag -
taggedValueDataValue -
Returns:
arrow_up


createTaggedValue

public TaggedValue createTaggedValue(SmId TaggedValueId, TagDefinition tagDefinition, String taggedValueDataValue, ModelElement owner)

Parameters:
TaggedValueId -
tagDefinition -
taggedValueDataValue -
owner -
Returns:
arrow_up


createTemplateArgument

public TemplateArgument createTemplateArgument(SmId id, Binding bind, ModelElement modelElement)

Parameters:
id -
bind -
modelElement -
Returns:
arrow_up


createTimeExpression

public TimeExpression createTimeExpression(SmId id, String language, String body)


Creates a new boolean expression for the given language with the given body.  
Parameters:
id -
language - The language of the new expression.
body - The body of the new expression.
Returns:
The new expression.
arrow_up


createTransition

public Transition createTransition(SmId id)


Create a new transition.  
Parameters:
id -
Returns:
The new transition.
arrow_up


createTransition

public Transition createTransition(SmId id, StateVertex target, StateVertex source)


Creates a new transition connecting the given state vertexes. The transition also will have the state machine of the target state set as owning state machine, so there is NO NEED TO SET THE STATE MACHINE AFTERWARDS!  
Parameters:
id -
target - The target of this transition.
source - The source of this transition.
Returns:
The new transition or null if the state machines of the state vertexes won't match.
arrow_up


createTransition

public Transition createTransition(SmId id, StateVertex target, StateVertex source, StateMachine statemachine)

Parameters:
id -
target -
source -
statemachine -
Returns:
arrow_up


createTransition

public Transition createTransition(SmId id, SmId signalSendActionSmId, StateVertex target, StateVertex source, StateMachine statemachine)


Creates a transition with an effect send action, representing a send signal.  
Parameters:
id -
signalSendActionSmId -
target -
source -
statemachine -
Returns:
arrow_up


createUmlException

public UmlException createUmlException(SmId id)

Parameters:
id -
Returns:
arrow_up


createUsage

public Usage createUsage(SmId id, ModelElement client, ModelElement supplier)

Parameters:
id -
client -
supplier -
Returns:
arrow_up


createUseCase

public UseCase createUseCase(SmId id)

Parameters:
id -
Returns:
arrow_up


createUseCase

public UseCase createUseCase(SmId id, String name)

Parameters:
id -
name -
Returns:
arrow_up


createUseCase

public UseCase createUseCase(SmId id, Namespace namespace)

Parameters:
id -
namespace -
Returns:
arrow_up


createUseCase

public UseCase createUseCase(SmId id, String name, Namespace namespace)

Parameters:
id -
name -
namespace -
Returns:
arrow_up


getActivityGraphsPackage

public ActivityGraphsPackage getActivityGraphsPackage()


Returns the meta object for the uml activity graph package.  
Returns:
arrow_up


getClassName

private String getClassName(Class c)


Returns the name of the class without package prefix  
Parameters:
c -
Returns:
arrow_up


getCollaborationsPackage

public CollaborationsPackage getCollaborationsPackage()


Returns the meta object for the uml collaboration package.  
Returns:
arrow_up


getCommonBehaviorPackage

public CommonBehaviorPackage getCommonBehaviorPackage()


Returns the meta object for the uml common behavior package.  
Returns:
arrow_up


getCorePackage

public CorePackage getCorePackage()


Returns the meta object for the uml core package.  
Returns:
arrow_up


getDataTypesPackage

public DataTypesPackage getDataTypesPackage()


Returns the meta object for the uml data types package.  
Returns:
arrow_up


getModelManagementPackage

public ModelManagementPackage getModelManagementPackage()


Returns the meta object for the uml model management package.  
Returns:
arrow_up


getNewNameResourceId

public static ResourceId getNewNameResourceId(RefObject element)

Parameters:
element -
Returns:
arrow_up


getNextSmId

public SmId getNextSmId()


use this method only to create smids during command-execution. the preferred way to create smids is to use the projects method getNextSmId(), before you exectue your command, and pass the smids into the command.  
Returns:
arrow_up


getStateMachinesPackage

public StateMachinesPackage getStateMachinesPackage()


Returns the meta object for the uml states package.  
Returns:
arrow_up


getTagDefinition

public TagDefinition getTagDefinition(String tagName, RefObject owner)

Parameters:
tagName -
owner -
Returns:
arrow_up


getUseCasePackage

public UseCasesPackage getUseCasePackage()


Returns the meta object for the uml use case package.  
Returns:
arrow_up


handleParameters

private void handleParameters(Collection params, Operation oper)

Parameters:
params -
oper -
arrow_up


hasDefaultName

public boolean hasDefaultName(ModelElement element)

Parameters:
element -
Returns:
arrow_up


initAndAttachAction

private void initAndAttachAction(Action action, SmId id, Namespace namespace)

Parameters:
action -
id -
namespace -
arrow_up


refGetElement

private RefClass refGetElement(RefPackage umlPackage, String umlName)


Returns the reclass element specified by the uml class name aand the containing package  
Parameters:
umlPackage -
umlName -
Returns:
arrow_up


removeAccessorDependency

public Dependency removeAccessorDependency(SmId id, Attribute attr, Operation op)


Creates a dependency with the stereotype 'accessor' between the given attribute and operation. The operation is only allowed to be an accessor for one attribute.

Do not use this method directly!! You should always use the AccessorMethodsHelper.  

Parameters:
id -
attr -
op -
Returns:
arrow_up


removeTagDefinitionFromMap

public void removeTagDefinitionFromMap(TagDefinition tagDefinition)

Deprecated.
we don't use this map anymore - so we don't need this method too.
Parameters:
tagDefinition -
arrow_up


toString

public String toString()

Returns:
arrow_up
Created  2004 - 10 - 21

    Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

Generated with Poseidon for UMLTM.
Poseidon is a registered trademark of Gentleware AG in Germany, USA and other countries. Copyright 2003-2004 Gentleware AG, Schanzenstr. 70, 20357 Hamburg, Germany. All Rights Reserved.

UML is a trademark or registered trademark of Object Management Group, Inc. in the U.S. and other countries.