org.argouml.model
Class ModelFacade

java.lang.Object
  |
  +--org.argouml.model.ModelFacade

public class ModelFacade
extends java.lang.Object

Facade object for the Model component in ArgoUML.

The purpose of this Facade object is to allow for decoupling other modules from the insides of the model. For this purpose all of the methods in this class give away and accept handles (of type java.lang.Object) to the objects within the model.

This is just getters and recognizers. This is because the Model component has an extremely complicated internal data structure with lots of internal dependencies. To manipulate these there is a whole set of factories and helpers within the Model that is to be used but to use them you need knowledge of the internals of the Model, specifically the NS-UML objects.

All methods in this facade are static.

Signature for all recognizers in this Facade:

Signature for all getters in this Facade:


Field Summary
static java.lang.Object ABSTRACTION
           
static short ACC_PRIVATE
           
static short ACC_PROTECTED
           
static short ACC_PUBLIC
           
static java.lang.Object ACTION
           
static java.lang.Object ACTION_EXPRESSION
           
static java.lang.Object ACTION_STATE
           
static java.lang.Object ACTOR
           
static java.lang.Object ADD_ONLY_CHANGEABLEKIND
           
static java.lang.Object AGGREGATE_AGGREGATIONKIND
           
static java.lang.Object AGGREGATIONKIND
           
static java.lang.Object ASSOCIATION
           
static java.lang.Object ASSOCIATION_CLASS
           
static java.lang.Object ASSOCIATION_END
           
static java.lang.Object ASSOCIATION_END_ROLE
           
static java.lang.Object ASSOCIATION_ROLE
           
static java.lang.Object ATTRIBUTE
           
static java.lang.Object BOOLEAN_EXPRESSION
           
static java.lang.Object BRANCH_PSEUDOSTATEKIND
           
static java.lang.Object CALL_ACTION
           
static java.lang.Object CALLCONCURRENCYKIND
           
static java.lang.Object CHANGEABLE_CHANGEABLEKIND
           
static java.lang.Object CLASS
           
static java.lang.Object CLASSIFIER
           
static java.lang.Object CLASSIFIER_ROLE
           
static short CLASSIFIER_SCOPE
           
static java.lang.Object CLASSIFIER_SCOPEKIND
           
static java.lang.Object COLLABORATION
           
static java.lang.Object COMPONENT
           
static java.lang.Object COMPONENT_INSTANCE
           
static java.lang.Object COMPOSITE_AGGREGATIONKIND
           
static java.lang.Object COMPOSITESTATE
           
static java.lang.Object CONCURRENT_CONCURRENCYKIND
           
static java.lang.Object CREATE_ACTION
           
static java.lang.Object DATATYPE
           
static java.lang.Object DEEPHISTORY_PSEUDOSTATEKIND
           
static java.lang.Object DEPENDENCY
           
static java.lang.Object DESTROY_ACTION
           
static java.lang.Object EXTEND
           
static java.lang.Object FINALSTATE
           
static java.lang.Object FORK_PSEUDOSTATEKIND
           
static java.lang.Object FROZEN_CHANGEABLEKIND
           
static java.lang.Object GENERALAIZABLE_ELEMENT
           
static java.lang.Object GENERALIZATION
           
static java.lang.String GENERATED_TAG
          This tag is set on elements that are generated by reference when importing.
static java.lang.Object GUARD
           
static short GUARDED
           
static java.lang.Object GUARDED_CONCURRENCYKIND
           
static java.lang.Object IN_PARAMETERDIRECTIONKIND
           
static java.lang.Object INCLUDE
           
static java.lang.Object INITIAL_PSEUDOSTATEKIND
           
static java.lang.Object INOUT_PARAMETERDIRECTIONKIND
           
static java.lang.Object INSTANCE
           
static short INSTANCE_SCOPE
           
static java.lang.Object INSTANCE_SCOPEKIND
           
static java.lang.Object INTERFACE
           
static java.lang.Object JOIN_PSEUDOSTATEKIND
           
static java.lang.Object JUNCTION_PSEUDOSTATEKIND
           
static java.lang.Object LINK
           
static java.lang.Object M0_1_MULTIPLICITY
           
static java.lang.Object M0_N_MULTIPLICITY
           
static java.lang.Object M1_1_MULTIPLICITY
           
static java.lang.Object M1_N_MULTIPLICITY
           
static java.lang.Object MESSAGE
           
static java.lang.Object MODEL
           
static java.lang.Object MODELELEMENT
           
static java.lang.Object MULTIPLICITY
           
static java.lang.Object NAMESPACE
           
static java.lang.Object NODE
           
static java.lang.Object NODE_INSTANCE
           
static java.lang.Object NONE_AGGREGATIONKIND
           
static java.lang.Object OBJECT
           
static java.lang.Object OPERATION
           
static java.lang.Object ORDERED_ORDERINGKIND
           
static java.lang.Object OUT_PARAMETERDIRECTIONKIND
           
static java.lang.Object PACKAGE
           
static java.lang.Object PARAMETER
           
static java.lang.Object PARAMETERDIRECTIONKIND
           
static java.lang.Object PERMISSION
           
static java.lang.Object PRIVATE_VISIBILITYKIND
           
static java.lang.Object PROTECTED_VISIBILITYKIND
           
static java.lang.Object PSEUDOSTATE
           
static java.lang.Object PSEUDOSTATEKIND
           
static java.lang.Object PUBLIC_VISIBILITYKIND
           
static java.lang.Object RECEPTION
           
static java.lang.Object RETURN_ACTION
           
static java.lang.Object RETURN_PARAMETERDIRECTIONKIND
           
static java.lang.Object SCOPEKIND
           
static java.lang.Object SEND_ACTION
           
static short SEQUENTIAL
           
static java.lang.Object SEQUENTIAL_CONCURRENCYKIND
           
static java.lang.Object SHALLOWHISTORY_PSEUDOSTATEKIND
           
static java.lang.Object SIGNAL
           
static java.lang.Object SORTED_ORDERINGKIND
           
static java.lang.Object STATE
           
static java.lang.Object STATEIMPL
           
static java.lang.Object STATEMACHINE
           
static java.lang.Object STATEVERTEX
           
static java.lang.Object STEREOTYPE
           
static java.lang.Object STIMULUS
           
static java.lang.Object SUBSYSTEM
           
static java.lang.Object TERMINATE_ACTION
           
static java.lang.Object TRANSITION
           
static java.lang.Object UNORDERED_ORDERINGKIND
           
static java.lang.Object USAGE
           
static java.lang.Object USE_CASE
           
static java.lang.Object VISIBILITYKIND
           
 
Constructor Summary
ModelFacade()
           
 
Method Summary
static void addActualArgument(java.lang.Object handle, java.lang.Object argument)
           
static void addBase(java.lang.Object o, java.lang.Object c)
          This method adds a classifier to a classifier role.
static void addClassifier(java.lang.Object handle, java.lang.Object classifier)
           
static void addClient(java.lang.Object a, java.lang.Object cls)
          Adds a client classifier to some abstraction.
static void addClientDependency(java.lang.Object handle, java.lang.Object dependency)
          Adds a client dependency to some modelelement
static void addComment(java.lang.Object element, java.lang.Object comment)
          Add a new comment to a model element
static void addConnection(java.lang.Object handle, java.lang.Object connection)
           
static void addConstraint(java.lang.Object me, java.lang.Object mc)
          Adds a constraint to some model element.
static void addDeploymentLocation(java.lang.Object handle, java.lang.Object node)
           
static void addExtendedElement(java.lang.Object target, java.lang.Object extendedElement)
           
static void addExtensionPoint(java.lang.Object target, java.lang.Object extensionPoint)
          Adds an extension point to some model element.
static void addFeature(java.lang.Object cls, int index, java.lang.Object f)
          Adds a feature to some classifier.
static void addFeature(java.lang.Object cls, java.lang.Object f)
          Adds a feature to some classifier.
static void addInstance(java.lang.Object classifierRole, java.lang.Object instance)
          Adds an instance to a classifier role.
static void addLink(java.lang.Object association, java.lang.Object link)
           
static void addMessage3(java.lang.Object handle, java.lang.Object mess)
           
static void addMethod(java.lang.Object o, java.lang.Object m)
          Adds a method to some operation and copies the op's attributes to the method.
static void addOwnedElement(java.lang.Object ns, java.lang.Object me)
          Adds a model element to some namespace.
static void addParameter(java.lang.Object target, int index, java.lang.Object parameter)
           
static void addParameter(java.lang.Object target, java.lang.Object parameter)
           
static void addPredecessor(java.lang.Object target, java.lang.Object predecessor)
          Adds a predecessor to a message.
static void addRaisedSignal(java.lang.Object target, java.lang.Object sig)
           
static void addStimulus(java.lang.Object target, java.lang.Object stimulus)
          Adds a stimulus to a action or link
static void addSubvertex(java.lang.Object handle, java.lang.Object subvertex)
           
static void addSupplier(java.lang.Object a, java.lang.Object cls)
          Adds a supplier classifier to some abstraction.
static void addSupplierDependency(java.lang.Object supplier, java.lang.Object dependency)
          Adds a supplier dependency to some modelelement
static void addTaggedValue(java.lang.Object target, java.lang.Object taggedValue)
           
 boolean containsConnection(java.lang.Object element, java.lang.Object connection)
          Determine if a model element contains a connection.
static java.lang.Object create(ModelEntity entity)
          Create a model object from the implementation.
private static java.util.Collection emptyCollection()
          The empty set.
static boolean equalsPseudostateKind(java.lang.Object ps1, java.lang.Object ps2)
          Check whether two pseudostatekinds are equal/of the same type.
static java.lang.Object getAction(java.lang.Object handle)
          Returns the action belonging to some message
static java.lang.Object getActivator(java.lang.Object handle)
          Returns the activator belonging to some message
static java.util.Collection getActualArguments(java.lang.Object handle)
          Returns the actual arguments for a given action.
static java.lang.Object getAddition(java.lang.Object handle)
          Returns an addition for a given inlcude.
static java.lang.Object getAggregation(java.lang.Object handle)
           
static java.util.Collection getAssociatedClasses(java.lang.Object o)
          Returns all associated classes for some given classifier.
static java.lang.Object getAssociation(java.lang.Object end)
          Returns the association end between some classifier and some associaton or the association belonging to the given link.
static java.lang.Object getAssociationEnd(java.lang.Object type, java.lang.Object assoc)
          Returns the association end between some classifier and some associaton.
static java.util.Collection getAssociationEnds(java.lang.Object handle)
          The list of Association Ends
static java.util.Collection getAssociationRoles(java.lang.Object handle)
          The list of association roles
static java.util.Collection getAttributes(java.lang.Object handle)
          The list of Attributes.
static java.lang.Object getBase(java.lang.Object handle)
          The base of some model element
static java.lang.Object getBaseClass(java.lang.Object handle)
          The baseclass of some stereotype
static java.util.Collection getBases(java.lang.Object handle)
          Get the bases of a classifier role.
static java.lang.Object getBehavioralFeature(java.lang.Object handle)
          Get the behavioral feature of an parameter.
static java.util.Collection getBehaviors(java.lang.Object handle)
          Get the behaviors of a Modelelement.
static java.lang.Object getBody(java.lang.Object handle)
          Get the body of an method/constraint/expression.
static java.lang.Object getChangeability(java.lang.Object handle)
           
static java.lang.Object getChild(java.lang.Object handle)
          Get the child of a generalization.
static java.util.Collection getChildren(java.lang.Object handle)
          Get the children of some generalizable element
static java.util.Collection getClassifierRoles(java.lang.Object handle)
          Gets the classifiers roles of some model element
static java.util.Collection getClassifiers(java.lang.Object handle)
          Gets the classifierss of some instance
static java.util.Collection getClassifiersInState(java.lang.Object handle)
          Gets the classifiers in state of some model element
protected static java.lang.String getClassNull(java.lang.Object handle)
           
static java.util.Collection getClientDependencies(java.lang.Object handle)
          Get the client dependencies of some classifier
static java.util.Collection getClients(java.lang.Object handle)
          Gets the clients of some dependency
static java.util.Collection getCollaborations(java.lang.Object handle)
          Get the collaborations of an element.
static java.util.Collection getComments(java.lang.Object handle)
          Get the comments of an element.
static java.lang.Object getCommunicationConnection(java.lang.Object handle)
          Get the communication connection of an message.
static java.lang.Object getCommunicationLink(java.lang.Object handle)
          Get the communication link of a stimulus.
static java.lang.Object getComponentInstance(java.lang.Object handle)
          Get the component instance of an instance
static java.lang.Object getConcurrency(java.lang.Object o)
          Get the concurrency of an operation.
static java.lang.Object getCondition(java.lang.Object o)
          Get the condition of an extend.
static int getConnectionCount(java.lang.Object handle)
          Count the number of Connections or AssociationEnds to an Association.
static java.util.Collection getConnections(java.lang.Object handle)
          The list of connections to an association or link.
static java.util.Collection getConstrainingElements(java.lang.Object handle)
           
static java.util.Collection getConstraints(java.lang.Object handle)
           
static java.lang.Object getContainer(java.lang.Object handle)
           
static java.lang.Object getContext(java.lang.Object handle)
          Returns the context of some given statemachine or the context of some given interaction.
static java.util.Collection getContexts(java.lang.Object handle)
           
static java.util.Collection getCreateActions(java.lang.Object handle)
           
static java.lang.Object getDefaultValue(java.lang.Object handle)
          Get the default value of a parameter
static java.util.Collection getDeferrableEvents(java.lang.Object handle)
          Get deferrable events of a state
static java.util.Collection getDeploymentLocations(java.lang.Object handle)
          Returns the context of some given statemachine or the context of some given interaction
static java.lang.Object getDiscriminator(java.lang.Object handle)
          Get the discriminator.
static java.lang.Object getDispatchAction(java.lang.Object handle)
          Get the dispatchaction of a stimulus.
static java.lang.Object getDoActivity(java.lang.Object handle)
          Returns the do activity action of a state
static java.lang.Object getEffect(java.lang.Object handle)
          Returns the effect of some transition
static java.util.Collection getElementImports2(java.lang.Object handle)
           
static java.util.Collection getElementResidences(java.lang.Object handle)
          Get the residences of an element.
static java.lang.Object getEntry(java.lang.Object handle)
          Returns the entry action to a state
static java.lang.Object getExit(java.lang.Object handle)
          Returns the exit action to a state
static java.lang.Object getExpression(java.lang.Object handle)
           
static java.util.Collection getExtends(java.lang.Object handle)
          Returns all extends of a use case or extension point
static java.util.Collection getExtends2(java.lang.Object handle)
          Returns all extends of a use case
static java.lang.Object getExtension(java.lang.Object handle)
          Gets the use case extension of an extend
static java.lang.Object getExtensionPoint(java.lang.Object handle, int index)
           
static java.util.Collection getExtensionPoints(java.lang.Object handle)
          Returns all extends of a use case
static java.util.Collection getFeatures(java.lang.Object handle)
          The list of Features from a Classifier.
static java.lang.Object getGeneralization(java.lang.Object child, java.lang.Object parent)
          Gets the generalization between two generalizable elements.
static java.util.Collection getGeneralizations(java.lang.Object handle)
          The list of Generalizations from a GeneralizableElement.
static java.lang.Object getGuard(java.lang.Object handle)
          Gets the guard for some given transition.
static java.lang.Object getIcon(java.lang.Object handle)
           
static java.lang.Object getImplementationLocation(java.lang.Object handle)
          Gets the component of some element residence
static java.util.Collection getIncludes(java.lang.Object handle)
          Returns the includes for some use case
static java.util.Collection getIncludes2(java.lang.Object handle)
          Returns the includes for some use case
static java.util.Collection getIncomings(java.lang.Object handle)
          Returns the incoming transitions for some statevertex
static java.lang.Object getInitialValue(java.lang.Object handle)
          Returns the initial value for some attribute.
static java.lang.Object getInstance(java.lang.Object handle)
          Returns the instance of an AttributeLink or LinkEnd
static java.util.Collection getInstances(java.lang.Object handle)
          Returns the Instances for some Clasifier
static java.lang.Object getInteraction(java.lang.Object handle)
          Returns the interaction for some message
static java.util.Collection getInteractions(java.lang.Object handle)
          Returns the interactions belonging to a collaboration
static java.util.Collection getInternalTransitions(java.lang.Object handle)
          Returns the internal transitions belonging to a state
static java.lang.Object getKind(java.lang.Object handle)
           
static java.lang.String getLanguage(java.lang.Object expr)
           
static java.lang.Object getLink(java.lang.Object handle)
           
static java.util.Collection getLinkEnds(java.lang.Object handle)
           
static java.util.Collection getLinks(java.lang.Object handle)
           
static java.lang.String getLocation(java.lang.Object handle)
          Gets a location of some extension point.
static int getLower(java.lang.Object handle)
          Returns the upper bound of the multiplicity of the given handle (an associationend).
static java.util.Collection getMessages(java.lang.Object handle)
          Returns the messages belonging to some interaction
static java.util.Collection getMessages1(java.lang.Object handle)
          Returns the messages belonging to some classifier role
static java.util.Collection getMessages2(java.lang.Object handle)
           
static java.util.Collection getMessages3(java.lang.Object handle)
          Returns the messages belonging to some other message
static java.util.Collection getMessages4(java.lang.Object handle)
           
static java.lang.Object getModel(java.lang.Object handle)
          Get the model of some model element
static java.lang.Object getModelElement(java.lang.Object elemImport)
           
static java.lang.Object getModelElementContainer(java.lang.Object handle)
          Returns the container for the given modelelement.
static java.lang.Object getMultiplicity(java.lang.Object handle)
          Get the Multiplicity from a model element.
static java.lang.String getName(java.lang.Object handle)
          The name of a model element or some diagram part.
static java.lang.Object getNamespace(java.lang.Object handle)
          Get the namespace of an element.
static java.lang.Object getNodeInstance(java.lang.Object handle)
          Get the node instance of a component instance.
static java.util.Collection getObjectFlowStates(java.lang.Object handle)
          The collection of object flow states
static java.lang.Object getOperation(java.lang.Object handle)
          Get the operation of a Call Action or Call Event.
static java.util.Collection getOperations(java.lang.Object handle)
          Get the list of operations.
static java.util.Iterator getOperationsInh(java.lang.Object handle)
          Get the list of Operations of this classifier and all inherited.
static java.lang.Object getOppositeEnd(java.lang.Object handle)
          Returns the opposite end of an association end.
static java.lang.Object getOrdering(java.lang.Object handle)
          Get ordering of an association end
static java.util.Collection getOtherAssociationEnds(java.lang.Object handle)
          Get the list of Associations Ends connected to this association end.
static java.util.Collection getOutgoings(java.lang.Object handle)
          Returns the list of Transitions outgoing from the given stateVertex.
static java.util.Collection getOwnedElements(java.lang.Object handle)
          The list of owned elements of the the package.
static java.lang.Object getOwner(java.lang.Object f)
          Return the owner of a feature.
static java.lang.Object getOwnerScope(java.lang.Object handle)
          Get the owner scope of a feature
static java.lang.Object getPackage(java.lang.Object handle)
           
static java.lang.Object getParameter(java.lang.Object handle, int n)
          Get a parameter of a behavioral feature.
static java.util.Collection getParameters(java.lang.Object handle)
          Get the parameters of a behavioral feature.
static java.lang.Object getParent(java.lang.Object handle)
          Get the parent of a generalization.
static java.lang.Object getPowertype(java.lang.Object handle)
          Get the powertype of a generalization
static java.util.Collection getPowertypeRanges(java.lang.Object handle)
          Get the powertype ranges of a classifier.
static java.util.Collection getPredecessors(java.lang.Object handle)
          Get the predecessors of a message.
static java.lang.Object getPseudostateKind(java.lang.Object handle)
           
static java.util.Collection getRaisedSignals(java.lang.Object handle)
          Returns the raised signals of an operation.
static java.lang.Object getReceiver(java.lang.Object handle)
          Returns the receiver object of a message or stimulus
static java.util.Collection getReceptions(java.lang.Object handle)
          Returns the receptions of a signal.
static java.lang.Object getRecurrence(java.lang.Object handle)
          Returns the recurrence iteration expression of an action.
static java.lang.Object getRepresentedClassifier(java.lang.Object handle)
          Returns the represented classifier of a collaboration.
static java.lang.Object getRepresentedOperation(java.lang.Object handle)
          Returns the represented operation of a collaboration.
static java.lang.Object getResident(java.lang.Object handle)
          Get the resident element
static java.util.Collection getResidentElements(java.lang.Object handle)
           
static java.util.Collection getResidents(java.lang.Object handle)
          Returns a collection with all residents belonging to the given node.
static java.lang.Object getScript(java.lang.Object handle)
          Returns the script belonging to a given action
static java.lang.Object getSender(java.lang.Object handle)
          Returns the sender object of a stimulus or a message
static java.lang.Object getSignal(java.lang.Object handle)
          Returns the sender object of a stimulus or a message TODO: Check if this javadoc comment is really correct?
static java.lang.Object getSource(java.lang.Object handle)
          Gets the source for some given transitions.
static java.util.Collection getSourceFlows(java.lang.Object handle)
          Returns the sourceflows of a model element
static java.util.Collection getSources(java.lang.Object handle)
           
static java.util.Collection getSpecializations(java.lang.Object handle)
          The list of Specializations from a GeneralizableElement.
static java.util.Collection getSpecifications(java.lang.Object cls)
          Returns all Interfaces of which this class is a realization.
static java.lang.Object getState(java.lang.Object handle)
          Returns the state belonging to some given transition.
static java.lang.Object getStateMachine(java.lang.Object handle)
          Returns the state machine belonging to some given state or transition
static java.lang.Object getStereoType(java.lang.Object handle)
          Deprecated. 0.15 in favor of getStereotypes
static java.util.Collection getStereotypes(java.lang.Object handle)
          Returns the stereotypes belonging to some given model element
static java.util.Collection getStimuli(java.lang.Object handle)
          Returns the stimuli belonging to some given link
static java.util.Collection getStimuli2(java.lang.Object handle)
           
static java.util.Collection getStimuli3(java.lang.Object handle)
           
static java.util.Collection getStructuralFeatures(java.lang.Object classifier)
          This method returns all attributes of a given Classifier.
static java.lang.Object getSubmachine(java.lang.Object handle)
          Returns the submachie of a submachine state
static java.util.Collection getSubmachineStates(java.lang.Object handle)
          Returns the submachine of a submachine state
static java.util.Collection getSubvertices(java.lang.Object handle)
          Returns a collection with all subvertices belonging to the given composite state.
static java.util.Collection getSupplierDependencies(java.lang.Object handle)
          The list of SupplierDependencies from a ModelElement.
static java.util.Collection getSuppliers(java.lang.Object handle)
          Returns the suppliers of a dependency.
static java.lang.Object getTag(java.lang.Object handle)
          Return the tag of a tagged value
static java.lang.Object getTaggedValue(java.lang.Object modelElement, java.lang.String name)
          Return the tagged value with a specific tag.
static java.util.Iterator getTaggedValues(java.lang.Object modelElement)
          Return the tagged values iterator of a model element.
static java.util.Collection getTaggedValuesCollection(java.lang.Object modelElement)
           
static java.lang.String getTagOfTag(java.lang.Object tv)
          Return the key (tag) of some tagged value.
static java.lang.Object getTarget(java.lang.Object handle)
          Returns the target of some transition
static java.util.Collection getTargetFlows(java.lang.Object handle)
          Returns the targetflows of a model element
static java.lang.Object getTargetScope(java.lang.Object handle)
          Returns the target scope of some model element
static java.lang.Object getTop(java.lang.Object handle)
          The top of a state machine
static java.lang.Object getTransition(java.lang.Object handle)
          Get the transition of a guard or action
static java.util.Collection getTransitions(java.lang.Object handle)
          Returns the transitions belonging to the given handle.
static java.lang.Object getTrigger(java.lang.Object handle)
          Get the trigger of a transition
static java.lang.Object getType(java.lang.Object handle)
          The type of an attribute
static java.lang.String getUMLClassName(java.lang.Object handle)
          getUMLClassName returns the name of the UML Model class, e.g.
static int getUpper(java.lang.Object handle)
          Returns the upper bound of the multiplicity of the given handle (an associationend).
static java.lang.Object getUseCase(java.lang.Object handle)
          Returns the use case of an extension point
static java.lang.String getUUID(java.lang.Object base)
          Return the UUID of this element
static java.lang.Object getValue(java.lang.Object handle)
           
static java.lang.String getValueOfTag(java.lang.Object tv)
          Return the value of some tagged value.
static java.lang.Object getVisibility(java.lang.Object element)
          Return the visibility of this element
static boolean hasReturnParameterDirectionKind(java.lang.Object o)
          Determine if the passed parameter has a RETURN direction kind
static boolean isAAbstraction(java.lang.Object handle)
          Recognizer for Abstraction.
static boolean isAAction(java.lang.Object handle)
          Recognizer for Action.
static boolean isAActionExpression(java.lang.Object handle)
          Recognizer for ActionExpression
static boolean isAActionSequence(java.lang.Object handle)
          Recognizer for ActionSequence
static boolean isAActionState(java.lang.Object handle)
          Recognizer for Action state
static boolean isAActivityGraph(java.lang.Object handle)
          Recognizer for ActivityGraph
static boolean isAActor(java.lang.Object handle)
          Recognizer for Actor
static boolean isAAggregationKind(java.lang.Object handle)
          Recognizer for AggregationKind
static boolean isAAssociation(java.lang.Object handle)
          Recognizer for Association.
static boolean isAAssociationEnd(java.lang.Object handle)
          Recognizer for AssociationEnd.
static boolean isAAssociationEndRole(java.lang.Object handle)
          Recognizer for AssociationEndRole
static boolean isAAssociationRole(java.lang.Object handle)
          Recognizer for AssociationRole
static boolean isAAttribute(java.lang.Object handle)
          Recognizer for Attribute
static boolean isABase(java.lang.Object handle)
          Recognizer for bases.
static boolean isABehavioralFeature(java.lang.Object handle)
          Recognizer for behavioral features.
static boolean isAbstract(java.lang.Object handle)
          Recognizer for abstract classes and operations.
static boolean isACallAction(java.lang.Object handle)
          Recognizer for CallAction
static boolean isACallEvent(java.lang.Object handle)
          Recognizer for CallEvent
static boolean isAClass(java.lang.Object handle)
          Recognizer for Class
static boolean isAClassifier(java.lang.Object handle)
          Recognizer for Classifier
static boolean isAClassifierRole(java.lang.Object handle)
          Recognizer for ClassifierRole
static boolean isACollaboration(java.lang.Object handle)
          Recognizer for Collaboration
static boolean isAComment(java.lang.Object handle)
          Recognizer for Comment
static boolean isAComponent(java.lang.Object handle)
          Recognizer for Component
static boolean isAComponentInstance(java.lang.Object handle)
          Recognizer for ComponentInstance
static boolean isACompositeState(java.lang.Object handle)
          Recognizer for CompositeState
static boolean isAConstraint(java.lang.Object handle)
          Recognizer for Constraint
static boolean isACreateAction(java.lang.Object handle)
          Recognizer for CreateAction
static boolean isActive(java.lang.Object handle)
           
static boolean isADataType(java.lang.Object handle)
          Recognizer for DataType
static boolean isADataValue(java.lang.Object handle)
          Recognizer for DataValue
static boolean isADependency(java.lang.Object handle)
          Recognizer for Dependency
static boolean isADestroyAction(java.lang.Object handle)
          Recognizer for DestroyAction
static boolean isADiagram(java.lang.Object handle)
          Recognizer for Diagram.
static boolean isAElement(java.lang.Object handle)
          Recognizer for Element
static boolean isAElementImport(java.lang.Object handle)
          Recognizer for ElementImport
static boolean isAElementListener(java.lang.Object handle)
          Recognizer for ElementListener
static boolean isAElementResidence(java.lang.Object handle)
          Recognizer for ElementResidence
static boolean isAExpression(java.lang.Object handle)
          Recognizer for Expression
static boolean isAExtend(java.lang.Object handle)
          Recognizer for Extend
static boolean isAExtensionPoint(java.lang.Object handle)
          Recognizer for ExtensionPoint
static boolean isAFeature(java.lang.Object handle)
          Recognizer for Feature
static boolean isAFinalState(java.lang.Object handle)
          Recognizer for FinalState
static boolean isAFlow(java.lang.Object handle)
          Recognizer for Flow
static boolean isAGeneralizableElement(java.lang.Object handle)
          Recognizer for GeneralizableElement
static boolean isAGeneralization(java.lang.Object handle)
          Recognizer for GeneralizableElement
static boolean isAggregate(java.lang.Object handle)
          Returns true if a given associationend is a composite.
static boolean isAGuard(java.lang.Object handle)
          Recognizer for Guard
static boolean isAInclude(java.lang.Object handle)
          Recognizer for Include
static boolean isAInstance(java.lang.Object handle)
          Recognizer for Instance
static boolean isAInteraction(java.lang.Object handle)
          Recognizer for Interaction
static boolean isAInterface(java.lang.Object handle)
          Recognizer for Interface
static boolean isALink(java.lang.Object handle)
          Recognizer for Link
static boolean isALinkEnd(java.lang.Object handle)
          Recognizer for LinkEnd
static boolean isAMessage(java.lang.Object handle)
          Recognizer for Message
static boolean isAMethod(java.lang.Object handle)
          Recognizer for Method
static boolean isAModel(java.lang.Object handle)
          Recognizer for Model
static boolean isAModelElement(java.lang.Object handle)
          Recognizer for ModelElement
static boolean isAMultiplicity(java.lang.Object handle)
          Recognizer for Multiplicity
static boolean isANamespace(java.lang.Object handle)
          Recognizer for Namespace
static boolean isANode(java.lang.Object handle)
          Recognizer for a Node
static boolean isANodeInstance(java.lang.Object handle)
          Recognizer for a NodeInstance
static boolean isAObject(java.lang.Object handle)
          Recognizer for Object
static boolean isAOperation(java.lang.Object handle)
          Recognizer for Operation
static boolean isAPackage(java.lang.Object handle)
          Recognizer for Package
static boolean isAParameter(java.lang.Object handle)
          Recognizer for Parameter
static boolean isAPermission(java.lang.Object handle)
          Recognizer for Permission
static boolean isAPseudostate(java.lang.Object handle)
          Recognizer for Pseudostate
static boolean isAPseudostateKind(java.lang.Object handle)
          Recognizer for PseudostateKind
static boolean isAReception(java.lang.Object handle)
          Recognizer for Reception
static boolean isARelationship(java.lang.Object handle)
          Recognizer for Relationship
static boolean isAReturnAction(java.lang.Object handle)
          Recognizer for Returnaction
static boolean isASendAction(java.lang.Object handle)
          Recognizer for SendAction
static boolean isASignal(java.lang.Object handle)
          Recognizer for Signal
static boolean isAState(java.lang.Object handle)
          Recognizer for State
static boolean isAStateMachine(java.lang.Object handle)
          Recognizer for StateMachine
static boolean isAStateVertex(java.lang.Object handle)
          Recognizer for StateVertex
static boolean isAStereotype(java.lang.Object handle)
          Recognizer for Stereotype
static boolean isAStimulus(java.lang.Object handle)
          Recognizer for stimulus
static boolean isAStructuralFeature(java.lang.Object handle)
          Recognizer for StructuralFeature
static boolean isASubsystem(java.lang.Object handle)
          Recognizer for Subsystem
static boolean isAsynchronous(java.lang.Object handle)
          Recognizer for asynchronisity of an action
static boolean isATaggedValue(java.lang.Object handle)
          Recognizer for TaggedValue
static boolean isATransition(java.lang.Object handle)
          Recognizer for Transition
static boolean isAUsage(java.lang.Object handle)
          Recognizer for Usage
static boolean isAUseCase(java.lang.Object handle)
          Recognizer for a Use Case
static boolean isAVisibilityKind(java.lang.Object handle)
          Recognizer for VisibilityKind
static boolean isChangeable(java.lang.Object handle)
          Recognizer for attributes that are changeable
static boolean isClassifierScope(java.lang.Object handle)
          Recognizer for attributes with classifier scope.
static boolean isComposite(java.lang.Object handle)
          Returns true if a given associationend is a composite.
static boolean isConcurent(java.lang.Object handle)
          Recognizer for concurent composite state.
static boolean isConstructor(java.lang.Object handle)
          Recognizer for constructor.
static boolean isFrozen(java.lang.Object handle)
           
static boolean isInitialized(java.lang.Object handle)
          Recognizer for attributes that are initialized.
static boolean isInstanceScope(java.lang.Object handle)
          Recognizer for attributes with instance scope.
static boolean isLeaf(java.lang.Object handle)
          Recognizer for leafs
static boolean isNavigable(java.lang.Object handle)
          Recognizer for Navigable elements
static boolean isPrimaryObject(java.lang.Object handle)
          Recognizer for primary objects.
static boolean isPrivate(java.lang.Object handle)
          Recognizer for attributes with private
static boolean isProtected(java.lang.Object handle)
          Recognizer for attributes with protected
static boolean isPublic(java.lang.Object handle)
          Recognizer for attributes with public
static boolean isQuery(java.lang.Object handle)
          Recognizer for MBehaviouralFeature's that are queries.
static boolean isRealize(java.lang.Object handle)
          Recognizer for realize
static boolean isReturn(java.lang.Object handle)
          Recognizer for return
static boolean isRoot(java.lang.Object handle)
          Recognizer for roots
static boolean isSingleton(java.lang.Object handle)
          Recognizer for singleton.
static boolean isSpecification(java.lang.Object handle)
          Recognizer for specifications
static boolean isStereotype(java.lang.Object handle, java.lang.String stereotypename)
          Recognizer for model elements with a given stereotype.
static boolean isTop(java.lang.Object handle)
           
static boolean isType(java.lang.Object handle)
          Recognizer for type.
static boolean isUtility(java.lang.Object handle)
          Recognizer for utility.
static java.lang.Object lookupIn(java.lang.Object o, java.lang.String name)
          Returns a named object in the given object by calling it's lookup method.
static void removeActualArgument(java.lang.Object handle, java.lang.Object argument)
           
static void removeBase(java.lang.Object o, java.lang.Object c)
          This method removes a classifier from a classifier role.
static void removeClassifier(java.lang.Object handle, java.lang.Object classifier)
          This method classifier from an instance
static void removeClientDependency(java.lang.Object o, java.lang.Object dep)
          This method removes a dependency from a model element.
static void removeConstraint(java.lang.Object handle, java.lang.Object cons)
           
static void removeContext(java.lang.Object handle, java.lang.Object context)
           
static void removeExtensionPoint(java.lang.Object uc, java.lang.Object ep)
          This method removes an extension point from a use case.
static void removeFeature(java.lang.Object cls, java.lang.Object feature)
          This method removes a feature from a classifier.
static void removeMessage3(java.lang.Object handle, java.lang.Object mess)
           
static void removeOwnedElement(java.lang.Object handle, java.lang.Object value)
          Removes a owned model element from a namespace.
static void removeParameter(java.lang.Object o, java.lang.Object p)
          This method removes a parameter from an operation.
static void removePredecessor(java.lang.Object handle, java.lang.Object message)
           
static void removeReception(java.lang.Object handle, java.lang.Object reception)
           
static void removeSubvertex(java.lang.Object handle, java.lang.Object subvertex)
           
static void setAbstract(java.lang.Object target, boolean flag)
          Sets if of some model element is abstract.
static void setAction(java.lang.Object message, java.lang.Object action)
          Sets the action to a message
static void setActivator(java.lang.Object handle, java.lang.Object message)
           
static void setActive(java.lang.Object handle, boolean active)
           
static void setAddition(java.lang.Object target, java.lang.Object useCase)
           
static void setAggregation(java.lang.Object element, java.lang.Object aggregationKind)
          Sets the aggregation of some model element.
static void setAssociation(java.lang.Object target, java.lang.Object association)
          Sets the association of some model element.
static void setAsynchronous(java.lang.Object handle, boolean value)
          Sets the asynchronous property of an action.
static void setBase(java.lang.Object target, java.lang.Object base)
          Set the base of some model element
static void setBaseClass(java.lang.Object handle, java.lang.Object baseClass)
          Set the baseclass of some stereotype
static void setBody(java.lang.Object m, java.lang.Object expr)
          Sets a body of some method or expression.
static void setChangeability(java.lang.Object o, java.lang.Object ck)
           
static void setChangeable(java.lang.Object o, boolean flag)
          Set the changeability of some feature.
static void setChild(java.lang.Object target, java.lang.Object child)
           
static void setClassifiers(java.lang.Object o, java.util.Vector v)
          Sets the classifiers of some instance.
static void setCommunicationLink(java.lang.Object o, java.lang.Object c)
          Sets the communicationLink between a link c and a stimulus o.
static void setComponentInstance(java.lang.Object o, java.lang.Object c)
           
static void setConcurent(java.lang.Object handle, boolean concurrent)
           
static void setConcurrency(java.lang.Object operation, java.lang.Object concurrencyKind)
          Set the concurrency of some operation.
static void setConcurrency(java.lang.Object o, short c)
          Set the concurrency of some operation.
static void setCondition(java.lang.Object extend, java.lang.Object booleanExpression)
          Set the condition of an extend
static void setContainer(java.lang.Object handle, java.lang.Object compositeState)
          Set the container of a statevertex.
static void setContexts(java.lang.Object handle, java.util.Collection c)
           
static void setDefaultValue(java.lang.Object p, java.lang.Object expr)
          Sets a default value of some parameter.
static void setDispatchAction(java.lang.Object handle, java.lang.Object value)
          Sets the dispatch action for some stimulus
static void setDoActivity(java.lang.Object handle, java.lang.Object value)
          Sets the do activity of a state
static void setEffect(java.lang.Object handle, java.lang.Object value)
          Sets the effect of some transition
static void setEntry(java.lang.Object handle, java.lang.Object value)
          Sets the entry action of some state
static void setExit(java.lang.Object handle, java.lang.Object value)
          Sets the exit action of some state
static void setExpression(java.lang.Object handle, java.lang.Object value)
           
static void setExtension(java.lang.Object handle, java.lang.Object ext)
           
static void setExtensionPoints(java.lang.Object target, java.util.Collection extensionPoints)
          Sets the extension points of some use cases.
static void setFeatures(java.lang.Object element, java.util.Collection features)
          Sets the features of some model element.
static void setGuard(java.lang.Object handle, java.lang.Object guard)
          Sets the guard of a transition.
static void setIcon(java.lang.Object handle, java.lang.Object icon)
           
static void setImplementationLocation(java.lang.Object handle, java.lang.Object component)
           
static void setIncludes(java.lang.Object target, java.util.Collection includes)
           
static void setInitialValue(java.lang.Object at, java.lang.Object expr)
          Sets an initial value.
static void setInstance(java.lang.Object handle, java.lang.Object inst)
           
static void setInternalTransitions(java.lang.Object target, java.util.Collection intTrans)
           
static void setKind(java.lang.Object target, java.lang.Object kind)
          Set some parameters kind.
static void setKindToIn(java.lang.Object p)
          Set some parameters kind to 'in'.
static void setKindToInOut(java.lang.Object p)
          Set some parameters kind to 'in/out'.
static void setKindToOut(java.lang.Object p)
          Set some parameters kind to 'out'.
static void setKindToReturn(java.lang.Object p)
          Set some parameters kind to 'return'.
static void setLanguage(java.lang.Object m, java.lang.String expr)
          Sets the language of an expression.
static void setLeaf(java.lang.Object target, boolean flag)
          Sets if some model element is a leaf.
static void setLocation(java.lang.Object ep, java.lang.String loc)
          Sets a location of some extension point.
static void setMessages3(java.lang.Object handle, java.util.Collection messages)
           
static void setModelElementContainer(java.lang.Object handle, java.lang.Object container)
          Sets the container that owns the handle.
static void setMultiplicity(java.lang.Object target, java.lang.Object mult)
          Sets a multiplicity of some model element.
static void setName(java.lang.Object o, java.lang.String name)
          Sets a name of some modelelement.
static void setNamespace(java.lang.Object handle, java.lang.Object ns)
          Sets a namespace of some modelelement.
static void setNavigable(java.lang.Object o, boolean flag)
          Sets the navigability of some association end.
static void setNodeInstance(java.lang.Object handle, java.lang.Object nodeInstance)
           
static void setOperation(java.lang.Object handle, java.lang.Object operation)
           
static void setOrdering(java.lang.Object handle, java.lang.Object ok)
           
static void setOwner(java.lang.Object handle, java.lang.Object owner)
           
static void setOwnerScope(java.lang.Object f, java.lang.Object os)
           
static void setOwnerScope(java.lang.Object f, short os)
          Set the owner scope of some feature.
static void setParameters(java.lang.Object target, java.util.Collection parameters)
          Sets the extension points of some use cases.
static void setParent(java.lang.Object target, java.lang.Object parent)
          Sets the parent of a generalization.
static void setPowertype(java.lang.Object target, java.lang.Object pt)
           
static void setPredecessors(java.lang.Object target, java.util.Collection predecessors)
           
static void setQuery(java.lang.Object bf, boolean flag)
          Sets the query flag of a behavioral feature.
static void setRaisedSignals(java.lang.Object target, java.util.Collection raisedSignals)
          Sets the raised signals of some behavioural feature.
static void setReceiver(java.lang.Object target, java.lang.Object receiver)
          Sets the receiver of some model element.
static void setRecurrence(java.lang.Object target, java.lang.Object expr)
           
static void setRepresentedClassifier(java.lang.Object target, java.lang.Object classifier)
          Sets the represented classifier of some collaboration
static void setRepresentedOperation(java.lang.Object target, java.lang.Object operation)
          Sets the represented operation of some collaboration
static void setResident(java.lang.Object handle, java.lang.Object resident)
           
static void setResidents(java.lang.Object target, java.util.Collection residents)
          Sets the residents of some model element.
static void setRoot(java.lang.Object target, boolean flag)
          Sets if some model element is a root.
static void setScript(java.lang.Object target, java.lang.Object expr)
           
static void setSender(java.lang.Object target, java.lang.Object sender)
          Sets the sender of some model element.
static void setSignal(java.lang.Object target, java.lang.Object signal)
           
static void setSource(java.lang.Object target, java.lang.Object state)
          Sets the source state of some message.
static void setSources(java.lang.Object target, java.util.Collection specifications)
           
static void setSpecification(java.lang.Object target, boolean specification)
           
static void setSpecifications(java.lang.Object target, java.util.Collection specifications)
          Sets the specifications of some association end.
static void setStateMachine(java.lang.Object st, java.lang.Object stm)
          Sets a state machine of some state.
static void setStereotype(java.lang.Object m, java.lang.Object stereo)
          Sets the stereotype of some modelelement.
static void setSubvertices(java.lang.Object handle, java.util.Collection subvertices)
           
static void setTag(java.lang.Object target, java.lang.Object tag)
           
static void setTaggedValue(java.lang.Object target, java.lang.String tag, java.lang.String value)
          Sets a tagged value of some modelelement.
static void setTaggedValues(java.lang.Object target, java.util.Collection taggedValues)
           
static void setTarget(java.lang.Object handle, java.lang.Object element)
          Sets the target of some action or transition.
static void setTargetScope(java.lang.Object handle, java.lang.Object scopeKind)
          Set the target scope of some association end or structural feature
static void setTargetScope(java.lang.Object ae, short ts)
          Set the target scope of some association end.
static void setTransition(java.lang.Object handle, java.lang.Object trans)
           
static void setTrigger(java.lang.Object handle, java.lang.Object event)
          Sets the trigger event of a transition.
static void setType(java.lang.Object handle, java.lang.Object type)
          Sets the type of some parameter.
static void setUUID(java.lang.Object base, java.lang.String uuid)
          Set the UUID of this element
static void setValue(java.lang.Object handle, java.lang.Object value)
           
static void setValueOfTag(java.lang.Object tv, java.lang.String value)
          Sets a value of some taggedValue.
static void setVisibility(java.lang.Object handle, java.lang.Object visibility)
          Set the visibility of some modelelement.
static void setVisibility(java.lang.Object o, short v)
          Set the visibility of some modelelement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACC_PUBLIC

public static final short ACC_PUBLIC
See Also:
Constant Field Values

ACC_PRIVATE

public static final short ACC_PRIVATE
See Also:
Constant Field Values

ACC_PROTECTED

public static final short ACC_PROTECTED
See Also:
Constant Field Values

CLASSIFIER_SCOPE

public static final short CLASSIFIER_SCOPE
See Also:
Constant Field Values

INSTANCE_SCOPE

public static final short INSTANCE_SCOPE
See Also:
Constant Field Values

GUARDED

public static final short GUARDED
See Also:
Constant Field Values

SEQUENTIAL

public static final short SEQUENTIAL
See Also:
Constant Field Values

ABSTRACTION

public static final java.lang.Object ABSTRACTION

ASSOCIATION

public static final java.lang.Object ASSOCIATION

ASSOCIATION_CLASS

public static final java.lang.Object ASSOCIATION_CLASS

ASSOCIATION_ROLE

public static final java.lang.Object ASSOCIATION_ROLE

COLLABORATION

public static final java.lang.Object COLLABORATION

DEPENDENCY

public static final java.lang.Object DEPENDENCY

EXTEND

public static final java.lang.Object EXTEND

GENERALIZATION

public static final java.lang.Object GENERALIZATION

INCLUDE

public static final java.lang.Object INCLUDE

LINK

public static final java.lang.Object LINK

MESSAGE

public static final java.lang.Object MESSAGE

PERMISSION

public static final java.lang.Object PERMISSION

SIGNAL

public static final java.lang.Object SIGNAL

USAGE

public static final java.lang.Object USAGE

TRANSITION

public static final java.lang.Object TRANSITION

ACTOR

public static final java.lang.Object ACTOR

CLASS

public static final java.lang.Object CLASS

CLASSIFIER

public static final java.lang.Object CLASSIFIER

CLASSIFIER_ROLE

public static final java.lang.Object CLASSIFIER_ROLE

COMPONENT

public static final java.lang.Object COMPONENT

COMPONENT_INSTANCE

public static final java.lang.Object COMPONENT_INSTANCE

INSTANCE

public static final java.lang.Object INSTANCE

INTERFACE

public static final java.lang.Object INTERFACE

NODE

public static final java.lang.Object NODE

NODE_INSTANCE

public static final java.lang.Object NODE_INSTANCE

OBJECT

public static final java.lang.Object OBJECT

PACKAGE

public static final java.lang.Object PACKAGE

MODEL

public static final java.lang.Object MODEL

SUBSYSTEM

public static final java.lang.Object SUBSYSTEM

STATE

public static final java.lang.Object STATE

STATEIMPL

public static final java.lang.Object STATEIMPL

COMPOSITESTATE

public static final java.lang.Object COMPOSITESTATE

STATEVERTEX

public static final java.lang.Object STATEVERTEX

PSEUDOSTATE

public static final java.lang.Object PSEUDOSTATE

FINALSTATE

public static final java.lang.Object FINALSTATE

USE_CASE

public static final java.lang.Object USE_CASE

ACTION

public static final java.lang.Object ACTION

ACTION_EXPRESSION

public static final java.lang.Object ACTION_EXPRESSION

ACTION_STATE

public static final java.lang.Object ACTION_STATE

ASSOCIATION_END

public static final java.lang.Object ASSOCIATION_END

ASSOCIATION_END_ROLE

public static final java.lang.Object ASSOCIATION_END_ROLE

CALL_ACTION

public static final java.lang.Object CALL_ACTION

CALLCONCURRENCYKIND

public static final java.lang.Object CALLCONCURRENCYKIND

CREATE_ACTION

public static final java.lang.Object CREATE_ACTION

DESTROY_ACTION

public static final java.lang.Object DESTROY_ACTION

TERMINATE_ACTION

public static final java.lang.Object TERMINATE_ACTION

NAMESPACE

public static final java.lang.Object NAMESPACE

RECEPTION

public static final java.lang.Object RECEPTION

RETURN_ACTION

public static final java.lang.Object RETURN_ACTION

SCOPEKIND

public static final java.lang.Object SCOPEKIND

SEND_ACTION

public static final java.lang.Object SEND_ACTION

STEREOTYPE

public static final java.lang.Object STEREOTYPE

PARAMETER

public static final java.lang.Object PARAMETER

PARAMETERDIRECTIONKIND

public static final java.lang.Object PARAMETERDIRECTIONKIND

GENERALAIZABLE_ELEMENT

public static final java.lang.Object GENERALAIZABLE_ELEMENT

DATATYPE

public static final java.lang.Object DATATYPE

STATEMACHINE

public static final java.lang.Object STATEMACHINE

ATTRIBUTE

public static final java.lang.Object ATTRIBUTE

OPERATION

public static final java.lang.Object OPERATION

MULTIPLICITY

public static final java.lang.Object MULTIPLICITY

VISIBILITYKIND

public static final java.lang.Object VISIBILITYKIND

MODELELEMENT

public static final java.lang.Object MODELELEMENT

STIMULUS

public static final java.lang.Object STIMULUS

AGGREGATIONKIND

public static final java.lang.Object AGGREGATIONKIND

BOOLEAN_EXPRESSION

public static final java.lang.Object BOOLEAN_EXPRESSION

GUARD

public static final java.lang.Object GUARD

ADD_ONLY_CHANGEABLEKIND

public static final java.lang.Object ADD_ONLY_CHANGEABLEKIND

CHANGEABLE_CHANGEABLEKIND

public static final java.lang.Object CHANGEABLE_CHANGEABLEKIND

FROZEN_CHANGEABLEKIND

public static final java.lang.Object FROZEN_CHANGEABLEKIND

CONCURRENT_CONCURRENCYKIND

public static final java.lang.Object CONCURRENT_CONCURRENCYKIND

GUARDED_CONCURRENCYKIND

public static final java.lang.Object GUARDED_CONCURRENCYKIND

SEQUENTIAL_CONCURRENCYKIND

public static final java.lang.Object SEQUENTIAL_CONCURRENCYKIND

PSEUDOSTATEKIND

public static final java.lang.Object PSEUDOSTATEKIND

INITIAL_PSEUDOSTATEKIND

public static final java.lang.Object INITIAL_PSEUDOSTATEKIND

DEEPHISTORY_PSEUDOSTATEKIND

public static final java.lang.Object DEEPHISTORY_PSEUDOSTATEKIND

SHALLOWHISTORY_PSEUDOSTATEKIND

public static final java.lang.Object SHALLOWHISTORY_PSEUDOSTATEKIND

FORK_PSEUDOSTATEKIND

public static final java.lang.Object FORK_PSEUDOSTATEKIND

JOIN_PSEUDOSTATEKIND

public static final java.lang.Object JOIN_PSEUDOSTATEKIND

JUNCTION_PSEUDOSTATEKIND

public static final java.lang.Object JUNCTION_PSEUDOSTATEKIND

BRANCH_PSEUDOSTATEKIND

public static final java.lang.Object BRANCH_PSEUDOSTATEKIND

PUBLIC_VISIBILITYKIND

public static final java.lang.Object PUBLIC_VISIBILITYKIND

PRIVATE_VISIBILITYKIND

public static final java.lang.Object PRIVATE_VISIBILITYKIND

PROTECTED_VISIBILITYKIND

public static final java.lang.Object PROTECTED_VISIBILITYKIND

AGGREGATE_AGGREGATIONKIND

public static final java.lang.Object AGGREGATE_AGGREGATIONKIND

COMPOSITE_AGGREGATIONKIND

public static final java.lang.Object COMPOSITE_AGGREGATIONKIND

NONE_AGGREGATIONKIND

public static final java.lang.Object NONE_AGGREGATIONKIND

ORDERED_ORDERINGKIND

public static final java.lang.Object ORDERED_ORDERINGKIND

UNORDERED_ORDERINGKIND

public static final java.lang.Object UNORDERED_ORDERINGKIND

SORTED_ORDERINGKIND

public static final java.lang.Object SORTED_ORDERINGKIND

M1_1_MULTIPLICITY

public static final java.lang.Object M1_1_MULTIPLICITY

M0_1_MULTIPLICITY

public static final java.lang.Object M0_1_MULTIPLICITY

M0_N_MULTIPLICITY

public static final java.lang.Object M0_N_MULTIPLICITY

M1_N_MULTIPLICITY

public static final java.lang.Object M1_N_MULTIPLICITY

CLASSIFIER_SCOPEKIND

public static final java.lang.Object CLASSIFIER_SCOPEKIND

INSTANCE_SCOPEKIND

public static final java.lang.Object INSTANCE_SCOPEKIND

INOUT_PARAMETERDIRECTIONKIND

public static final java.lang.Object INOUT_PARAMETERDIRECTIONKIND

IN_PARAMETERDIRECTIONKIND

public static final java.lang.Object IN_PARAMETERDIRECTIONKIND

OUT_PARAMETERDIRECTIONKIND

public static final java.lang.Object OUT_PARAMETERDIRECTIONKIND

RETURN_PARAMETERDIRECTIONKIND

public static final java.lang.Object RETURN_PARAMETERDIRECTIONKIND

GENERATED_TAG

public static final java.lang.String GENERATED_TAG
This tag is set on elements that are generated by reference when importing. If it is set, then the critics could ignore those objects if they want.

See Also:
Constant Field Values
Constructor Detail

ModelFacade

public ModelFacade()
Method Detail

create

public static java.lang.Object create(ModelEntity entity)
Create a model object from the implementation.

This will allow abstraction of the create mechanism at a single point.

Parameters:
entity - Class to create - must implement UmlModelEntity
Returns:
the created object or null if it cannot create the class.

isAAbstraction

public static boolean isAAbstraction(java.lang.Object handle)
Recognizer for Abstraction.

Parameters:
handle - candidate
Returns:
true if handle is an Abstraction

isAAction

public static boolean isAAction(java.lang.Object handle)
Recognizer for Action.

Parameters:
handle - candidate
Returns:
true if handle is an Action

isAActionExpression

public static boolean isAActionExpression(java.lang.Object handle)
Recognizer for ActionExpression

Parameters:
handle - candidate
Returns:
true if handle is an ActionExpression

isAActionSequence

public static boolean isAActionSequence(java.lang.Object handle)
Recognizer for ActionSequence

Parameters:
handle - candidate
Returns:
true if handle is an action sequence

isAActionState

public static boolean isAActionState(java.lang.Object handle)
Recognizer for Action state

Parameters:
handle - candidate
Returns:
true if handle is an Action state

isAActor

public static boolean isAActor(java.lang.Object handle)
Recognizer for Actor

Parameters:
handle - candidate
Returns:
true if handle is an Actor

isAAggregationKind

public static boolean isAAggregationKind(java.lang.Object handle)
Recognizer for AggregationKind

Parameters:
handle - candidate
Returns:
true if handle is an AggregationKind

isAAssociation

public static boolean isAAssociation(java.lang.Object handle)
Recognizer for Association.

Parameters:
handle - candidate
Returns:
true if handle is an Association

isAAssociationEnd

public static boolean isAAssociationEnd(java.lang.Object handle)
Recognizer for AssociationEnd.

Parameters:
handle - candidate
Returns:
true if handle is an AssociationEnd

isAAssociationRole

public static boolean isAAssociationRole(java.lang.Object handle)
Recognizer for AssociationRole

Parameters:
handle - candidate
Returns:
true if handle is an AssociationRole

isAAssociationEndRole

public static boolean isAAssociationEndRole(java.lang.Object handle)
Recognizer for AssociationEndRole

Parameters:
handle - candidate
Returns:
true if handle is an AssociationEndRole

isAAttribute

public static boolean isAAttribute(java.lang.Object handle)
Recognizer for Attribute

Parameters:
handle - candidate
Returns:
true if handle is an Attribute

isAsynchronous

public static boolean isAsynchronous(java.lang.Object handle)
Recognizer for asynchronisity of an action

Parameters:
handle - candidate
Returns:
true if the argument is asynchronous

isAbstract

public static boolean isAbstract(java.lang.Object handle)
Recognizer for abstract classes and operations.

Parameters:
handle - candidate
Returns:
true if handle is abstract.

isAActivityGraph

public static boolean isAActivityGraph(java.lang.Object handle)
Recognizer for ActivityGraph

Parameters:
handle - candidate
Returns:
true if handle is ActivityGraph.

isABase

public static boolean isABase(java.lang.Object handle)
Recognizer for bases. A base is an object that is some form of an element in the model. MBase in Novosoft terms.

Parameters:
handle - candidate
Returns:
true if handle is a base.

isABehavioralFeature

public static boolean isABehavioralFeature(java.lang.Object handle)
Recognizer for behavioral features.

Parameters:
handle - candidate
Returns:
true if handle is a behavioral feature

isACallAction

public static boolean isACallAction(java.lang.Object handle)
Recognizer for CallAction

Parameters:
handle - candidate
Returns:
true if handle is a CallAction

isACallEvent

public static boolean isACallEvent(java.lang.Object handle)
Recognizer for CallEvent

Parameters:
handle - candidate
Returns:
true if handle is a CallEvent

isAClass

public static boolean isAClass(java.lang.Object handle)
Recognizer for Class

Parameters:
handle - candidate
Returns:
true if handle is a Class

isAClassifier

public static boolean isAClassifier(java.lang.Object handle)
Recognizer for Classifier

Parameters:
handle - candidate
Returns:
true if handle is a Classifier

isAClassifierRole

public static boolean isAClassifierRole(java.lang.Object handle)
Recognizer for ClassifierRole

Parameters:
handle - candidate
Returns:
true if handle is a ClassifierRole

isAComment

public static boolean isAComment(java.lang.Object handle)
Recognizer for Comment

Parameters:
handle - candidate
Returns:
true if handle is a Comment

isACollaboration

public static boolean isACollaboration(java.lang.Object handle)
Recognizer for Collaboration

Parameters:
handle - candidate
Returns:
true if handle is a Collaboration

isAComponent

public static boolean isAComponent(java.lang.Object handle)
Recognizer for Component

Parameters:
handle - candidate
Returns:
true if handle is a Component

isAComponentInstance

public static boolean isAComponentInstance(java.lang.Object handle)
Recognizer for ComponentInstance

Parameters:
handle - candidate
Returns:
true if handle is a ComponentInstance

isAConstraint

public static boolean isAConstraint(java.lang.Object handle)
Recognizer for Constraint

Parameters:
handle - candidate
Returns:
true if handle is a Constraint

isACreateAction

public static boolean isACreateAction(java.lang.Object handle)
Recognizer for CreateAction

Parameters:
handle - candidate
Returns:
true if handle is a CreateAction

isActive

public static boolean isActive(java.lang.Object handle)

isADataType

public static boolean isADataType(java.lang.Object handle)
Recognizer for DataType

Parameters:
handle - candidate
Returns:
true if handle is a DataType

isADataValue

public static boolean isADataValue(java.lang.Object handle)
Recognizer for DataValue

Parameters:
handle - candidate
Returns:
true if handle is a DataValue

isADependency

public static boolean isADependency(java.lang.Object handle)
Recognizer for Dependency

Parameters:
handle - candidate
Returns:
true if handle is a Dependency

isADestroyAction

public static boolean isADestroyAction(java.lang.Object handle)
Recognizer for DestroyAction

Parameters:
handle - candidate
Returns:
true if handle is a DestroyAction

isACompositeState

public static boolean isACompositeState(java.lang.Object handle)
Recognizer for CompositeState

Parameters:
handle - candidate
Returns:
true if handle is a CompositeState

isAElement

public static boolean isAElement(java.lang.Object handle)
Recognizer for Element

Parameters:
handle - candidate
Returns:
true if handle is an Element

isAElementImport

public static boolean isAElementImport(java.lang.Object handle)
Recognizer for ElementImport

Parameters:
handle - candidate
Returns:
true if handle is an ElementImport

isAElementListener

public static boolean isAElementListener(java.lang.Object handle)
Recognizer for ElementListener

Parameters:
handle - candidate
Returns:
true if handle is an ElementListener

isAElementResidence

public static boolean isAElementResidence(java.lang.Object handle)
Recognizer for ElementResidence

Parameters:
handle - candidate
Returns:
true if handle is an ElementResidence

isAExpression

public static boolean isAExpression(java.lang.Object handle)
Recognizer for Expression

Parameters:
handle - candidate
Returns:
true if handle is an Expression

isAExtend

public static boolean isAExtend(java.lang.Object handle)
Recognizer for Extend

Parameters:
handle - candidate
Returns:
true if handle is an Extend

isAExtensionPoint

public static boolean isAExtensionPoint(java.lang.Object handle)
Recognizer for ExtensionPoint

Parameters:
handle - candidate
Returns:
true if handle is an ExtensionPoint

isAFeature

public static boolean isAFeature(java.lang.Object handle)
Recognizer for Feature

Parameters:
handle - candidate
Returns:
true if handle is a Feature

isAFinalState

public static boolean isAFinalState(java.lang.Object handle)
Recognizer for FinalState

Parameters:
handle - candidate
Returns:
true if handle is a FinalState

isAFlow

public static boolean isAFlow(java.lang.Object handle)
Recognizer for Flow

Parameters:
handle - candidate
Returns:
true if handle is a Flow

isAGuard

public static boolean isAGuard(java.lang.Object handle)
Recognizer for Guard

Parameters:
handle - candidate
Returns:
true if handle is a Guard

isAGeneralizableElement

public static boolean isAGeneralizableElement(java.lang.Object handle)
Recognizer for GeneralizableElement

Parameters:
handle - candidate
Returns:
true if handle is a GeneralizableElement

isAGeneralization

public static boolean isAGeneralization(java.lang.Object handle)
Recognizer for GeneralizableElement

Parameters:
handle - candidate
Returns:
true if handle is a GeneralizableElement

isAInclude

public static boolean isAInclude(java.lang.Object handle)
Recognizer for Include

Parameters:
handle - candidate
Returns:
true if handle is an Include

isAInstance

public static boolean isAInstance(java.lang.Object handle)
Recognizer for Instance

Parameters:
handle - candidate
Returns:
true if handle is a Instance

isAInteraction

public static boolean isAInteraction(java.lang.Object handle)
Recognizer for Interaction

Parameters:
handle - candidate
Returns:
true if handle is a Interaction

isAInterface

public static boolean isAInterface(java.lang.Object handle)
Recognizer for Interface

Parameters:
handle - candidate
Returns:
true if handle is a Interface

isALink

public static boolean isALink(java.lang.Object handle)
Recognizer for Link

Parameters:
handle - candidate
Returns:
true if handle is a Link

isALinkEnd

public static boolean isALinkEnd(java.lang.Object handle)
Recognizer for LinkEnd

Parameters:
handle - candidate
Returns:
true if handle is a LinkEnd

isAMessage

public static boolean isAMessage(java.lang.Object handle)
Recognizer for Message

Parameters:
handle - candidate
Returns:
true if handle is a Method

isAMethod

public static boolean isAMethod(java.lang.Object handle)
Recognizer for Method

Parameters:
handle - candidate
Returns:
true if handle is a Method

isAModel

public static boolean isAModel(java.lang.Object handle)
Recognizer for Model

Parameters:
handle - candidate
Returns:
true if handle is a Model

isAModelElement

public static boolean isAModelElement(java.lang.Object handle)
Recognizer for ModelElement

Parameters:
handle - candidate
Returns:
true if handle is a ModelElement

isAMultiplicity

public static boolean isAMultiplicity(java.lang.Object handle)
Recognizer for Multiplicity

Parameters:
handle - candidate
Returns:
true if handle is a Multiplicity

isANamespace

public static boolean isANamespace(java.lang.Object handle)
Recognizer for Namespace

Parameters:
handle - candidate
Returns:
true if handle is a Namespace

isANode

public static boolean isANode(java.lang.Object handle)
Recognizer for a Node

Parameters:
handle - candidate
Returns:
true if handle is a Node

isANodeInstance

public static boolean isANodeInstance(java.lang.Object handle)
Recognizer for a NodeInstance

Parameters:
handle - candidate
Returns:
true if handle is a NodeInstance

isAOperation

public static boolean isAOperation(java.lang.Object handle)
Recognizer for Operation

Parameters:
handle - candidate
Returns:
true if handle is an Operation

isAObject

public static boolean isAObject(java.lang.Object handle)
Recognizer for Object

Parameters:
handle - candidate
Returns:
true if handle is an Object

isAParameter

public static boolean isAParameter(java.lang.Object handle)
Recognizer for Parameter

Parameters:
handle - candidate
Returns:
true if handle is a Parameter

isAPermission

public static boolean isAPermission(java.lang.Object handle)
Recognizer for Permission

Parameters:
handle - candidate
Returns:
true if handle is an Permission

isAPackage

public static boolean isAPackage(java.lang.Object handle)
Recognizer for Package

Parameters:
handle - candidate
Returns:
true if handle is a Package

isAPseudostate

public static boolean isAPseudostate(java.lang.Object handle)
Recognizer for Pseudostate

Parameters:
handle - candidate
Returns:
true if handle is a Pseudostate

isAPseudostateKind

public static boolean isAPseudostateKind(java.lang.Object handle)
Recognizer for PseudostateKind

Parameters:
handle - candidate
Returns:
true if handle is a PseudostateKind

getPseudostateKind

public static java.lang.Object getPseudostateKind(java.lang.Object handle)

getReceiver

public static java.lang.Object getReceiver(java.lang.Object handle)
Returns the receiver object of a message or stimulus

Parameters:
handle - candidate
Returns:
receiver

getKind

public static java.lang.Object getKind(java.lang.Object handle)

getLink

public static java.lang.Object getLink(java.lang.Object handle)

equalsPseudostateKind

public static boolean equalsPseudostateKind(java.lang.Object ps1,
                                            java.lang.Object ps2)
Check whether two pseudostatekinds are equal/of the same type.

Parameters:
ps1 - one kind
ps2 - one kind
Returns:
true if the are the same type

isAReception

public static boolean isAReception(java.lang.Object handle)
Recognizer for Reception

Parameters:
handle - candidate
Returns:
true if handle is a Reception

isAReturnAction

public static boolean isAReturnAction(java.lang.Object handle)
Recognizer for Returnaction

Parameters:
handle - candidate
Returns:
true if handle is a returnaction

isARelationship

public static boolean isARelationship(java.lang.Object handle)
Recognizer for Relationship

Parameters:
handle - candidate
Returns:
true if handle is a Relationship

isASendAction

public static boolean isASendAction(java.lang.Object handle)
Recognizer for SendAction

Parameters:
handle - candidate
Returns:
true if handle is a SendAction

isASignal

public static boolean isASignal(java.lang.Object handle)
Recognizer for Signal

Parameters:
handle - candidate
Returns:
true if handle is a Signal

isAStateMachine

public static boolean isAStateMachine(java.lang.Object handle)
Recognizer for StateMachine

Parameters:
handle - candidate
Returns:
true if handle is a StateMachine

isAStimulus

public static boolean isAStimulus(java.lang.Object handle)
Recognizer for stimulus

Parameters:
handle - candidate
Returns:
true if handle is a stimulus

isAStateVertex

public static boolean isAStateVertex(java.lang.Object handle)
Recognizer for StateVertex

Parameters:
handle - candidate
Returns:
true if handle is a StateVertex

isAStereotype

public static boolean isAStereotype(java.lang.Object handle)
Recognizer for Stereotype

Parameters:
handle - candidate
Returns:
true if handle is a Stereotype

isAStructuralFeature

public static boolean isAStructuralFeature(java.lang.Object handle)
Recognizer for StructuralFeature

Parameters:
handle - candidate
Returns:
true if handle is a StructuralFeature

isAState

public static boolean isAState(java.lang.Object handle)
Recognizer for State

Parameters:
handle - candidate
Returns:
true if handle is a State

isASubsystem

public static boolean isASubsystem(java.lang.Object handle)
Recognizer for Subsystem

Parameters:
handle - candidate
Returns:
true if handle is a Subsystem

isATaggedValue

public static boolean isATaggedValue(java.lang.Object handle)
Recognizer for TaggedValue

Parameters:
handle - candidate
Returns:
true if handle is a TaggedValue

isATransition

public static boolean isATransition(java.lang.Object handle)
Recognizer for Transition

Parameters:
handle - candidate
Returns:
true if handle is a Transition

isAUsage

public static boolean isAUsage(java.lang.Object handle)
Recognizer for Usage

Parameters:
handle - candidate
Returns:
true if handle is a Usage

isAUseCase

public static boolean isAUseCase(java.lang.Object handle)
Recognizer for a Use Case

Parameters:
handle - candidate
Returns:
true if handle is a Transition

isAVisibilityKind

public static boolean isAVisibilityKind(java.lang.Object handle)
Recognizer for VisibilityKind

Parameters:
handle - candidate
Returns:
true if handle is a VisibilityKind

isChangeable

public static boolean isChangeable(java.lang.Object handle)
Recognizer for attributes that are changeable

Parameters:
handle - candidate
Returns:
true if handle is changeable

isClassifierScope

public static boolean isClassifierScope(java.lang.Object handle)
Recognizer for attributes with classifier scope.

Parameters:
handle - candidate
Returns:
true if handle has classifier scope.

isConcurent

public static boolean isConcurent(java.lang.Object handle)
Recognizer for concurent composite state.

Parameters:
handle - composite state
Returns:
true if concurent.

isConstructor

public static boolean isConstructor(java.lang.Object handle)
Recognizer for constructor.

Parameters:
handle - candidate
Returns:
true if handle is a constructor.

isFrozen

public static boolean isFrozen(java.lang.Object handle)

isComposite

public static boolean isComposite(java.lang.Object handle)
Returns true if a given associationend is a composite.

Parameters:
handle - candidate
Returns:
boolean

isAggregate

public static boolean isAggregate(java.lang.Object handle)
Returns true if a given associationend is a composite.

Parameters:
handle - candidate
Returns:
boolean

isInitialized

public static boolean isInitialized(java.lang.Object handle)
Recognizer for attributes that are initialized.

Parameters:
handle - candidate
Returns:
true if the attribute is initialized.

isInstanceScope

public static boolean isInstanceScope(java.lang.Object handle)
Recognizer for attributes with instance scope.

Parameters:
handle - candidate
Returns:
true if handle has instance scope.

isLeaf

public static boolean isLeaf(java.lang.Object handle)
Recognizer for leafs

Parameters:
handle - candidate GeneralizableElement
Returns:
true if handle is a leaf

isRoot

public static boolean isRoot(java.lang.Object handle)
Recognizer for roots

Parameters:
handle - candidate GeneralizableElement
Returns:
true if handle is a leaf

isSpecification

public static boolean isSpecification(java.lang.Object handle)
Recognizer for specifications

Parameters:
handle - candidate ModelElement
Returns:
true if handle is a specification

isNavigable

public static boolean isNavigable(java.lang.Object handle)
Recognizer for Navigable elements

Parameters:
handle - candidate
Returns:
true if handle is navigable

isPrimaryObject

public static boolean isPrimaryObject(java.lang.Object handle)
Recognizer for primary objects.

A primary object is an object that is created by the parser or by a user. Object that are created when importing some other object are not.

Parameters:
handle - candidate
Returns:
true if primary object.

isPrivate

public static boolean isPrivate(java.lang.Object handle)
Recognizer for attributes with private

Parameters:
handle - candidate
Returns:
true if handle has private

isPublic

public static boolean isPublic(java.lang.Object handle)
Recognizer for attributes with public

Parameters:
handle - candidate
Returns:
true if handle has public

isQuery

public static boolean isQuery(java.lang.Object handle)
Recognizer for MBehaviouralFeature's that are queries.

Parameters:
handle - candidate
Returns:
true if it is a query

isProtected

public static boolean isProtected(java.lang.Object handle)
Recognizer for attributes with protected

Parameters:
handle - candidate
Returns:
true if handle has protected

isRealize

public static boolean isRealize(java.lang.Object handle)
Recognizer for realize

Parameters:
handle - candidate
Returns:
true if handle has a realize stereotype

isReturn

public static boolean isReturn(java.lang.Object handle)
Recognizer for return

Parameters:
handle - candidate parameter
Returns:
true if handle is a return parameter.

isSingleton

public static boolean isSingleton(java.lang.Object handle)
Recognizer for singleton.

Parameters:
handle - candidate
Returns:
true if handle is a singleton.

isStereotype

public static boolean isStereotype(java.lang.Object handle,
                                   java.lang.String stereotypename)
Recognizer for model elements with a given stereotype.

Parameters:
handle - candidate model element
stereotypename - a string that is the stereotype name.
Returns:
true if handle is an object that has the given stereotype.

isTop

public static boolean isTop(java.lang.Object handle)

isType

public static boolean isType(java.lang.Object handle)
Recognizer for type.

Parameters:
handle - candidate
Returns:
true if handle is a type.

isUtility

public static boolean isUtility(java.lang.Object handle)
Recognizer for utility.

Parameters:
handle - candidate
Returns:
true if handle is a utility.

isADiagram

public static boolean isADiagram(java.lang.Object handle)
Recognizer for Diagram.

Parameters:
handle - candidate
Returns:
true if handle is a diagram.

getAssociation

public static java.lang.Object getAssociation(java.lang.Object end)
Returns the association end between some classifier and some associaton or the association belonging to the given link.

Parameters:
end - is the link
Returns:
association end

getAssociationEnd

public static java.lang.Object getAssociationEnd(java.lang.Object type,
                                                 java.lang.Object assoc)
Returns the association end between some classifier and some associaton.

Parameters:
type - is the classifier
assoc - is the association
Returns:
association end

getAssociationEnds

public static java.util.Collection getAssociationEnds(java.lang.Object handle)
The list of Association Ends

Parameters:
handle - the object that we get the association ends from.
Returns:
Collection with association ends.

getAssociationRoles

public static java.util.Collection getAssociationRoles(java.lang.Object handle)
The list of association roles

Parameters:
handle - the object that we get the association roles from.
Returns:
Collection of association roles.

getAttributes

public static java.util.Collection getAttributes(java.lang.Object handle)
The list of Attributes.

Parameters:
handle - classifier to examine.
Returns:
iterator with attributes.

getBaseClass

public static java.lang.Object getBaseClass(java.lang.Object handle)
The baseclass of some stereotype

Parameters:
handle - the stereotype
Returns:
the baseclass

getBase

public static java.lang.Object getBase(java.lang.Object handle)
The base of some model element

Parameters:
handle - the model element
Returns:
the base

getBases

public static java.util.Collection getBases(java.lang.Object handle)
Get the bases of a classifier role.

Parameters:
handle - classifier role.
Returns:
the bases.

getBehaviors

public static java.util.Collection getBehaviors(java.lang.Object handle)
Get the behaviors of a Modelelement.

Parameters:
handle - modelelement to examine.
Returns:
the behaviors.

getBehavioralFeature

public static java.lang.Object getBehavioralFeature(java.lang.Object handle)
Get the behavioral feature of an parameter.

Parameters:
handle - expression.
Returns:
the behavioral feature.

getBody

public static java.lang.Object getBody(java.lang.Object handle)
Get the body of an method/constraint/expression.

Parameters:
handle - expression.
Returns:
the body.

getChangeability

public static java.lang.Object getChangeability(java.lang.Object handle)

getChild

public static java.lang.Object getChild(java.lang.Object handle)
Get the child of a generalization.

Parameters:
handle - generalization.
Returns:
the child.

getChildren

public static java.util.Collection getChildren(java.lang.Object handle)
Get the children of some generalizable element

Parameters:
handle - to the generalizable element.
Returns:
a collection with all children.

getClassifierRoles

public static java.util.Collection getClassifierRoles(java.lang.Object handle)
Gets the classifiers roles of some model element

Parameters:
handle - the model element
Returns:
the classifiers roles of the instance

getClassifiers

public static java.util.Collection getClassifiers(java.lang.Object handle)
Gets the classifierss of some instance

Parameters:
handle - the instance
Returns:
the classifierss of the instance

getClassifiersInState

public static java.util.Collection getClassifiersInState(java.lang.Object handle)
Gets the classifiers in state of some model element

Parameters:
handle - the model element
Returns:
the classifierss in state

getClients

public static java.util.Collection getClients(java.lang.Object handle)
Gets the clients of some dependency

Parameters:
handle - the dependency
Returns:
the clients of the dependency

getClientDependencies

public static java.util.Collection getClientDependencies(java.lang.Object handle)
Get the client dependencies of some classifier

Parameters:
handle - to the classifier.
Returns:
an iterator with all client dependencies.

getCondition

public static java.lang.Object getCondition(java.lang.Object o)
Get the condition of an extend.

Parameters:
o - extend
Returns:
the condition

getConcurrency

public static java.lang.Object getConcurrency(java.lang.Object o)
Get the concurrency of an operation.

Parameters:
o - operation.
Returns:
the concurrency.

getConnections

public static java.util.Collection getConnections(java.lang.Object handle)
The list of connections to an association or link.

Parameters:
handle - to the association or link
Returns:
a Collection with all connections.

containsConnection

public boolean containsConnection(java.lang.Object element,
                                  java.lang.Object connection)
Determine if a model element contains a connection.

Parameters:
element - is the model element
connection - is the connection that is searched for.
Returns:
true if the model element contains a connection

getConnectionCount

public static int getConnectionCount(java.lang.Object handle)
Count the number of Connections or AssociationEnds to an Association.

Parameters:
handle - to the association.
Returns:
an Iterator with all connections.

getEffect

public static java.lang.Object getEffect(java.lang.Object handle)
Returns the effect of some transition

Parameters:
handle - is the transition
Returns:
the effect

getElementResidences

public static java.util.Collection getElementResidences(java.lang.Object handle)
Get the residences of an element.

Parameters:
handle - the model element that we are getting the residences of
Returns:
the residence collection

getElementImports2

public static java.util.Collection getElementImports2(java.lang.Object handle)

getEntry

public static java.lang.Object getEntry(java.lang.Object handle)
Returns the entry action to a state

Parameters:
handle - is the state
Returns:
the entry

getExit

public static java.lang.Object getExit(java.lang.Object handle)
Returns the exit action to a state

Parameters:
handle - is the state
Returns:
the exit action

getExpression

public static java.lang.Object getExpression(java.lang.Object handle)

getExtends

public static java.util.Collection getExtends(java.lang.Object handle)
Returns all extends of a use case or extension point

Parameters:
handle - is the use case or the extension point
Returns:
the extends

getExtends2

public static java.util.Collection getExtends2(java.lang.Object handle)
Returns all extends of a use case

Parameters:
handle - is the use case
Returns:
the extends

getExtension

public static java.lang.Object getExtension(java.lang.Object handle)
Gets the use case extension of an extend

Parameters:
handle - is the extend
Returns:
The extension

getExtensionPoint

public static java.lang.Object getExtensionPoint(java.lang.Object handle,
                                                 int index)

getExtensionPoints

public static java.util.Collection getExtensionPoints(java.lang.Object handle)
Returns all extends of a use case

Parameters:
handle - is the use case or the extend
Returns:
the extends

getFeatures

public static java.util.Collection getFeatures(java.lang.Object handle)
The list of Features from a Classifier.

Parameters:
handle - Classifier to retrieve from.
Returns:
Collection with Features

getGeneralization

public static java.lang.Object getGeneralization(java.lang.Object child,
                                                 java.lang.Object parent)
Gets the generalization between two generalizable elements. Returns null if there is none.

Parameters:
child - is the child
parent - is the parent
Returns:
The generalization

getGeneralizations

public static java.util.Collection getGeneralizations(java.lang.Object handle)
The list of Generalizations from a GeneralizableElement.

Parameters:
handle - GeneralizableElement to retrieve from.
Returns:
Generalizations

getGuard

public static java.lang.Object getGuard(java.lang.Object handle)
Gets the guard for some given transition.

Parameters:
handle - is the transition
Returns:
Object

getIcon

public static java.lang.Object getIcon(java.lang.Object handle)

getImplementationLocation

public static java.lang.Object getImplementationLocation(java.lang.Object handle)
Gets the component of some element residence

Parameters:
handle - is an element residence
Returns:
component

getIncludes

public static java.util.Collection getIncludes(java.lang.Object handle)
Returns the includes for some use case

Parameters:
handle - is the use case
Returns:
the includes as a Collection

getIncludes2

public static java.util.Collection getIncludes2(java.lang.Object handle)
Returns the includes for some use case

Parameters:
handle - is the use case
Returns:
the includes as a Collection

getIncomings

public static java.util.Collection getIncomings(java.lang.Object handle)
Returns the incoming transitions for some statevertex

Parameters:
handle - is the state vertex
Returns:
Collection

getInitialValue

public static java.lang.Object getInitialValue(java.lang.Object handle)
Returns the initial value for some attribute.

Parameters:
handle - is the attribute
Returns:
initial value

getInstance

public static java.lang.Object getInstance(java.lang.Object handle)
Returns the instance of an AttributeLink or LinkEnd

Parameters:
handle - is the attribute link or link end
Returns:
initial value

getInstances

public static java.util.Collection getInstances(java.lang.Object handle)
Returns the Instances for some Clasifier

Parameters:
handle - is the classifier
Returns:
Collection

getInteraction

public static java.lang.Object getInteraction(java.lang.Object handle)
Returns the interaction for some message

Parameters:
handle - is the message
Returns:
the interaction

getInteractions

public static java.util.Collection getInteractions(java.lang.Object handle)
Returns the interactions belonging to a collaboration

Parameters:
handle - is the collaboration
Returns:
Collection

getInternalTransitions

public static java.util.Collection getInternalTransitions(java.lang.Object handle)
Returns the internal transitions belonging to a state

Parameters:
handle - is the state
Returns:
Collection

getMessages

public static java.util.Collection getMessages(java.lang.Object handle)
Returns the messages belonging to some interaction

Parameters:
handle - candidate
Returns:
Collection

getMessages3

public static java.util.Collection getMessages3(java.lang.Object handle)
Returns the messages belonging to some other message

Parameters:
handle - is the message
Returns:
Collection

getMessages4

public static java.util.Collection getMessages4(java.lang.Object handle)

getMessages1

public static java.util.Collection getMessages1(java.lang.Object handle)
Returns the messages belonging to some classifier role

Parameters:
handle - is the classifier role
Returns:
Collection

getMessages2

public static java.util.Collection getMessages2(java.lang.Object handle)

getModel

public static java.lang.Object getModel(java.lang.Object handle)
Get the model of some model element

Parameters:
handle - to the model element.
Returns:
model for the model element.

getModelElement

public static java.lang.Object getModelElement(java.lang.Object elemImport)
Parameters:
elemImport - an Element Import.
Returns:
the model element

getMultiplicity

public static java.lang.Object getMultiplicity(java.lang.Object handle)
Get the Multiplicity from a model element.

Parameters:
handle - model element to retrieve from.
Returns:
multiplicity

getComments

public static java.util.Collection getComments(java.lang.Object handle)
Get the comments of an element.

Parameters:
handle - the model element that we are getting the comments of
Returns:
the comment (or null)

getCommunicationConnection

public static java.lang.Object getCommunicationConnection(java.lang.Object handle)
Get the communication connection of an message.

Parameters:
handle - the message that we are getting the communication connection
Returns:
the communication connection

getCommunicationLink

public static java.lang.Object getCommunicationLink(java.lang.Object handle)
Get the communication link of a stimulus.

Parameters:
handle - the message that we are getting the communication link
Returns:
the communication link

getCollaborations

public static java.util.Collection getCollaborations(java.lang.Object handle)
Get the collaborations of an element.

Parameters:
handle - the model element that we are getting the collaborations of
Returns:
the collaborations

addComment

public static void addComment(java.lang.Object element,
                              java.lang.Object comment)
Add a new comment to a model element

Parameters:
element - the element to which the comment is to be added
comment - the comment for the model element

getComponentInstance

public static java.lang.Object getComponentInstance(java.lang.Object handle)
Get the component instance of an instance

Parameters:
handle - is the instance
Returns:
the component instance

getConstrainingElements

public static java.util.Collection getConstrainingElements(java.lang.Object handle)

getConstraints

public static java.util.Collection getConstraints(java.lang.Object handle)

getModelElementContainer

public static java.lang.Object getModelElementContainer(java.lang.Object handle)
Returns the container for the given modelelement. The container is the owner of the modelelement. It will be null for elements that don't have an owner. All elements except for the root element in a project should have an owner. The root element is allways a model.

In the future, this function could return the container of Figs too.

Parameters:
handle - is the base
Returns:
Object

getContainer

public static java.lang.Object getContainer(java.lang.Object handle)

getContext

public static java.lang.Object getContext(java.lang.Object handle)
Returns the context of some given statemachine or the context of some given interaction.

Parameters:
handle - the statemachine or the interaction
Returns:
the context of the statemachine or interaction or null if the statemachine or interaction doesn't have a context.

getContexts

public static java.util.Collection getContexts(java.lang.Object handle)

getCreateActions

public static java.util.Collection getCreateActions(java.lang.Object handle)

getDefaultValue

public static java.lang.Object getDefaultValue(java.lang.Object handle)
Get the default value of a parameter

Parameters:
handle - the parameter that we are getting the defaultvalue from
Returns:
the default value

getDeferrableEvents

public static java.util.Collection getDeferrableEvents(java.lang.Object handle)
Get deferrable events of a state

Parameters:
handle - the state that we are getting the deferrable event from
Returns:
the deferrable events collection

getDeploymentLocations

public static java.util.Collection getDeploymentLocations(java.lang.Object handle)
Returns the context of some given statemachine or the context of some given interaction

Parameters:
handle - the statemachine or the interaction
Returns:
the context of the statemachine or interaction or null if the statemachine or interaction doesn't have a context.

getDiscriminator

public static java.lang.Object getDiscriminator(java.lang.Object handle)
Get the discriminator.

Parameters:
handle - the Generalization
Returns:
the discriminator a String

getDispatchAction

public static java.lang.Object getDispatchAction(java.lang.Object handle)
Get the dispatchaction of a stimulus.

Parameters:
handle - the stimulus that we are getting the dispatchaction of
Returns:
the dispatchaction (or null)

getDoActivity

public static java.lang.Object getDoActivity(java.lang.Object handle)
Returns the do activity action of a state

Parameters:
handle - is the state
Returns:
the do activity

getLinks

public static java.util.Collection getLinks(java.lang.Object handle)

getLinkEnds

public static java.util.Collection getLinkEnds(java.lang.Object handle)

getLocation

public static java.lang.String getLocation(java.lang.Object handle)
Gets a location of some extension point.

Parameters:
handle - extension point
Returns:
the location

getNamespace

public static java.lang.Object getNamespace(java.lang.Object handle)
Get the namespace of an element.

Parameters:
handle - the model element that we are getting the namespace of
Returns:
the namespace (or null)

getNodeInstance

public static java.lang.Object getNodeInstance(java.lang.Object handle)
Get the node instance of a component instance.

Parameters:
handle - the model element that we are getting the node instance of
Returns:
the node instance

getObjectFlowStates

public static java.util.Collection getObjectFlowStates(java.lang.Object handle)
The collection of object flow states

Parameters:
handle - the classifier
Returns:
collection of object flow states

getOperation

public static java.lang.Object getOperation(java.lang.Object handle)
Get the operation of a Call Action or Call Event.

Parameters:
handle - the model element that we are getting the operation of
Returns:
the Operation

getOperations

public static java.util.Collection getOperations(java.lang.Object handle)
Get the list of operations.

Parameters:
handle - classifier to examine.
Returns:
Collection with operations.

getOperationsInh

public static java.util.Iterator getOperationsInh(java.lang.Object handle)
Get the list of Operations of this classifier and all inherited.

Parameters:
handle - classifier to examine.
Returns:
Iterator with operations.

getOppositeEnd

public static java.lang.Object getOppositeEnd(java.lang.Object handle)
Returns the opposite end of an association end.

Parameters:
handle - is the association end
Returns:
Object the opposite end.

getOrdering

public static java.lang.Object getOrdering(java.lang.Object handle)
Get ordering of an association end

Parameters:
handle - association end to retrieve from
Returns:
ordering

getOutgoings

public static java.util.Collection getOutgoings(java.lang.Object handle)
Returns the list of Transitions outgoing from the given stateVertex.

Parameters:
handle - statevertex
Returns:
Collection

getOtherAssociationEnds

public static java.util.Collection getOtherAssociationEnds(java.lang.Object handle)
Get the list of Associations Ends connected to this association end.

Parameters:
handle - association end to start from
Returns:
Iterator with all connected association ends.

getOwnedElements

public static java.util.Collection getOwnedElements(java.lang.Object handle)
The list of owned elements of the the package.

Parameters:
handle - package to retrieve from.
Returns:
Iterator with operations

getOwnerScope

public static java.lang.Object getOwnerScope(java.lang.Object handle)
Get the owner scope of a feature

Parameters:
handle - feature
Returns:
owner scope

getPowertype

public static java.lang.Object getPowertype(java.lang.Object handle)
Get the powertype of a generalization

Parameters:
handle - generalization
Returns:
powertype

getPowertypeRanges

public static java.util.Collection getPowertypeRanges(java.lang.Object handle)
Get the powertype ranges of a classifier.

Parameters:
handle - classifier to retrieve from
Returns:
collection of poertype ranges

getPredecessors

public static java.util.Collection getPredecessors(java.lang.Object handle)
Get the predecessors of a message.

Parameters:
handle - message to retrieve from
Returns:
collection of predecessors

hasReturnParameterDirectionKind

public static boolean hasReturnParameterDirectionKind(java.lang.Object o)
Determine if the passed parameter has a RETURN direction kind

Parameters:
o - is the object
Returns:
true if it is a return direction kind

getPackage

public static java.lang.Object getPackage(java.lang.Object handle)

getParameter

public static java.lang.Object getParameter(java.lang.Object handle,
                                            int n)
Get a parameter of a behavioral feature.

Parameters:
handle - behavioral feature to retrieve from
n - parameter number
Returns:
parameter.

getParameters

public static java.util.Collection getParameters(java.lang.Object handle)
Get the parameters of a behavioral feature.

Parameters:
handle - operation to retrieve from
Returns:
Iterator with operations.

getParent

public static java.lang.Object getParent(java.lang.Object handle)
Get the parent of a generalization. TODO: Check that the concepts parent and child exist in the UML model.

Parameters:
handle - generalization.
Returns:
the parent.

getRaisedSignals

public static java.util.Collection getRaisedSignals(java.lang.Object handle)
Returns the raised signals of an operation.

Parameters:
handle - is the operation
Returns:
raised signals

getReceptions

public static java.util.Collection getReceptions(java.lang.Object handle)
Returns the receptions of a signal.

Parameters:
handle - is the signal
Returns:
receptions

getRecurrence

public static java.lang.Object getRecurrence(java.lang.Object handle)
Returns the recurrence iteration expression of an action.

Parameters:
handle - is the action.
Returns:
the recurrence

getRepresentedClassifier

public static java.lang.Object getRepresentedClassifier(java.lang.Object handle)
Returns the represented classifier of a collaboration.

Parameters:
handle - is the collaboration
Returns:
represented classifier

getRepresentedOperation

public static java.lang.Object getRepresentedOperation(java.lang.Object handle)
Returns the represented operation of a collaboration.

Parameters:
handle - is the collaboration
Returns:
represented operation

getScript

public static java.lang.Object getScript(java.lang.Object handle)
Returns the script belonging to a given action

Parameters:
handle - is the action
Returns:
the script

getSender

public static java.lang.Object getSender(java.lang.Object handle)
Returns the sender object of a stimulus or a message

Parameters:
handle - is the stimulus or message
Returns:
the sender

getSignal

public static java.lang.Object getSignal(java.lang.Object handle)
Returns the sender object of a stimulus or a message TODO: Check if this javadoc comment is really correct?

Parameters:
handle - is the object
Returns:
the signal

getResident

public static java.lang.Object getResident(java.lang.Object handle)
Get the resident element

Parameters:
handle - is the element residence
Returns:
resident element

getResidentElements

public static java.util.Collection getResidentElements(java.lang.Object handle)

getResidents

public static java.util.Collection getResidents(java.lang.Object handle)
Returns a collection with all residents belonging to the given node.

Parameters:
handle - is the node
Returns:
Collection

getSource

public static java.lang.Object getSource(java.lang.Object handle)
Gets the source for some given transitions.

Parameters:
handle - is the transition
Returns:
Object

getSources

public static java.util.Collection getSources(java.lang.Object handle)

getSourceFlows

public static java.util.Collection getSourceFlows(java.lang.Object handle)
Returns the sourceflows of a model element

Parameters:
handle - is the model element
Returns:
a collection of sourceflows

getSpecializations

public static java.util.Collection getSpecializations(java.lang.Object handle)
The list of Specializations from a GeneralizableElement.

Parameters:
handle - GeneralizableElement to retrieve from.
Returns:
Collection of Specializations.

getStateMachine

public static java.lang.Object getStateMachine(java.lang.Object handle)
Returns the state machine belonging to some given state or transition

Parameters:
handle - is the state or transition
Returns:
Object

getState

public static java.lang.Object getState(java.lang.Object handle)
Returns the state belonging to some given transition.

Parameters:
handle - is the transition
Returns:
Object

getStereoType

public static java.lang.Object getStereoType(java.lang.Object handle)
Deprecated. 0.15 in favor of getStereotypes

Returns the stereotype belonging to some given model element

Parameters:
handle - is a model element
Returns:
Object

getStereotypes

public static java.util.Collection getStereotypes(java.lang.Object handle)
Returns the stereotypes belonging to some given model element

Parameters:
handle - is the model element
Returns:
stereotype collection

getStimuli

public static java.util.Collection getStimuli(java.lang.Object handle)
Returns the stimuli belonging to some given link

Parameters:
handle - is the link
Returns:
Object

getStimuli2

public static java.util.Collection getStimuli2(java.lang.Object handle)

getStimuli3

public static java.util.Collection getStimuli3(java.lang.Object handle)

getSubvertices

public static java.util.Collection getSubvertices(java.lang.Object handle)
Returns a collection with all subvertices belonging to the given composite state.

Parameters:
handle - is the composite state
Returns:
Collection

getSubmachine

public static java.lang.Object getSubmachine(java.lang.Object handle)
Returns the submachie of a submachine state

Parameters:
handle - is the submachine state
Returns:
submachine

getSubmachineStates

public static java.util.Collection getSubmachineStates(java.lang.Object handle)
Returns the submachine of a submachine state

Parameters:
handle - is the submachine state
Returns:
submachine

getSupplierDependencies

public static java.util.Collection getSupplierDependencies(java.lang.Object handle)
The list of SupplierDependencies from a ModelElement.

Parameters:
handle - model element.
Returns:
Iterator with the supplier dependencies.

getTop

public static java.lang.Object getTop(java.lang.Object handle)
The top of a state machine

Parameters:
handle - the state machine
Returns:
the top

getTransition

public static java.lang.Object getTransition(java.lang.Object handle)
Get the transition of a guard or action

Parameters:
handle - the guard or action
Returns:
the transition

getTrigger

public static java.lang.Object getTrigger(java.lang.Object handle)
Get the trigger of a transition

Parameters:
handle - the transition
Returns:
the trigger

getType

public static java.lang.Object getType(java.lang.Object handle)
The type of an attribute

Parameters:
handle - the attribute
Returns:
the type

getTarget

public static java.lang.Object getTarget(java.lang.Object handle)
Returns the target of some transition

Parameters:
handle - is the transition
Returns:
Object

getTargetScope

public static java.lang.Object getTargetScope(java.lang.Object handle)
Returns the target scope of some model element

Parameters:
handle - is the model element
Returns:
Object

getTargetFlows

public static java.util.Collection getTargetFlows(java.lang.Object handle)
Returns the targetflows of a model element

Parameters:
handle - is the model element
Returns:
a collection of targetflows

getUpper

public static int getUpper(java.lang.Object handle)
Returns the upper bound of the multiplicity of the given handle (an associationend).

Parameters:
handle - is the model element
Returns:
int

getUseCase

public static java.lang.Object getUseCase(java.lang.Object handle)
Returns the use case of an extension point

Parameters:
handle - is the extension point
Returns:
a use case

getLower

public static int getLower(java.lang.Object handle)
Returns the upper bound of the multiplicity of the given handle (an associationend).

Parameters:
handle - is the model element
Returns:
int

getTransitions

public static java.util.Collection getTransitions(java.lang.Object handle)
Returns the transitions belonging to the given handle. The handle can be a statemachine or a composite state. If it's a statemachine the transitions will be given back belonging to that statemachine. If it's a compositestate the internal transitions of that compositestate will be given back.

Parameters:
handle - is the model element
Returns:
Collection

getStructuralFeatures

public static java.util.Collection getStructuralFeatures(java.lang.Object classifier)
This method returns all attributes of a given Classifier.

Parameters:
classifier - the classifier you want to have the attributes for
Returns:
a collection of the attributes

getSpecifications

public static java.util.Collection getSpecifications(java.lang.Object cls)
Returns all Interfaces of which this class is a realization.

Parameters:
cls - the class you want to have the interfaces for
Returns:
a collection of the Interfaces

getSuppliers

public static java.util.Collection getSuppliers(java.lang.Object handle)
Returns the suppliers of a dependency.

Parameters:
handle - is the dependency
Returns:
a collection of the suppliers

getAction

public static java.lang.Object getAction(java.lang.Object handle)
Returns the action belonging to some message

Parameters:
handle - is the message
Returns:
the action

getActivator

public static java.lang.Object getActivator(java.lang.Object handle)
Returns the activator belonging to some message

Parameters:
handle - is the message
Returns:
the activator

getActualArguments

public static java.util.Collection getActualArguments(java.lang.Object handle)
Returns the actual arguments for a given action.

Parameters:
handle - is the action
Returns:
the actual arguments

getAddition

public static java.lang.Object getAddition(java.lang.Object handle)
Returns an addition for a given inlcude.

Parameters:
handle - is the include
Returns:
the addition

getAggregation

public static java.lang.Object getAggregation(java.lang.Object handle)

getAssociatedClasses

public static java.util.Collection getAssociatedClasses(java.lang.Object o)
Returns all associated classes for some given classifier. Returns an empty collection if the given argument o is not a classifier. The given parameter is included in the returned collection if it has a self- referencing association.

Parameters:
o - is the classifier
Returns:
Collection

getName

public static java.lang.String getName(java.lang.Object handle)
The name of a model element or some diagram part.

Parameters:
handle - that points out the object.
Returns:
the name

getOwner

public static java.lang.Object getOwner(java.lang.Object f)
Return the owner of a feature.

Parameters:
f - is the feature
Returns:
classifier

getTag

public static java.lang.Object getTag(java.lang.Object handle)
Return the tag of a tagged value

Parameters:
handle - The tagged value belongs to this.
Returns:
The found tag, null if not found

getTaggedValues

public static java.util.Iterator getTaggedValues(java.lang.Object modelElement)
Return the tagged values iterator of a model element.

Parameters:
modelElement - The tagged values belong to this.
Returns:
The tagged values iterator

getTaggedValuesCollection

public static java.util.Collection getTaggedValuesCollection(java.lang.Object modelElement)

getTaggedValue

public static java.lang.Object getTaggedValue(java.lang.Object modelElement,
                                              java.lang.String name)
Return the tagged value with a specific tag.

Parameters:
modelElement - The tagged value belongs to this.
name - The tag.
Returns:
The found tag, null if not found

getTagOfTag

public static java.lang.String getTagOfTag(java.lang.Object tv)
Return the key (tag) of some tagged value.

Parameters:
tv - The tagged value.
Returns:
The found value, null if not found

getValue

public static java.lang.Object getValue(java.lang.Object handle)

getValueOfTag

public static java.lang.String getValueOfTag(java.lang.Object tv)
Return the value of some tagged value.

Parameters:
tv - The tagged value.
Returns:
The found value, null if not found

getUUID

public static java.lang.String getUUID(java.lang.Object base)
Return the UUID of this element

Parameters:
base - base element (MBase type)
Returns:
UUID

getVisibility

public static java.lang.Object getVisibility(java.lang.Object element)
Return the visibility of this element

Parameters:
element - an nsuml model element
Returns:
visibility

lookupIn

public static java.lang.Object lookupIn(java.lang.Object o,
                                        java.lang.String name)
Returns a named object in the given object by calling it's lookup method.

Parameters:
o - the object that we search through
name - of the model element
Returns:
found object, null otherwise

addFeature

public static void addFeature(java.lang.Object cls,
                              java.lang.Object f)
Adds a feature to some classifier.

Parameters:
cls - classifier
f - feature

addInstance

public static void addInstance(java.lang.Object classifierRole,
                               java.lang.Object instance)
Adds an instance to a classifier role.

Parameters:
classifierRole - is the classifier role
instance - is the instance to add

addFeature

public static void addFeature(java.lang.Object cls,
                              int index,
                              java.lang.Object f)
Adds a feature to some classifier.

Parameters:
cls - classifier
index - position
f - feature

addLink

public static void addLink(java.lang.Object association,
                           java.lang.Object link)

addMessage3

public static void addMessage3(java.lang.Object handle,
                               java.lang.Object mess)

addMethod

public static void addMethod(java.lang.Object o,
                             java.lang.Object m)
Adds a method to some operation and copies the op's attributes to the method.

Parameters:
o - is the operation
m - is the method

addOwnedElement

public static void addOwnedElement(java.lang.Object ns,
                                   java.lang.Object me)
Adds a model element to some namespace.

Parameters:
ns - namespace
me - model element

addParameter

public static void addParameter(java.lang.Object target,
                                java.lang.Object parameter)

addParameter

public static void addParameter(java.lang.Object target,
                                int index,
                                java.lang.Object parameter)

addPredecessor

public static void addPredecessor(java.lang.Object target,
                                  java.lang.Object predecessor)
Adds a predecessor to a message.

Parameters:
target - the message
predecessor - is the predecessor

addRaisedSignal

public static void addRaisedSignal(java.lang.Object target,
                                   java.lang.Object sig)

addStimulus

public static void addStimulus(java.lang.Object target,
                               java.lang.Object stimulus)
Adds a stimulus to a action or link

Parameters:
target - the action or link
stimulus - is the stimulus

addSubvertex

public static void addSubvertex(java.lang.Object handle,
                                java.lang.Object subvertex)

addSupplier

public static void addSupplier(java.lang.Object a,
                               java.lang.Object cls)
Adds a supplier classifier to some abstraction.

Parameters:
a - abstraction
cls - supplier classifier

addSupplierDependency

public static void addSupplierDependency(java.lang.Object supplier,
                                         java.lang.Object dependency)
Adds a supplier dependency to some modelelement

Parameters:
supplier - the supplier
dependency - the dependency

addActualArgument

public static void addActualArgument(java.lang.Object handle,
                                     java.lang.Object argument)

addBase

public static void addBase(java.lang.Object o,
                           java.lang.Object c)
This method adds a classifier to a classifier role.

Parameters:
o - is the classifier role
c - is the classifier

addClassifier

public static void addClassifier(java.lang.Object handle,
                                 java.lang.Object classifier)

addClient

public static void addClient(java.lang.Object a,
                             java.lang.Object cls)
Adds a client classifier to some abstraction.

Parameters:
a - abstraction
cls - client classifier

addClientDependency

public static void addClientDependency(java.lang.Object handle,
                                       java.lang.Object dependency)
Adds a client dependency to some modelelement

Parameters:
handle - the modelelement
dependency - the dependency

addTaggedValue

public static void addTaggedValue(java.lang.Object target,
                                  java.lang.Object taggedValue)

removeActualArgument

public static void removeActualArgument(java.lang.Object handle,
                                        java.lang.Object argument)

removeBase

public static void removeBase(java.lang.Object o,
                              java.lang.Object c)
This method removes a classifier from a classifier role.

Parameters:
o - is the classifier role
c - is the classifier

removeClientDependency

public static void removeClientDependency(java.lang.Object o,
                                          java.lang.Object dep)
This method removes a dependency from a model element.

Parameters:
o - is the model element
dep - is the dependency

removeConstraint

public static void removeConstraint(java.lang.Object handle,
                                    java.lang.Object cons)

removeContext

public static void removeContext(java.lang.Object handle,
                                 java.lang.Object context)

removeClassifier

public static void removeClassifier(java.lang.Object handle,
                                    java.lang.Object classifier)
This method classifier from an instance

Parameters:
handle - is the instance
classifier - is the classifier

removeFeature

public static void removeFeature(java.lang.Object cls,
                                 java.lang.Object feature)
This method removes a feature from a classifier.

Parameters:
cls - is the classifier
feature - to remove

removeExtensionPoint

public static void removeExtensionPoint(java.lang.Object uc,
                                        java.lang.Object ep)
This method removes an extension point from a use case.

Parameters:
uc - is the use case
ep - is the extension point

removeMessage3

public static void removeMessage3(java.lang.Object handle,
                                  java.lang.Object mess)

removeOwnedElement

public static void removeOwnedElement(java.lang.Object handle,
                                      java.lang.Object value)
Removes a owned model element from a namespace.

Parameters:
handle - is the name space
value - is the model element

removeParameter

public static void removeParameter(java.lang.Object o,
                                   java.lang.Object p)
This method removes a parameter from an operation.

Parameters:
o - is the operation
p - is the parameter

removePredecessor

public static void removePredecessor(java.lang.Object handle,
                                     java.lang.Object message)

removeReception

public static void removeReception(java.lang.Object handle,
                                   java.lang.Object reception)

removeSubvertex

public static void removeSubvertex(java.lang.Object handle,
                                   java.lang.Object subvertex)

setBase

public static void setBase(java.lang.Object target,
                           java.lang.Object base)
Set the base of some model element

Parameters:
target - is the model element
base - is the base

setBaseClass

public static void setBaseClass(java.lang.Object handle,
                                java.lang.Object baseClass)
Set the baseclass of some stereotype

Parameters:
handle - the stereotype
baseClass - the baseclass

setBody

public static void setBody(java.lang.Object m,
                           java.lang.Object expr)
Sets a body of some method or expression.

Parameters:
m - is the method, expression
expr - body

setLanguage

public static void setLanguage(java.lang.Object m,
                               java.lang.String expr)
Sets the language of an expression.

Parameters:
m - is the expression
expr - is the lang TODO: Rename the expr parameter to something a little less error-prone.

getLanguage

public static java.lang.String getLanguage(java.lang.Object expr)

setDefaultValue

public static void setDefaultValue(java.lang.Object p,
                                   java.lang.Object expr)
Sets a default value of some parameter.

Parameters:
p - is the parameter
expr - is the expression

setGuard

public static void setGuard(java.lang.Object handle,
                            java.lang.Object guard)
Sets the guard of a transition.

Parameters:
handle - to the transition
guard - to be set

setTransition

public static void setTransition(java.lang.Object handle,
                                 java.lang.Object trans)

setTrigger

public static void setTrigger(java.lang.Object handle,
                              java.lang.Object event)
Sets the trigger event of a transition.

Parameters:
handle - is the transition
event - is the trigger event

setIcon

public static void setIcon(java.lang.Object handle,
                           java.lang.Object icon)

setImplementationLocation

public static void setImplementationLocation(java.lang.Object handle,
                                             java.lang.Object component)

setIncludes

public static void setIncludes(java.lang.Object target,
                               java.util.Collection includes)

setInitialValue

public static void setInitialValue(java.lang.Object at,
                                   java.lang.Object expr)
Sets an initial value.

Parameters:
at - attribute that we set the initial value of
expr - that is the value to set

setInstance

public static void setInstance(java.lang.Object handle,
                               java.lang.Object inst)

setInternalTransitions

public static void setInternalTransitions(java.lang.Object target,
                                          java.util.Collection intTrans)

setMessages3

public static void setMessages3(java.lang.Object handle,
                                java.util.Collection messages)

setLocation

public static void setLocation(java.lang.Object ep,
                               java.lang.String loc)
Sets a location of some extension point.

Parameters:
ep - is the extension point
loc - is the location

setModelElementContainer

public static void setModelElementContainer(java.lang.Object handle,
                                            java.lang.Object container)
                                     throws java.lang.IllegalArgumentException

Sets the container that owns the handle. This must be set correctly so every modelelement except the root model does have an owner. Otherwise the saving/loading will fail.

Warning: when changing the implementation of this method be warned that the sequence of the if then else tree DOES matter. Most notabely, do not move the setNamespace method any level up in the tree.

Warning: the implementation does not support setting the owner of actions. Use setState1 etc. on action for that goal

Parameters:
handle - The modelelement that must be added to the container
container - The owning modelelement
Throws:
java.lang.IllegalArgumentException - when the handle or container is null or if the handle cannot be added to the container.

setMultiplicity

public static void setMultiplicity(java.lang.Object target,
                                   java.lang.Object mult)
Sets a multiplicity of some model element.

Parameters:
target - model element
mult - multiplicity as string OR multiplicity object

setClassifiers

public static void setClassifiers(java.lang.Object o,
                                  java.util.Vector v)
Sets the classifiers of some instance.

Parameters:
o - is the instance
v - is the classifier vector

setName

public static void setName(java.lang.Object o,
                           java.lang.String name)
Sets a name of some modelelement.

Parameters:
o - is the model element
name - to set

setNamespace

public static void setNamespace(java.lang.Object handle,
                                java.lang.Object ns)
Sets a namespace of some modelelement.

Parameters:
handle - is the model element
ns - is the namespace

setNavigable

public static void setNavigable(java.lang.Object o,
                                boolean flag)
Sets the navigability of some association end.

Parameters:
o - is the association end
flag - is the navigability flag

setValue

public static void setValue(java.lang.Object handle,
                            java.lang.Object value)

setVisibility

public static void setVisibility(java.lang.Object handle,
                                 java.lang.Object visibility)
Set the visibility of some modelelement.

Parameters:
handle - element
visibility - is the visibility

setVisibility

public static void setVisibility(java.lang.Object o,
                                 short v)
Set the visibility of some modelelement.

Parameters:
o - is the model element
v - is the visibility

setNodeInstance

public static void setNodeInstance(java.lang.Object handle,
                                   java.lang.Object nodeInstance)

setOwner

public static void setOwner(java.lang.Object handle,
                            java.lang.Object owner)

setOperation

public static void setOperation(java.lang.Object handle,
                                java.lang.Object operation)

setOrdering

public static void setOrdering(java.lang.Object handle,
                               java.lang.Object ok)

setOwnerScope

public static void setOwnerScope(java.lang.Object f,
                                 short os)
Set the owner scope of some feature.

Parameters:
f - is the feature
os - is the owner scope

setOwnerScope

public static void setOwnerScope(java.lang.Object f,
                                 java.lang.Object os)

setParameters

public static void setParameters(java.lang.Object target,
                                 java.util.Collection parameters)
Sets the extension points of some use cases.

Parameters:
target - the use case
parameters - is a Collection of extensionPoints

setTarget

public static void setTarget(java.lang.Object handle,
                             java.lang.Object element)
Sets the target of some action or transition.

Parameters:
handle - the model element
element - the target of the model elemnet

setTargetScope

public static void setTargetScope(java.lang.Object handle,
                                  java.lang.Object scopeKind)
Set the target scope of some association end or structural feature

Parameters:
handle - the model element
scopeKind - the target scope

setTargetScope

public static void setTargetScope(java.lang.Object ae,
                                  short ts)
Set the target scope of some association end.

Parameters:
ae - is the association end
ts - is the target scope

setComponentInstance

public static void setComponentInstance(java.lang.Object o,
                                        java.lang.Object c)

setCommunicationLink

public static void setCommunicationLink(java.lang.Object o,
                                        java.lang.Object c)
Sets the communicationLink between a link c and a stimulus o.

Parameters:
o - the stimulus
c - the link

setConcurrency

public static void setConcurrency(java.lang.Object o,
                                  short c)
Set the concurrency of some operation.

Parameters:
o - is the operation
c - is the concurrency

setConcurrency

public static void setConcurrency(java.lang.Object operation,
                                  java.lang.Object concurrencyKind)
Set the concurrency of some operation.

Parameters:
operation - is the operation
concurrencyKind - is the concurrency

setConcurent

public static void setConcurent(java.lang.Object handle,
                                boolean concurrent)

setCondition

public static void setCondition(java.lang.Object extend,
                                java.lang.Object booleanExpression)
Set the condition of an extend

Parameters:
extend - is the extend
booleanExpression - is the condition

setContainer

public static void setContainer(java.lang.Object handle,
                                java.lang.Object compositeState)
Set the container of a statevertex.

Parameters:
handle - is the stateVertex
compositeState - is the container

setContexts

public static void setContexts(java.lang.Object handle,
                               java.util.Collection c)

setDispatchAction

public static void setDispatchAction(java.lang.Object handle,
                                     java.lang.Object value)
Sets the dispatch action for some stimulus

Parameters:
handle - the stimulus
value - the action

setDoActivity

public static void setDoActivity(java.lang.Object handle,
                                 java.lang.Object value)
Sets the do activity of a state

Parameters:
handle - is the state
value - the activity

setEffect

public static void setEffect(java.lang.Object handle,
                             java.lang.Object value)
Sets the effect of some transition

Parameters:
handle - is the transition
value - is the effect

setEntry

public static void setEntry(java.lang.Object handle,
                            java.lang.Object value)
Sets the entry action of some state

Parameters:
handle - is the state
value - is the action

setExit

public static void setExit(java.lang.Object handle,
                           java.lang.Object value)
Sets the exit action of some state

Parameters:
handle - is the state
value - is the action

setExpression

public static void setExpression(java.lang.Object handle,
                                 java.lang.Object value)

setExtension

public static void setExtension(java.lang.Object handle,
                                java.lang.Object ext)

setExtensionPoints

public static void setExtensionPoints(java.lang.Object target,
                                      java.util.Collection extensionPoints)
Sets the extension points of some use cases.

Parameters:
target - the use case
extensionPoints - is the extension points

setFeatures

public static void setFeatures(java.lang.Object element,
                               java.util.Collection features)
Sets the features of some model element.

Parameters:
element - the model element to set features to
features - the list of features

setAggregation

public static void setAggregation(java.lang.Object element,
                                  java.lang.Object aggregationKind)
Sets the aggregation of some model element.

Parameters:
element - the model element to set aggregation
aggregationKind - the aggregation kind

setAssociation

public static void setAssociation(java.lang.Object target,
                                  java.lang.Object association)
Sets the association of some model element.

Parameters:
target - the model element to set association
association - is the association

setChangeability

public static void setChangeability(java.lang.Object o,
                                    java.lang.Object ck)

setChangeable

public static void setChangeable(java.lang.Object o,
                                 boolean flag)
Set the changeability of some feature.

Parameters:
o - is the feature
flag - is the changeability flag

setChild

public static void setChild(java.lang.Object target,
                            java.lang.Object child)

setAbstract

public static void setAbstract(java.lang.Object target,
                               boolean flag)
Sets if of some model element is abstract.

Parameters:
target - is the classifier
flag - is true if it should be abstract

setAddition

public static void setAddition(java.lang.Object target,
                               java.lang.Object useCase)

setAction

public static void setAction(java.lang.Object message,
                             java.lang.Object action)
Sets the action to a message

Parameters:
message - is the message
action - is the action

setActivator

public static void setActivator(java.lang.Object handle,
                                java.lang.Object message)

setActive

public static void setActive(java.lang.Object handle,
                             boolean active)

setAsynchronous

public static void setAsynchronous(java.lang.Object handle,
                                   boolean value)
Sets the asynchronous property of an action.

Parameters:
handle - the action
value - the value to alter the asynchronous property to

setLeaf

public static void setLeaf(java.lang.Object target,
                           boolean flag)
Sets if some model element is a leaf.

Parameters:
target - model element
flag - is true if it is a leaf.

setRaisedSignals

public static void setRaisedSignals(java.lang.Object target,
                                    java.util.Collection raisedSignals)
Sets the raised signals of some behavioural feature.

Parameters:
target - the behavioural feature
raisedSignals - the raised signals

setReceiver

public static void setReceiver(java.lang.Object target,
                               java.lang.Object receiver)
Sets the receiver of some model element.

Parameters:
target - model element
receiver - the receiver

setRecurrence

public static void setRecurrence(java.lang.Object target,
                                 java.lang.Object expr)

setRepresentedClassifier

public static void setRepresentedClassifier(java.lang.Object target,
                                            java.lang.Object classifier)
Sets the represented classifier of some collaboration

Parameters:
target - the collaboration
classifier - is the classifier

setRepresentedOperation

public static void setRepresentedOperation(java.lang.Object target,
                                           java.lang.Object operation)
Sets the represented operation of some collaboration

Parameters:
target - the collaboration
operation - is the operation

setResident

public static void setResident(java.lang.Object handle,
                               java.lang.Object resident)

setResidents

public static void setResidents(java.lang.Object target,
                                java.util.Collection residents)
Sets the residents of some model element.

Parameters:
target - the model element
residents - collection

setRoot

public static void setRoot(java.lang.Object target,
                           boolean flag)
Sets if some model element is a root.

Parameters:
target - model element
flag - is true if it is a root

setScript

public static void setScript(java.lang.Object target,
                             java.lang.Object expr)

setSender

public static void setSender(java.lang.Object target,
                             java.lang.Object sender)
Sets the sender of some model element.

Parameters:
target - model element
sender - the sender

setSignal

public static void setSignal(java.lang.Object target,
                             java.lang.Object signal)

setSource

public static void setSource(java.lang.Object target,
                             java.lang.Object state)
Sets the source state of some message.

Parameters:
target - the message
state - the source state

setSources

public static void setSources(java.lang.Object target,
                              java.util.Collection specifications)

setSpecification

public static void setSpecification(java.lang.Object target,
                                    boolean specification)

setSpecifications

public static void setSpecifications(java.lang.Object target,
                                     java.util.Collection specifications)
Sets the specifications of some association end.

Parameters:
target - the association end
specifications - collection

setKind

public static void setKind(java.lang.Object target,
                           java.lang.Object kind)
Set some parameters kind.

Parameters:
target - is the parameter
kind - is the directionkind

setKindToIn

public static void setKindToIn(java.lang.Object p)
Set some parameters kind to 'in'.

Parameters:
p - is the parameter

setKindToInOut

public static void setKindToInOut(java.lang.Object p)
Set some parameters kind to 'in/out'.

Parameters:
p - is the parameter

setKindToOut

public static void setKindToOut(java.lang.Object p)
Set some parameters kind to 'out'.

Parameters:
p - is the parameter

setKindToReturn

public static void setKindToReturn(java.lang.Object p)
Set some parameters kind to 'return'.

Parameters:
p - is the parameter

setParent

public static void setParent(java.lang.Object target,
                             java.lang.Object parent)
Sets the parent of a generalization.

Parameters:
target - generalization
parent - generalizable element (parent)

setPowertype

public static void setPowertype(java.lang.Object target,
                                java.lang.Object pt)

setPredecessors

public static void setPredecessors(java.lang.Object target,
                                   java.util.Collection predecessors)

setQuery

public static void setQuery(java.lang.Object bf,
                            boolean flag)
Sets the query flag of a behavioral feature.

Parameters:
bf - is the behavioral feature
flag - is the query flag

setType

public static void setType(java.lang.Object handle,
                           java.lang.Object type)
Sets the type of some parameter.

Parameters:
handle - is the model element
type - is the type (a classifier)

setUUID

public static void setUUID(java.lang.Object base,
                           java.lang.String uuid)
Set the UUID of this element

Parameters:
base - base element (MBase type)
uuid - is the UUID

setTag

public static void setTag(java.lang.Object target,
                          java.lang.Object tag)

setTaggedValue

public static void setTaggedValue(java.lang.Object target,
                                  java.lang.String tag,
                                  java.lang.String value)
Sets a tagged value of some modelelement.

Parameters:
target - is the model element
tag - is the tag name (a string)
value - is the value

setTaggedValues

public static void setTaggedValues(java.lang.Object target,
                                   java.util.Collection taggedValues)

setValueOfTag

public static void setValueOfTag(java.lang.Object tv,
                                 java.lang.String value)
Sets a value of some taggedValue.

Parameters:
tv - is the tagged value
value - is the value

setStateMachine

public static void setStateMachine(java.lang.Object st,
                                   java.lang.Object stm)
Sets a state machine of some state.

Parameters:
st - is the state
stm - is the state machine

setStereotype

public static void setStereotype(java.lang.Object m,
                                 java.lang.Object stereo)
Sets the stereotype of some modelelement. The method also copies a stereotype that is not a part of the current model to the current model.

Parameters:
m - model element
stereo - stereotype

setSubvertices

public static void setSubvertices(java.lang.Object handle,
                                  java.util.Collection subvertices)

addConnection

public static void addConnection(java.lang.Object handle,
                                 java.lang.Object connection)

addConstraint

public static void addConstraint(java.lang.Object me,
                                 java.lang.Object mc)
Adds a constraint to some model element.

Parameters:
me - model element
mc - constraint

addDeploymentLocation

public static void addDeploymentLocation(java.lang.Object handle,
                                         java.lang.Object node)

addExtendedElement

public static void addExtendedElement(java.lang.Object target,
                                      java.lang.Object extendedElement)

addExtensionPoint

public static void addExtensionPoint(java.lang.Object target,
                                     java.lang.Object extensionPoint)
Adds an extension point to some model element.

Parameters:
target - is the model element
extensionPoint - is the extension point

getUMLClassName

public static java.lang.String getUMLClassName(java.lang.Object handle)
getUMLClassName returns the name of the UML Model class, e.g. it it will return Class for an object of type MClass.

Parameters:
handle - MBase
Returns:
classname of modelelement

emptyCollection

private static java.util.Collection emptyCollection()
The empty set.

Returns:
an empty collection.

getClassNull

protected static java.lang.String getClassNull(java.lang.Object handle)


ArgoUML © 1996-2004 (20040306)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook