org.argouml.model.uml
Class NSUMLModelFacade

java.lang.Object
  extended byorg.argouml.model.uml.NSUMLModelFacade
All Implemented Interfaces:
org.argouml.model.Facade

public class NSUMLModelFacade
extends Object
implements org.argouml.model.Facade

Facade object for the Model subsystem in ArgoUML.

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

This is just recognizers and getters.

To manipulate the objects of the model there is a set of factories and helpers within the Model subsystem.

Signatures for all recognizers are:

Signatures for all getters are:


Field Summary
private static Logger LOG
          Logger.
private  NSUMLModelImplementation nsmodel
          The model implementation.
 
Fields inherited from interface org.argouml.model.Facade
GENERATED_TAG
 
Constructor Summary
(package private) NSUMLModelFacade(NSUMLModelImplementation implementation)
          Constructor.
 
Method Summary
private  Collection emptyCollection()
          The empty set.
 boolean equalsPseudostateKind(Object ps1, Object ps2)
          Check whether two pseudostatekinds are equal/of the same type.
 Object getAction(Object handle)
          Returns the action belonging to some message.
 Object getActivator(Object handle)
          Returns the activator belonging to some message.
 Collection getActualArguments(Object handle)
          Returns the actual arguments for a given action.
 Object getAddition(Object handle)
          Returns an addition for a given inlcude.
 Object getAggregation(Object handle)
          Returns the AggregationKind of a given AssociationEnd.
 Collection getAnnotatedElements(Object handle)
          Get the modelelement that were commented.
 Collection getAssociatedClasses(Object handle)
          Returns all associated classes for some given classifier.
 Object getAssociation(Object handle)
          Returns the association connected to an association end or the association belonging to the given link.
 Object getAssociationEnd(Object handle, Object assoc)
          Returns the association end between some classifier and some associaton.
 Collection getAssociationEnds(Object handle)
          The list of Association Ends.
 Collection getAssociationRoles(Object handle)
          The list of association roles.
 Collection getAttributes(Object handle)
          The list of Attributes.
 Object getBase(Object handle)
          The base of some model element.
 Object getBaseClass(Object handle)
          The baseclass of some stereotype.
 Collection getBases(Object handle)
          Get the bases of a classifier role.
 Object getBehavioralFeature(Object handle)
          Get the behavioral feature of an parameter.
 Collection getBehaviors(Object handle)
          Get the behaviors of a Modelelement.
 Object getBody(Object handle)
          Get the body of an method/constraint/expression.
 int getBound(Object handle)
          Return the Synch State's bound.
 Object getChangeability(Object handle)
          Return Changeability of a StructuralFeature or a AssociationEnd.
 Object getChild(Object handle)
          Get the child of a generalization.
 Collection getChildren(Object handle)
          Get the children of some generalizable element.
 Object getClassifier(Object handle)
          Get the classifier of an Association End.
 Collection getClassifierRoles(Object handle)
          Gets the classifiers roles of some model element.
 Collection getClassifiers(Object handle)
          Gets the classifierss of some instance.
 Collection getClassifiersInState(Object handle)
          Gets the classifiers in state of some model element.
protected  String getClassNull(Object handle)
          Get a string representation of the class type.
 Collection getClientDependencies(Object handle)
          Get the client dependencies of some classifier.
 Collection getClients(Object handle)
          Gets the clients of some dependency.
 Collection getCollaborations(Object handle)
          Get the collaborations of an element.
 Collection getComments(Object handle)
          Get the comments of an element.
 Object getCommunicationConnection(Object handle)
          Get the communication connection of an message.
 Object getCommunicationLink(Object handle)
          Get the communication link of a stimulus.
 Object getComponentInstance(Object handle)
          Get the component instance of an instance.
 Object getConcurrency(Object handle)
          Get the concurrency of an operation.
 Object getCondition(Object handle)
          Get the condition of an extend.
 Collection getConnections(Object handle)
          The list of connections to an association or link.
 Collection getConstrainedElements(Object handle)
          Returns the collection of ConstrainedElements of a constraint.
 Collection getConstrainingElements(Object handle)
          Returns the collection of ConstrainingElements of a Collaboration.
 Collection getConstraints(Object handle)
          Get the collection of all constraints of the given ModelElement.
 Object getContainer(Object handle)
          Returns the CompositeState that is the container of the given StateVertex.
 Collection getContents(Object handle)
          Returns the collection of ModelElements contained in a Partition.
 Object getContext(Object handle)
          Returns the context of some given statemachine or the context of some given interaction.
 Collection getContexts(Object handle)
          Return the collection of the Contexts of a given Signal.
 Collection getCreateActions(Object handle)
          Return the collection of Actions that create/instantiate the given Classifier.
 Object getDefaultValue(Object handle)
          Get the default value of a parameter.
 Collection getDeferrableEvents(Object handle)
          Get deferrable events of a state.
 Collection getDeploymentLocations(Object handle)
          Returns the context of some given statemachine or the context of some given interaction.
 Object getDiscriminator(Object handle)
          Get the discriminator.
 Object getDispatchAction(Object handle)
          Get the dispatchaction of a stimulus.
 Object getDoActivity(Object handle)
          Returns the do activity action of a state.
 Object getEffect(Object handle)
          Returns the effect of some transition.
 Collection getElementImports2(Object handle)
          Returns the ElementImports of this ModelElement.
 Collection getElementResidences(Object handle)
          Get the residences of an element.
 Object getEntry(Object handle)
          Returns the entry action to a state.
 Object getExit(Object handle)
          Returns the exit action to a state.
 Object getExpression(Object handle)
          Get the Expression belonging to a Guard, ChangeEvent or timeEvent.
 Collection getExtends(Object handle)
          Returns all extends of a use case or extension point.
 Collection getExtends2(Object handle)
          Returns all extends of a use case.
 Object getExtension(Object handle)
          Gets the use case extension of an extend.
 Object getExtensionPoint(Object handle, int index)
          Returns the Extensionpoint at given index-number.
 Collection getExtensionPoints(Object handle)
          Returns all extends of a use case.
 Collection getFeatures(Object handle)
          The list of Features from a Classifier.
 Object getGeneralization(Object handle, Object parent)
          Gets the generalization between two generalizable elements.
 Collection getGeneralizations(Object handle)
          The list of Generalizations from a GeneralizableElement.
 Object getGuard(Object handle)
          Gets the guard for some given transition.
 Object getIcon(Object handle)
          Returns the Icon of a Stereotype.
 Object getImplementationLocation(Object handle)
          Gets the component of some element residence.
 Collection getIncludes(Object handle)
          Returns the includes for some use case.
 Collection getIncludes2(Object handle)
          Returns the includes for some use case.
 Collection getIncomings(Object handle)
          Returns the incoming transitions for some statevertex.
 Object getInitialValue(Object handle)
          Returns the initial value for some attribute.
 Object getInstance(Object handle)
          Returns the instance of an AttributeLink or LinkEnd.
 Collection getInstances(Object handle)
          Returns the Instances for some Clasifier.
 Collection getInStates(Object handle)
          Returns the collection of States for some ClasifierInState.
 Object getInteraction(Object handle)
          Returns the interaction for some message.
 Collection getInteractions(Object handle)
          Returns the interactions belonging to a collaboration.
 Collection getInternalTransitions(Object handle)
          Returns the internal transitions belonging to a state.
 Object getKind(Object handle)
          Returns the Kind of a Pseudostate or Parameter.
 String getLanguage(Object handle)
          Gets the language attribute of an Expression.
 Object getLink(Object handle)
          Returns the Link belonging to the given LinkEnd.
 Collection getLinkEnds(Object handle)
          Return the LinkEnds of a given Instance or AssociationEnd.
 Collection getLinks(Object handle)
          Return the Links of a given Association.
 String getLocation(Object handle)
          Gets a location of some extension point.
 int getLower(Object handle)
          Returns the upper bound of the multiplicity of the given handle (an associationend).
 Collection getMessages(Object handle)
          Returns the messages belonging to some interaction.
 Collection getMessages1(Object handle)
          Returns the messages received by the given classifier role.
 Collection getMessages2(Object handle)
          Returns the messages send by the given classifier role.
 Collection getMessages3(Object handle)
          Returns the messages belonging to some other message.
 Collection getMessages4(Object handle)
          Get the messages that are activated by the given message.
 Collection getMethods(Object handle)
          Get the methods of an operation.
 Object getModel(Object handle)
          Get the model of some model element.
 Object getModelElement(Object handle)
           
 Object getModelElementContainer(Object handle)
          Returns the container for the given modelelement.
 Object getMultiplicity(Object handle)
          Get the Multiplicity from a model element.
 String getName(Object handle)
          The name of a model element or some diagram part.
 Object getNamespace(Object handle)
          Get the namespace of an element.
 Object getNodeInstance(Object handle)
          Get the node instance of a component instance.
 Collection getObjectFlowStates(Object handle)
          The collection of object flow states.
 Collection getOccurrences(Object handle)
          Get the occurrences of an operation.
 Object getOperation(Object handle)
          Get the operation of a Call Action or Call Event.
protected  Collection getOperations(ru.novosoft.uml.foundation.core.MClassifier mclassifier)
          This method returns all operations of a given Classifier.
 Collection getOperations(Object handle)
          Get the list of operations.
 Iterator getOperationsInh(Object handle)
          Get the list of Operations of this classifier and all inherited.
 Object getOppositeEnd(Object handle)
          Returns the opposite end of an association end.
 Object getOrdering(Object handle)
          Get ordering of an association end.
 Collection getOtherAssociationEnds(Object handle)
          Get the list of Associations Ends connected to this association end.
 Collection getOutgoings(Object handle)
          Returns the list of Transitions outgoing from the given stateVertex.
 Collection getOwnedElements(Object handle)
          The list of owned elements of the the package.
 Object getOwner(Object handle)
          Return the owner of a feature or its association end if it is a qualified attribute.
 Object getOwnerScope(Object handle)
          Get the owner scope of a feature.
 Object getPackage(Object handle)
          Returns the Package that is connected by the given ElementImport.
 Object getParameter(Object handle, int n)
          Get a parameter of a behavioral feature.
 Collection getParameters(Object handle)
          Get the parameters of a Object Flow State, Behavioral Feature, Classifier or Event.
 Object getParent(Object handle)
          Get the parent of a generalization.
 Collection getPartitions(Object container)
          Get the partitions from a container.
 Object getPowertype(Object handle)
          Get the powertype of a generalization.
 Collection getPowertypeRanges(Object handle)
          Get the powertype ranges of a classifier.
 Collection getPredecessors(Object handle)
          Get the predecessors of a message.
 Object getPseudostateKind(Object handle)
          Returns the Kind of a Pseudostate.
 Collection getQualifiers(Object handle)
          Get the qualified attributes of an association end.
 Collection getRaisedSignals(Object handle)
          Returns the raised signals of an operation.
 Iterator getRanges(Object handle)
          Get the Ranges from a Multiplicity.
 Object getReceiver(Object handle)
          Returns the receiver object of a message or stimulus.
 Collection getReceptions(Object handle)
          Returns the receptions of a signal.
 Object getRecurrence(Object handle)
          Returns the recurrence iteration expression of an action.
 String getReferenceState(Object o)
          Return the Stub State's referenced state.
 Object getRepresentedClassifier(Object handle)
          Returns the represented classifier of a collaboration.
 Object getRepresentedOperation(Object handle)
          Returns the represented operation of a collaboration.
 Object getResident(Object handle)
          Get the resident element.
 Collection getResidentElements(Object handle)
          Returns the collection of elements in a given component.
 Collection getResidents(Object handle)
          Returns a collection with all residents belonging to the given node.
 Object getScript(Object handle)
          Returns the script belonging to a given action.
 Object getSender(Object handle)
          Returns the sender object of a stimulus or a message.
 Object getSignal(Object handle)
          Returns the sender object of a stimulus or a message.
 Object getSource(Object handle)
          Gets the source for a given transition.
 Collection getSourceFlows(Object handle)
          Returns the sourceflows of a model element.
 Collection getSources(Object handle)
          Gets the source for some given flow.
 Collection getSpecializations(Object handle)
          The list of Specializations from a GeneralizableElement.
 String getSpecification(Object handle)
          Returns the Specification of a given Reception.
 Collection getSpecifications(Object handle)
          Returns all Interfaces of which this class is a realization.
 Object getState(Object handle)
          Returns the state belonging to some given transition.
 Object getStateMachine(Object handle)
          Returns the state machine belonging to some given state or transition If you need to find the StateMachine for an internal transition, or for ANY state, use StateMachinesHelper.getStateMachine() instead.
 Collection getStates(Object handle)
          Returns the states from a deferable event.
 List getStereotypes(Object handle)
          Returns the stereotypes belonging to some given model element.
 Collection getStimuli(Object handle)
          Returns the stimuli belonging to some given link.
 Collection getStimuli2(Object handle)
          Returns the Stimuli that are received by the given Instance.
 Collection getStimuli3(Object handle)
          Returns the Stimuli that are send by the given Instance.
 Collection getStructuralFeatures(Object handle)
          This method returns all attributes of a given Classifier.
 Object getSubmachine(Object handle)
          Returns the submachie of a submachine state.
 Collection getSubmachineStates(Object handle)
          Returns the submachine of a submachine state.
 Collection getSubvertices(Object handle)
          Returns a collection with all subvertices belonging to the given composite state.
 Collection getSupplierDependencies(Object handle)
          The list of SupplierDependencies from a ModelElement.
 Collection getSuppliers(Object handle)
          Returns the suppliers of a dependency.
 String getTag(Object handle)
          Return the tag of a tagged value.
 Object getTaggedValue(Object handle, String name)
          Return the tagged value with a specific tag.
 Iterator getTaggedValues(Object handle)
          Return the tagged values iterator of a model element.
 Collection getTaggedValuesCollection(Object handle)
          Returns the TaggedValues of a ModelElement.
 String getTaggedValueValue(Object handle, String name)
          Return the value of a tagged value with a specific tag.
 String getTagOfTag(Object handle)
          Return the key (tag) of some tagged value.
 Object getTarget(Object handle)
          Returns the target of some transition.
 Collection getTargetFlows(Object handle)
          Returns the targetflows of a model element.
 Object getTargetScope(Object handle)
          Returns the target scope of some model element.
 Object getTop(Object handle)
          The top of a state machine.
 Object getTransition(Object handle)
          Get the transition of a guard or action.
 Collection getTransitions(Object handle)
          Returns the transitions belonging to the given handle.
 Object getTrigger(Object handle)
          Get the trigger of a transition.
 Object getType(Object handle)
          The type of a StructuralFeature, AssociationEnd, Parameter or ObjectFlowState.
 String getUMLClassName(Object handle)
          Returns the name of the UML Model class, e.g.
 int getUpper(Object handle)
          Returns the upper bound of the multiplicity of the given handle (an associationend).
 Object getUseCase(Object handle)
          Returns the use case of an extension point.
 String getUUID(Object base)
          Return the UUID of this element.
 Object getValue(Object handle)
          Returns the Value of some UML Object.
 String getValueOfTag(Object handle)
          Return the value of some tagged value.
 Object getVisibility(Object handle)
          Return the visibility of this element.
 boolean hasReturnParameterDirectionKind(Object handle)
          Determine if the passed parameter has a RETURN direction kind.
private  void illegalArgument(Object arg)
          Method that throws an error when a method is called with an incorrect argument.
private  Object illegalArgument(Object arg1, Object arg2)
          Method that throws an error when a method is called with an incorrect argument.
private  boolean illegalArgumentBoolean(Object arg)
          Method that throws an error when a method is called with an incorrect argument.
private  Collection illegalArgumentCollection(Object arg)
          Method that throws an error when a method is called with an incorrect argument.
private  int illegalArgumentInt(Object arg)
          Method that throws an error when a method is called with an incorrect argument.
private  List illegalArgumentList(Object arg)
          Method that throws an error when a method is called with an incorrect argument.
private  Object illegalArgumentObject(Object arg)
          Method that throws an error when a method is called with an incorrect argument.
private  Object illegalArgumentObject(Object arg1, Object arg2)
          Method that throws an error when a method is called with an incorrect argument.
private  String illegalArgumentString(Object arg)
          Method that throws an error when a method is called with an incorrect argument.
 boolean isAAbstraction(Object handle)
          Recognizer for Abstraction.
 boolean isAAction(Object handle)
          Recognizer for Action.
 boolean isAActionExpression(Object handle)
          Recognizer for ActionExpression.
 boolean isAActionSequence(Object handle)
          Recognizer for ActionSequence.
 boolean isAActionState(Object handle)
          Recognizer for Action state.
 boolean isAActivityGraph(Object handle)
          Recognizer for ActivityGraph.
 boolean isAActor(Object handle)
          Recognizer for Actor.
 boolean isAAggregationKind(Object handle)
          Recognizer for AggregationKind.
 boolean isAAssociation(Object handle)
          Recognizer for Association.
 boolean isAAssociationClass(Object handle)
          Recognizer for AssociationClass.
 boolean isAAssociationEnd(Object handle)
          Recognizer for AssociationEnd.
 boolean isAAssociationEndRole(Object handle)
          Recognizer for AssociationEndRole.
 boolean isAAssociationRole(Object handle)
          Recognizer for AssociationRole.
 boolean isAAttribute(Object handle)
          Recognizer for Attribute.
 boolean isABase(Object handle)
          Recognizer for bases.
 boolean isABehavioralFeature(Object handle)
          Recognizer for behavioral features.
 boolean isAbstract(Object handle)
          Recognizer for abstract classes and operations.
 boolean isACallAction(Object handle)
          Recognizer for CallAction.
 boolean isACallEvent(Object handle)
          Recognizer for CallEvent.
 boolean isACallState(Object handle)
          Recognizer for CallState.
 boolean isAChangeEvent(Object handle)
          Recognizer for ChangeEvent.
 boolean isAClass(Object handle)
          Recognizer for Class.
 boolean isAClassifier(Object handle)
          Recognizer for Classifier.
 boolean isAClassifierAndARelationship(Object handle)
          Recognizer for a Element that is Classifier and RelationShip.
 boolean isAClassifierInState(Object handle)
          Recognizer for ClassifierInState.
 boolean isAClassifierRole(Object handle)
          Recognizer for ClassifierRole.
 boolean isACollaboration(Object handle)
          Recognizer for Collaboration.
 boolean isAComment(Object handle)
          Recognizer for Comment.
 boolean isAComponent(Object handle)
          Recognizer for Component.
 boolean isAComponentInstance(Object handle)
          Recognizer for ComponentInstance.
 boolean isACompositeState(Object handle)
          Recognizer for CompositeState.
 boolean isAConcurrentRegion(Object handle)
          Recognizer for ConcurrentRegion.
 boolean isAConstraint(Object handle)
          Recognizer for Constraint.
 boolean isACreateAction(Object handle)
          Recognizer for CreateAction.
 boolean isActive(Object handle)
          Recognizer for Classes that are Active.
 boolean isADataType(Object handle)
          Recognizer for DataType.
 boolean isADataValue(Object handle)
          Recognizer for DataValue.
 boolean isADependency(Object handle)
          Recognizer for Dependency.
 boolean isADestroyAction(Object handle)
          Recognizer for DestroyAction.
 boolean isAElement(Object handle)
          Recognizer for Element.
 boolean isAElementImport(Object handle)
          Recognizer for ElementImport.
 boolean isAElementListener(Object handle)
          Recognizer for ElementListener.
 boolean isAElementResidence(Object handle)
          Recognizer for ElementResidence.
 boolean isAEvent(Object handle)
          Recognizer for Event.
 boolean isAException(Object handle)
          Recognizer for Exception.
 boolean isAExpression(Object handle)
          Recognizer for Expression.
 boolean isAExtend(Object handle)
          Recognizer for Extend.
 boolean isAExtensionPoint(Object handle)
          Recognizer for ExtensionPoint.
 boolean isAFeature(Object handle)
          Recognizer for Feature.
 boolean isAFinalState(Object handle)
          Recognizer for FinalState.
 boolean isAFlow(Object handle)
          Recognizer for Flow.
 boolean isAGeneralizableElement(Object handle)
          Recognizer for GeneralizableElement.
 boolean isAGeneralization(Object handle)
          Recognizer for GeneralizableElement.
 boolean isAggregate(Object handle)
          Returns true if a given associationend is a composite.
 boolean isAGuard(Object handle)
          Recognizer for Guard.
 boolean isAInclude(Object handle)
          Recognizer for Include.
 boolean isAInstance(Object handle)
          Recognizer for Instance.
 boolean isAInteraction(Object handle)
          Recognizer for Interaction.
 boolean isAInterface(Object handle)
          Recognizer for Interface.
 boolean isALink(Object handle)
          Recognizer for Link.
 boolean isALinkEnd(Object handle)
          Recognizer for LinkEnd.
 boolean isAMessage(Object handle)
          Recognizer for Message.
 boolean isAMethod(Object handle)
          Recognizer for Method.
 boolean isAModel(Object handle)
          Recognizer for Model.
 boolean isAModelElement(Object handle)
          Recognizer for ModelElement.
 boolean isAMultiplicity(Object handle)
          Recognizer for Multiplicity.
 boolean isAMultiplicityRange(Object handle)
          Recognizer for MultiplicityRange.
 boolean isANamespace(Object handle)
          Recognizer for Namespace.
 boolean isANaryAssociation(Object handle)
          Recognizer for N-ary Association.
 boolean isANode(Object handle)
          Recognizer for a Node.
 boolean isANodeInstance(Object handle)
          Recognizer for a NodeInstance.
 boolean isAObject(Object handle)
          Recognizer for Object.
 boolean isAObjectFlowState(Object handle)
          Recognizer for ObjectFlowState.
 boolean isAOperation(Object handle)
          Recognizer for Operation.
 boolean isAPackage(Object handle)
          Recognizer for Package.
 boolean isAParameter(Object handle)
          Recognizer for Parameter.
 boolean isAPartition(Object handle)
          Recognizer for Partition.
 boolean isAPermission(Object handle)
          Recognizer for Permission.
 boolean isAPseudostate(Object handle)
          Recognizer for Pseudostate.
 boolean isAPseudostateKind(Object handle)
          Recognizer for PseudostateKind.
 boolean isAReception(Object handle)
          Recognizer for Reception.
 boolean isARelationship(Object handle)
          Recognizer for Relationship.
 boolean isAReturnAction(Object handle)
          Recognizer for Returnaction.
 boolean isASendAction(Object handle)
          Recognizer for SendAction.
 boolean isASignal(Object handle)
          Recognizer for Signal.
 boolean isASignalEvent(Object handle)
          Recognizer for SignalEvent.
 boolean isAState(Object handle)
          Recognizer for State.
 boolean isAStateMachine(Object handle)
          Recognizer for StateMachine.
 boolean isAStateVertex(Object handle)
          Recognizer for StateVertex.
 boolean isAStereotype(Object handle)
          Recognizer for Stereotype.
 boolean isAStimulus(Object handle)
          Recognizer for stimulus.
 boolean isAStructuralFeature(Object handle)
          Recognizer for StructuralFeature.
 boolean isAStubState(Object handle)
          Recognizer for StubState.
 boolean isASubactivityState(Object handle)
          Recognizer for SubactivityState.
 boolean isASubmachineState(Object handle)
          Recognizer for SubmachineState.
 boolean isASubsystem(Object handle)
          Recognizer for Subsystem.
 boolean isAsynchronous(Object handle)
          Recognizer for asynchronisity of an action.
 boolean isASynchState(Object handle)
          Recognizer for SynchState.
 boolean isATaggedValue(Object handle)
          Recognizer for TaggedValue.
 boolean isATimeEvent(Object handle)
          Recognizer for TimeEvent.
 boolean isATransition(Object handle)
          Recognizer for Transition.
 boolean isAUsage(Object handle)
          Recognizer for Usage.
 boolean isAUseCase(Object handle)
          Recognizer for a Use Case.
 boolean isAVisibilityKind(Object handle)
          Recognizer for VisibilityKind.
 boolean isChangeable(Object handle)
          Recognizer for attributes that are changeable.
 boolean isClassifierScope(Object handle)
          Recognizer for attributes with classifier scope.
 boolean isComposite(Object handle)
          Returns true if a given associationend is a composite.
 boolean isConcurent(Object handle)
          Deprecated. in 0.17.2 by Bob Tarling use isConcurrent(Object) which covers up the mis-spelling by NSUML
 boolean isConcurrent(Object handle)
          Recognizer for concurrent composite state.
 boolean isConstructor(Object handle)
           
 boolean isFrozen(Object handle)
          Returns true if the given element is Frozen.
 boolean isInitialized(Object handle)
          Recognizer for attributes that are initialized.
 boolean isInstanceScope(Object handle)
          Recognizer for attributes with instance scope.
 boolean isInternal(Object handle)
          Recognizer for internal transitions.
 boolean isLeaf(Object handle)
          Recognizer for leafs.
 boolean isNavigable(Object handle)
          Recognizer for Navigable elements.
 boolean isPrimaryObject(Object handle)
          Recognizer for primary objects.
 boolean isPrivate(Object handle)
          Recognizer for attributes with private.
 boolean isProtected(Object handle)
          Recognizer for attributes with protected.
 boolean isPublic(Object handle)
          Recognizer for attributes with public.
 boolean isQuery(Object handle)
          Recognizer for MBehaviouralFeature's that are queries.
 boolean isRealize(Object handle)
          Recognizer for realize.
 boolean isReturn(Object handle)
          Recognizer for return.
 boolean isRoot(Object handle)
          Recognizer for roots.
 boolean isSingleton(Object handle)
          Recognizer for singleton.
 boolean isSpecification(Object handle)
          Recognizer for specifications.
 boolean isStereotype(Object handle, String stereotypename)
          Recognizer for model elements with a given stereotype.
 boolean isTop(Object handle)
          Returns true if the given CompositeState is the top state.
 boolean isType(Object handle)
          Recognizer for type.
 boolean isUtility(Object handle)
          Recognizer for utility.
 Object lookupIn(Object handle, String name)
          Returns a named object in the given object by calling it's lookup method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

private static final Logger LOG
Logger.


nsmodel

private NSUMLModelImplementation nsmodel
The model implementation.

Constructor Detail

NSUMLModelFacade

NSUMLModelFacade(NSUMLModelImplementation implementation)
Constructor.

Parameters:
implementation - To get other helpers and factories.
Method Detail

isAAbstraction

public boolean isAAbstraction(Object handle)
Recognizer for Abstraction.

Specified by:
isAAbstraction in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is an Abstraction

isAAction

public boolean isAAction(Object handle)
Recognizer for Action.

Specified by:
isAAction in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is an Action

isAActionExpression

public boolean isAActionExpression(Object handle)
Recognizer for ActionExpression. a

Specified by:
isAActionExpression in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is an ActionExpression

isAActionSequence

public boolean isAActionSequence(Object handle)
Recognizer for ActionSequence.

Specified by:
isAActionSequence in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is an action sequence

isAActionState

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

Specified by:
isAActionState in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is an Action state

isACallState

public boolean isACallState(Object handle)
Recognizer for CallState.

Specified by:
isACallState in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is an call state

isAObjectFlowState

public boolean isAObjectFlowState(Object handle)
Recognizer for ObjectFlowState.

Specified by:
isAObjectFlowState in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is an objectflow state

isASubactivityState

public boolean isASubactivityState(Object handle)
Recognizer for SubactivityState.

Specified by:
isASubactivityState in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is an subactivity state

isAActor

public boolean isAActor(Object handle)
Recognizer for Actor.

Specified by:
isAActor in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is an Actor

isAAggregationKind

public boolean isAAggregationKind(Object handle)
Recognizer for AggregationKind.

Specified by:
isAAggregationKind in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is an AggregationKind

isAAssociation

public boolean isAAssociation(Object handle)
Recognizer for Association.

Specified by:
isAAssociation in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is an Association

isAAssociationEnd

public boolean isAAssociationEnd(Object handle)
Recognizer for AssociationEnd.

Specified by:
isAAssociationEnd in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is an AssociationEnd

isAAssociationRole

public boolean isAAssociationRole(Object handle)
Recognizer for AssociationRole.

Specified by:
isAAssociationRole in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is an AssociationRole

isAAssociationEndRole

public boolean isAAssociationEndRole(Object handle)
Recognizer for AssociationEndRole.

Specified by:
isAAssociationEndRole in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is an AssociationEndRole

isAAttribute

public boolean isAAttribute(Object handle)
Recognizer for Attribute.

Specified by:
isAAttribute in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is an Attribute

isAsynchronous

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

Specified by:
isAsynchronous in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if the argument is asynchronous

isAbstract

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

Specified by:
isAbstract in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is abstract.

isAActivityGraph

public boolean isAActivityGraph(Object handle)
Recognizer for ActivityGraph.

Specified by:
isAActivityGraph in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is ActivityGraph.

isABase

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

Specified by:
isABase in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a base.

isABehavioralFeature

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

Specified by:
isABehavioralFeature in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a behavioral feature

isACallAction

public boolean isACallAction(Object handle)
Recognizer for CallAction.

Specified by:
isACallAction in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a CallAction

isACallEvent

public boolean isACallEvent(Object handle)
Recognizer for CallEvent.

Specified by:
isACallEvent in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a CallEvent

isAChangeEvent

public boolean isAChangeEvent(Object handle)
Recognizer for ChangeEvent.

Specified by:
isAChangeEvent in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a ChangeEvent

isAClass

public boolean isAClass(Object handle)
Recognizer for Class.

Specified by:
isAClass in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a Class

isAAssociationClass

public boolean isAAssociationClass(Object handle)
Recognizer for AssociationClass.

Specified by:
isAAssociationClass in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is an AssociationClass

isAClassifierAndARelationship

public boolean isAClassifierAndARelationship(Object handle)
Recognizer for a Element that is Classifier and RelationShip.

Specified by:
isAClassifierAndARelationship in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a Classifier and a Relationship

isAClassifier

public boolean isAClassifier(Object handle)
Recognizer for Classifier.

Specified by:
isAClassifier in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a Classifier

isAClassifierInState

public boolean isAClassifierInState(Object handle)
Recognizer for ClassifierInState.

Specified by:
isAClassifierInState in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a ClassifierInState

isAClassifierRole

public boolean isAClassifierRole(Object handle)
Recognizer for ClassifierRole.

Specified by:
isAClassifierRole in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a ClassifierRole

isAComment

public boolean isAComment(Object handle)
Recognizer for Comment.

Specified by:
isAComment in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a Comment

isACollaboration

public boolean isACollaboration(Object handle)
Recognizer for Collaboration.

Specified by:
isACollaboration in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a Collaboration

isAComponent

public boolean isAComponent(Object handle)
Recognizer for Component.

Specified by:
isAComponent in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a Component

isAComponentInstance

public boolean isAComponentInstance(Object handle)
Recognizer for ComponentInstance.

Specified by:
isAComponentInstance in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a ComponentInstance

isAConstraint

public boolean isAConstraint(Object handle)
Recognizer for Constraint.

Specified by:
isAConstraint in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a Constraint

isACreateAction

public boolean isACreateAction(Object handle)
Recognizer for CreateAction.

Specified by:
isACreateAction in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a CreateAction

isADataType

public boolean isADataType(Object handle)
Recognizer for DataType.

Specified by:
isADataType in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a DataType

isADataValue

public boolean isADataValue(Object handle)
Recognizer for DataValue.

Specified by:
isADataValue in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a DataValue

isADependency

public boolean isADependency(Object handle)
Recognizer for Dependency.

Specified by:
isADependency in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a Dependency

isADestroyAction

public boolean isADestroyAction(Object handle)
Recognizer for DestroyAction.

Specified by:
isADestroyAction in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a DestroyAction

isACompositeState

public boolean isACompositeState(Object handle)
Recognizer for CompositeState.

Specified by:
isACompositeState in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a CompositeState

isAElement

public boolean isAElement(Object handle)
Recognizer for Element.

Specified by:
isAElement in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is an Element

isAElementImport

public boolean isAElementImport(Object handle)
Recognizer for ElementImport.

Specified by:
isAElementImport in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is an ElementImport

isAElementListener

public boolean isAElementListener(Object handle)
Recognizer for ElementListener.

Specified by:
isAElementListener in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is an ElementListener

isAElementResidence

public boolean isAElementResidence(Object handle)
Recognizer for ElementResidence.

Specified by:
isAElementResidence in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is an ElementResidence

isAEvent

public boolean isAEvent(Object handle)
Recognizer for Event.

Specified by:
isAEvent in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is an Event

isAException

public boolean isAException(Object handle)
Recognizer for Exception.

Specified by:
isAException in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is an Exception

isAExpression

public boolean isAExpression(Object handle)
Recognizer for Expression.

Specified by:
isAExpression in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is an Expression

isAExtend

public boolean isAExtend(Object handle)
Recognizer for Extend.

Specified by:
isAExtend in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is an Extend

isAExtensionPoint

public boolean isAExtensionPoint(Object handle)
Recognizer for ExtensionPoint.

Specified by:
isAExtensionPoint in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is an ExtensionPoint

isAFeature

public boolean isAFeature(Object handle)
Recognizer for Feature.

Specified by:
isAFeature in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a Feature

isAFinalState

public boolean isAFinalState(Object handle)
Recognizer for FinalState.

Specified by:
isAFinalState in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a FinalState

isAFlow

public boolean isAFlow(Object handle)
Recognizer for Flow.

Specified by:
isAFlow in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a Flow

isAGuard

public boolean isAGuard(Object handle)
Recognizer for Guard.

Specified by:
isAGuard in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a Guard

isAGeneralizableElement

public boolean isAGeneralizableElement(Object handle)
Recognizer for GeneralizableElement.

Specified by:
isAGeneralizableElement in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a GeneralizableElement

isAGeneralization

public boolean isAGeneralization(Object handle)
Recognizer for GeneralizableElement.

Specified by:
isAGeneralization in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a GeneralizableElement

isAInclude

public boolean isAInclude(Object handle)
Recognizer for Include.

Specified by:
isAInclude in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is an Include

isAInstance

public boolean isAInstance(Object handle)
Recognizer for Instance.

Specified by:
isAInstance in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a Instance

isAInteraction

public boolean isAInteraction(Object handle)
Recognizer for Interaction.

Specified by:
isAInteraction in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a Interaction

isAInterface

public boolean isAInterface(Object handle)
Recognizer for Interface.

Specified by:
isAInterface in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a Interface

isALink

public boolean isALink(Object handle)
Recognizer for Link.

Specified by:
isALink in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a Link

isALinkEnd

public boolean isALinkEnd(Object handle)
Recognizer for LinkEnd.

Specified by:
isALinkEnd in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a LinkEnd

isAMessage

public boolean isAMessage(Object handle)
Recognizer for Message.

Specified by:
isAMessage in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a Method

isAMethod

public boolean isAMethod(Object handle)
Recognizer for Method.

Specified by:
isAMethod in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a Method

isAModel

public boolean isAModel(Object handle)
Recognizer for Model.

Specified by:
isAModel in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a Model

isAModelElement

public boolean isAModelElement(Object handle)
Recognizer for ModelElement.

Specified by:
isAModelElement in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a ModelElement

isAMultiplicity

public boolean isAMultiplicity(Object handle)
Recognizer for Multiplicity.

Specified by:
isAMultiplicity in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a Multiplicity

isAMultiplicityRange

public boolean isAMultiplicityRange(Object handle)
Recognizer for MultiplicityRange.

Specified by:
isAMultiplicityRange in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a MultiplicityRange

isANamespace

public boolean isANamespace(Object handle)
Recognizer for Namespace.

Specified by:
isANamespace in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a Namespace

isANaryAssociation

public boolean isANaryAssociation(Object handle)
Recognizer for N-ary Association.

Specified by:
isANaryAssociation in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is an Association

isANode

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

Specified by:
isANode in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a Node

isANodeInstance

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

Specified by:
isANodeInstance in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a NodeInstance

isAOperation

public boolean isAOperation(Object handle)
Recognizer for Operation.

Specified by:
isAOperation in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is an Operation

isAObject

public boolean isAObject(Object handle)
Recognizer for Object.

Specified by:
isAObject in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is an Object

isAParameter

public boolean isAParameter(Object handle)
Recognizer for Parameter.

Specified by:
isAParameter in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a Parameter

isAPartition

public boolean isAPartition(Object handle)
Recognizer for Partition.

Specified by:
isAPartition in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a Partition

isAPermission

public boolean isAPermission(Object handle)
Recognizer for Permission.

Specified by:
isAPermission in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is an Permission

isAPackage

public boolean isAPackage(Object handle)
Recognizer for Package.

Specified by:
isAPackage in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a Package

isAPseudostate

public boolean isAPseudostate(Object handle)
Recognizer for Pseudostate.

Specified by:
isAPseudostate in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a Pseudostate

isAPseudostateKind

public boolean isAPseudostateKind(Object handle)
Recognizer for PseudostateKind.

Specified by:
isAPseudostateKind in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a PseudostateKind

getPseudostateKind

public Object getPseudostateKind(Object handle)
Returns the Kind of a Pseudostate. TODO: - Do we need this as well as getKind - I think not

Specified by:
getPseudostateKind in interface org.argouml.model.Facade
Parameters:
handle - the Pseudostate
Returns:
the Kind

getKind

public Object getKind(Object handle)
Returns the Kind of a Pseudostate or Parameter.

Specified by:
getKind in interface org.argouml.model.Facade
Parameters:
handle - the Pseudostate or Parameter
Returns:
the Kind

getReceiver

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

Specified by:
getReceiver in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
receiver

getLink

public Object getLink(Object handle)
Returns the Link belonging to the given LinkEnd.

Specified by:
getLink in interface org.argouml.model.Facade
Parameters:
handle - the LinkEnd
Returns:
the Link

equalsPseudostateKind

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

Specified by:
equalsPseudostateKind in interface org.argouml.model.Facade
Parameters:
ps1 - one kind
ps2 - one kind
Returns:
true if the are the same type

isAReception

public boolean isAReception(Object handle)
Recognizer for Reception.

Specified by:
isAReception in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a Reception

isAReturnAction

public boolean isAReturnAction(Object handle)
Recognizer for Returnaction.

Specified by:
isAReturnAction in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a returnaction

isARelationship

public boolean isARelationship(Object handle)
Recognizer for Relationship.

Specified by:
isARelationship in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a Relationship

isASendAction

public boolean isASendAction(Object handle)
Recognizer for SendAction.

Specified by:
isASendAction in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a SendAction

isASignal

public boolean isASignal(Object handle)
Recognizer for Signal.

Specified by:
isASignal in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a Signal

isASignalEvent

public boolean isASignalEvent(Object handle)
Recognizer for SignalEvent.

Specified by:
isASignalEvent in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a SignalEvent

isAStateMachine

public boolean isAStateMachine(Object handle)
Recognizer for StateMachine.

Specified by:
isAStateMachine in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a StateMachine

isAStimulus

public boolean isAStimulus(Object handle)
Recognizer for stimulus.

Specified by:
isAStimulus in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a stimulus

isAStateVertex

public boolean isAStateVertex(Object handle)
Recognizer for StateVertex.

Specified by:
isAStateVertex in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a StateVertex

isAStereotype

public boolean isAStereotype(Object handle)
Recognizer for Stereotype.

Specified by:
isAStereotype in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a Stereotype

isAStructuralFeature

public boolean isAStructuralFeature(Object handle)
Recognizer for StructuralFeature.

Specified by:
isAStructuralFeature in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a StructuralFeature

isAState

public boolean isAState(Object handle)
Recognizer for State.

Specified by:
isAState in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a State

isAStubState

public boolean isAStubState(Object handle)
Recognizer for StubState.

Specified by:
isAStubState in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a StubState

isASubmachineState

public boolean isASubmachineState(Object handle)
Recognizer for SubmachineState.

Specified by:
isASubmachineState in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a SubmachineState

isASubsystem

public boolean isASubsystem(Object handle)
Recognizer for Subsystem.

Specified by:
isASubsystem in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a Subsystem

isASynchState

public boolean isASynchState(Object handle)
Recognizer for SynchState.

Specified by:
isASynchState in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a SynchState

isATaggedValue

public boolean isATaggedValue(Object handle)
Recognizer for TaggedValue.

Specified by:
isATaggedValue in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a TaggedValue

isATransition

public boolean isATransition(Object handle)
Recognizer for Transition.

Specified by:
isATransition in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a Transition

isATimeEvent

public boolean isATimeEvent(Object handle)
Recognizer for TimeEvent.

Specified by:
isATimeEvent in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a TimeEvent

isAUsage

public boolean isAUsage(Object handle)
Recognizer for Usage.

Specified by:
isAUsage in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a Usage

isAUseCase

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

Specified by:
isAUseCase in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a Transition

isAVisibilityKind

public boolean isAVisibilityKind(Object handle)
Recognizer for VisibilityKind.

Specified by:
isAVisibilityKind in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a VisibilityKind

isActive

public boolean isActive(Object handle)
Recognizer for Classes that are Active.

Specified by:
isActive in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if Class is Active

isChangeable

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

Specified by:
isChangeable in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is changeable

isClassifierScope

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

Specified by:
isClassifierScope in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle has classifier scope.

isConcurent

public boolean isConcurent(Object handle)
Deprecated. in 0.17.2 by Bob Tarling use isConcurrent(Object) which covers up the mis-spelling by NSUML

Recognizer for concurent composite state.

Specified by:
isConcurent in interface org.argouml.model.Facade
Parameters:
handle - composite state
Returns:
true if concurent.

isConcurrent

public boolean isConcurrent(Object handle)
Recognizer for concurrent composite state.

Specified by:
isConcurrent in interface org.argouml.model.Facade
Parameters:
handle - composite state
Returns:
true if concurent.

isAConcurrentRegion

public boolean isAConcurrentRegion(Object handle)
Recognizer for ConcurrentRegion.

Specified by:
isAConcurrentRegion in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a ConcurrentRegion

isConstructor

public boolean isConstructor(Object handle)
Specified by:
isConstructor in interface org.argouml.model.Facade
See Also:
Facade.isConstructor(java.lang.Object)

isFrozen

public boolean isFrozen(Object handle)
Returns true if the given element is Frozen.

Specified by:
isFrozen in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
boolean true if Frozen

isComposite

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

Specified by:
isComposite in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
boolean

isAggregate

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

Specified by:
isAggregate in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
boolean

isInitialized

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

Specified by:
isInitialized in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if the attribute is initialized.

isInstanceScope

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

Specified by:
isInstanceScope in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle has instance scope.

isInternal

public boolean isInternal(Object handle)
Recognizer for internal transitions.

Specified by:
isInternal in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is an internal transition.

isLeaf

public boolean isLeaf(Object handle)
Recognizer for leafs.

Specified by:
isLeaf in interface org.argouml.model.Facade
Parameters:
handle - candidate GeneralizableElement
Returns:
true if handle is a leaf

isRoot

public boolean isRoot(Object handle)
Recognizer for roots.

Specified by:
isRoot in interface org.argouml.model.Facade
Parameters:
handle - candidate GeneralizableElement
Returns:
true if handle is a leaf

isSpecification

public boolean isSpecification(Object handle)
Recognizer for specifications.

Specified by:
isSpecification in interface org.argouml.model.Facade
Parameters:
handle - candidate ModelElement
Returns:
true if handle is a specification

isNavigable

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

Specified by:
isNavigable in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is navigable

isPrimaryObject

public boolean isPrimaryObject(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.

Specified by:
isPrimaryObject in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if primary object.

isPrivate

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

Specified by:
isPrivate in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle has private

isPublic

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

Specified by:
isPublic in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle has public

isQuery

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

Specified by:
isQuery in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if it is a query

isProtected

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

Specified by:
isProtected in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle has protected

isRealize

public boolean isRealize(Object handle)
Recognizer for realize.

Specified by:
isRealize in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle has a realize stereotype

isReturn

public boolean isReturn(Object handle)
Recognizer for return.

Specified by:
isReturn in interface org.argouml.model.Facade
Parameters:
handle - candidate parameter
Returns:
true if handle is a return parameter.

isSingleton

public boolean isSingleton(Object handle)
Recognizer for singleton.

Specified by:
isSingleton in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a singleton.

isStereotype

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

Specified by:
isStereotype in interface org.argouml.model.Facade
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 boolean isTop(Object handle)
Returns true if the given CompositeState is the top state.

Specified by:
isTop in interface org.argouml.model.Facade
Parameters:
handle - CompositeState
Returns:
boolean true if top state

isType

public boolean isType(Object handle)
Recognizer for type.

Specified by:
isType in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a type.

isUtility

public boolean isUtility(Object handle)
Recognizer for utility.

Specified by:
isUtility in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
true if handle is a utility.

getAssociation

public Object getAssociation(Object handle)
Returns the association connected to an association end or the association belonging to the given link.

Specified by:
getAssociation in interface org.argouml.model.Facade
Parameters:
handle - is the link
Returns:
association end

getAssociationEnd

public Object getAssociationEnd(Object handle,
                                Object assoc)
Returns the association end between some classifier and some associaton.

Specified by:
getAssociationEnd in interface org.argouml.model.Facade
Parameters:
handle - is the classifier
assoc - is the association
Returns:
association end

getAssociationEnds

public Collection getAssociationEnds(Object handle)
The list of Association Ends.

Specified by:
getAssociationEnds in interface org.argouml.model.Facade
Parameters:
handle - the object that we get the association ends from.
Returns:
Collection with association ends.

getAssociationRoles

public Collection getAssociationRoles(Object handle)
The list of association roles.

Specified by:
getAssociationRoles in interface org.argouml.model.Facade
Parameters:
handle - the object that we get the association roles from.
Returns:
Collection of association roles.

getAttributes

public Collection getAttributes(Object handle)
The list of Attributes.

Specified by:
getAttributes in interface org.argouml.model.Facade
Parameters:
handle - classifier to examine.
Returns:
iterator with attributes.

getBaseClass

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

Specified by:
getBaseClass in interface org.argouml.model.Facade
Parameters:
handle - the stereotype
Returns:
the baseclass

getBase

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

There is a bug in NSUML which gets the addition and base relationships back to front for include relationships. Solve by reversing their accessors in the code.

Specified by:
getBase in interface org.argouml.model.Facade
Parameters:
handle - the model element
Returns:
the base

getBases

public Collection getBases(Object handle)
Get the bases of a classifier role.

Specified by:
getBases in interface org.argouml.model.Facade
Parameters:
handle - classifier role.
Returns:
the bases.

getBehaviors

public Collection getBehaviors(Object handle)
Get the behaviors of a Modelelement.

Specified by:
getBehaviors in interface org.argouml.model.Facade
Parameters:
handle - modelelement to examine.
Returns:
the behaviors.

getBehavioralFeature

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

Specified by:
getBehavioralFeature in interface org.argouml.model.Facade
Parameters:
handle - expression.
Returns:
the behavioral feature.

getBody

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

Specified by:
getBody in interface org.argouml.model.Facade
Parameters:
handle - expression.
Returns:
the body.

getBound

public int getBound(Object handle)
Return the Synch State's bound.

Specified by:
getBound in interface org.argouml.model.Facade
Parameters:
handle - the synch State
Returns:
bound

getChangeability

public Object getChangeability(Object handle)
Return Changeability of a StructuralFeature or a AssociationEnd.

Specified by:
getChangeability in interface org.argouml.model.Facade
Parameters:
handle - the StructuralFeature or AssociationEnd
Returns:
the Changeability

getChild

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

Specified by:
getChild in interface org.argouml.model.Facade
Parameters:
handle - generalization.
Returns:
the child.

getChildren

public Collection getChildren(Object handle)
Get the children of some generalizable element.

Specified by:
getChildren in interface org.argouml.model.Facade
Parameters:
handle - to the generalizable element.
Returns:
a collection with all children.

getClassifierRoles

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

Specified by:
getClassifierRoles in interface org.argouml.model.Facade
Parameters:
handle - the model element
Returns:
the classifiers roles of the instance

getClassifier

public Object getClassifier(Object handle)
Get the classifier of an Association End.

Specified by:
getClassifier in interface org.argouml.model.Facade
Parameters:
handle - The Association End to get from.
Returns:
The classifier of the Association End.

getClassifiers

public Collection getClassifiers(Object handle)
Gets the classifierss of some instance.

Specified by:
getClassifiers in interface org.argouml.model.Facade
Parameters:
handle - the instance
Returns:
the classifierss of the instance

getClassifiersInState

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

Specified by:
getClassifiersInState in interface org.argouml.model.Facade
Parameters:
handle - the model element
Returns:
the classifierss in state

getClients

public Collection getClients(Object handle)
Gets the clients of some dependency.

Specified by:
getClients in interface org.argouml.model.Facade
Parameters:
handle - the dependency
Returns:
the clients of the dependency

getClientDependencies

public Collection getClientDependencies(Object handle)
Get the client dependencies of some classifier.

Specified by:
getClientDependencies in interface org.argouml.model.Facade
Parameters:
handle - to the classifier.
Returns:
an iterator with all client dependencies.

getCondition

public Object getCondition(Object handle)
Get the condition of an extend.

Specified by:
getCondition in interface org.argouml.model.Facade
Parameters:
handle - The extend.
Returns:
the condition

getConcurrency

public Object getConcurrency(Object handle)
Get the concurrency of an operation.

Specified by:
getConcurrency in interface org.argouml.model.Facade
Parameters:
handle - The operation.
Returns:
the concurrency.

getConnections

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

Specified by:
getConnections in interface org.argouml.model.Facade
Parameters:
handle - to the association or link
Returns:
a Collection with all connections.

getEffect

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

Specified by:
getEffect in interface org.argouml.model.Facade
Parameters:
handle - is the transition
Returns:
the effect

getElementResidences

public Collection getElementResidences(Object handle)
Get the residences of an element.

Specified by:
getElementResidences in interface org.argouml.model.Facade
Parameters:
handle - the model element that we are getting the residences of
Returns:
the residence collection

getElementImports2

public Collection getElementImports2(Object handle)
Returns the ElementImports of this ModelElement.

Specified by:
getElementImports2 in interface org.argouml.model.Facade
Parameters:
handle - the ModelElement
Returns:
the collection of ElementImports

getEntry

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

Specified by:
getEntry in interface org.argouml.model.Facade
Parameters:
handle - is the state
Returns:
the entry

getExit

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

Specified by:
getExit in interface org.argouml.model.Facade
Parameters:
handle - is the state
Returns:
the exit action

getExpression

public Object getExpression(Object handle)
Get the Expression belonging to a Guard, ChangeEvent or timeEvent.

Specified by:
getExpression in interface org.argouml.model.Facade
Parameters:
handle - the Object to get the Expression from
Returns:
Object the Expression

getExtends

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

Specified by:
getExtends in interface org.argouml.model.Facade
Parameters:
handle - is the use case or the extension point
Returns:
the extends

getExtends2

public Collection getExtends2(Object handle)
Returns all extends of a use case.

Specified by:
getExtends2 in interface org.argouml.model.Facade
Parameters:
handle - is the use case
Returns:
the extends

getExtension

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

Specified by:
getExtension in interface org.argouml.model.Facade
Parameters:
handle - is the extend
Returns:
The extension

getExtensionPoint

public Object getExtensionPoint(Object handle,
                                int index)
Returns the Extensionpoint at given index-number.

Specified by:
getExtensionPoint in interface org.argouml.model.Facade
Parameters:
handle - Extend
index - int
Returns:
ExtensionPoint

getExtensionPoints

public Collection getExtensionPoints(Object handle)
Returns all extends of a use case.

Specified by:
getExtensionPoints in interface org.argouml.model.Facade
Parameters:
handle - is the use case or the extend
Returns:
the extends

getFeatures

public Collection getFeatures(Object handle)
The list of Features from a Classifier.

Specified by:
getFeatures in interface org.argouml.model.Facade
Parameters:
handle - Classifier to retrieve from.
Returns:
Collection with Features

getGeneralization

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

Specified by:
getGeneralization in interface org.argouml.model.Facade
Parameters:
handle - is the child
parent - is the parent
Returns:
The generalization

getGeneralizations

public Collection getGeneralizations(Object handle)
The list of Generalizations from a GeneralizableElement.

Specified by:
getGeneralizations in interface org.argouml.model.Facade
Parameters:
handle - GeneralizableElement to retrieve from.
Returns:
Generalizations

getGuard

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

Specified by:
getGuard in interface org.argouml.model.Facade
Parameters:
handle - is the transition
Returns:
Object

getIcon

public Object getIcon(Object handle)
Returns the Icon of a Stereotype.

Specified by:
getIcon in interface org.argouml.model.Facade
Parameters:
handle - the Stereotype to get the Icon from
Returns:
the Icon

getImplementationLocation

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

Specified by:
getImplementationLocation in interface org.argouml.model.Facade
Parameters:
handle - is an element residence
Returns:
component

getIncludes

public Collection getIncludes(Object handle)
Returns the includes for some use case.

Specified by:
getIncludes in interface org.argouml.model.Facade
Parameters:
handle - is the use case
Returns:
the includes as a Collection

getIncludes2

public Collection getIncludes2(Object handle)
Returns the includes for some use case.

Specified by:
getIncludes2 in interface org.argouml.model.Facade
Parameters:
handle - is the use case
Returns:
the includes as a Collection

getIncomings

public Collection getIncomings(Object handle)
Returns the incoming transitions for some statevertex.

Specified by:
getIncomings in interface org.argouml.model.Facade
Parameters:
handle - is the state vertex
Returns:
Collection

getInitialValue

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

Specified by:
getInitialValue in interface org.argouml.model.Facade
Parameters:
handle - is the attribute
Returns:
initial value

getInstance

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

Specified by:
getInstance in interface org.argouml.model.Facade
Parameters:
handle - is the attribute link or link end
Returns:
initial value

getInstances

public Collection getInstances(Object handle)
Returns the Instances for some Clasifier.

Specified by:
getInstances in interface org.argouml.model.Facade
Parameters:
handle - is the classifier
Returns:
Collection

getInStates

public Collection getInStates(Object handle)
Returns the collection of States for some ClasifierInState.

Specified by:
getInStates in interface org.argouml.model.Facade
Parameters:
handle - is the classifierInState
Returns:
Collection

getInteraction

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

Specified by:
getInteraction in interface org.argouml.model.Facade
Parameters:
handle - is the message
Returns:
the interaction

getInteractions

public Collection getInteractions(Object handle)
Returns the interactions belonging to a collaboration.

Specified by:
getInteractions in interface org.argouml.model.Facade
Parameters:
handle - is the collaboration
Returns:
Collection

getInternalTransitions

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

Specified by:
getInternalTransitions in interface org.argouml.model.Facade
Parameters:
handle - is the state
Returns:
Collection

getMessages

public Collection getMessages(Object handle)
Returns the messages belonging to some interaction.

Specified by:
getMessages in interface org.argouml.model.Facade
Parameters:
handle - candidate
Returns:
Collection

getMessages3

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

Specified by:
getMessages3 in interface org.argouml.model.Facade
Parameters:
handle - is the message
Returns:
Collection

getMessages4

public Collection getMessages4(Object handle)
Get the messages that are activated by the given message.

Specified by:
getMessages4 in interface org.argouml.model.Facade
Parameters:
handle - Message
Returns:
the Collection of Messages

getMessages1

public Collection getMessages1(Object handle)
Returns the messages received by the given classifier role.

Specified by:
getMessages1 in interface org.argouml.model.Facade
Parameters:
handle - is the classifier role
Returns:
Collection

getMessages2

public Collection getMessages2(Object handle)
Returns the messages send by the given classifier role.

Specified by:
getMessages2 in interface org.argouml.model.Facade
Parameters:
handle - is the classifier role
Returns:
Collection

getModel

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

Specified by:
getModel in interface org.argouml.model.Facade
Parameters:
handle - to the model element.
Returns:
model for the model element.

getModelElement

public Object getModelElement(Object handle)
Specified by:
getModelElement in interface org.argouml.model.Facade
Parameters:
handle - an Element Import.
Returns:
the model element

getMultiplicity

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

Specified by:
getMultiplicity in interface org.argouml.model.Facade
Parameters:
handle - model element to retrieve from.
Returns:
multiplicity

getRanges

public Iterator getRanges(Object handle)
Get the Ranges from a Multiplicity.

Specified by:
getRanges in interface org.argouml.model.Facade
Parameters:
handle - multiplicity to retrieve from.
Returns:
iterator containing ranges

getComments

public Collection getComments(Object handle)
Get the comments of an element.

Specified by:
getComments in interface org.argouml.model.Facade
Parameters:
handle - the model element that we are getting the comments of
Returns:
the comment (or null)

getAnnotatedElements

public Collection getAnnotatedElements(Object handle)
Get the modelelement that were commented.

Specified by:
getAnnotatedElements in interface org.argouml.model.Facade
Parameters:
handle - the comment that we are getting the model elements of
Returns:
the modelelements (or null)

getCommunicationConnection

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

Specified by:
getCommunicationConnection in interface org.argouml.model.Facade
Parameters:
handle - the message that we are getting the communication connection
Returns:
the communication connection

getCommunicationLink

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

Specified by:
getCommunicationLink in interface org.argouml.model.Facade
Parameters:
handle - the message that we are getting the communication link
Returns:
the communication link

getCollaborations

public Collection getCollaborations(Object handle)
Get the collaborations of an element.

Specified by:
getCollaborations in interface org.argouml.model.Facade
Parameters:
handle - the model element that we are getting the collaborations of.
Returns:
the collaborations

getComponentInstance

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

Specified by:
getComponentInstance in interface org.argouml.model.Facade
Parameters:
handle - is the instance
Returns:
the component instance

getConstrainingElements

public Collection getConstrainingElements(Object handle)
Returns the collection of ConstrainingElements of a Collaboration.

Specified by:
getConstrainingElements in interface org.argouml.model.Facade
Parameters:
handle - the Collaboration
Returns:
the collection of ConstrainingElements

getConstrainedElements

public Collection getConstrainedElements(Object handle)
Returns the collection of ConstrainedElements of a constraint.

Specified by:
getConstrainedElements in interface org.argouml.model.Facade
Parameters:
handle - the Constraint
Returns:
the collection of ConstrainedElements

getConstraints

public Collection getConstraints(Object handle)
Get the collection of all constraints of the given ModelElement.

Specified by:
getConstraints in interface org.argouml.model.Facade
Parameters:
handle - the ModelElement
Returns:
the collection of all constraints

getModelElementContainer

public Object getModelElementContainer(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.

Specified by:
getModelElementContainer in interface org.argouml.model.Facade
Parameters:
handle - is the base
Returns:
Object

getContainer

public Object getContainer(Object handle)
Returns the CompositeState that is the container of the given StateVertex.

Specified by:
getContainer in interface org.argouml.model.Facade
Parameters:
handle - the StateVertex
Returns:
the CompositeState that is the container

getContents

public Collection getContents(Object handle)
Returns the collection of ModelElements contained in a Partition.

Specified by:
getContents in interface org.argouml.model.Facade
Parameters:
handle - the Partition
Returns:
the contents of the Partition

getContext

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

Specified by:
getContext in interface org.argouml.model.Facade
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 Collection getContexts(Object handle)
Return the collection of the Contexts of a given Signal.

Specified by:
getContexts in interface org.argouml.model.Facade
Parameters:
handle - the Signal
Returns:
a collection of the Contexts

getCreateActions

public Collection getCreateActions(Object handle)
Return the collection of Actions that create/instantiate the given Classifier.

Specified by:
getCreateActions in interface org.argouml.model.Facade
Parameters:
handle - the Classifier
Returns:
a collection containing all the creating actions

getDefaultValue

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

Specified by:
getDefaultValue in interface org.argouml.model.Facade
Parameters:
handle - the parameter that we are getting the defaultvalue from
Returns:
the default value

getDeferrableEvents

public Collection getDeferrableEvents(Object handle)
Get deferrable events of a state.

Specified by:
getDeferrableEvents in interface org.argouml.model.Facade
Parameters:
handle - the state that we are getting the deferrable event from
Returns:
the deferrable events collection

getDeploymentLocations

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

Specified by:
getDeploymentLocations in interface org.argouml.model.Facade
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 Object getDiscriminator(Object handle)
Get the discriminator.

Specified by:
getDiscriminator in interface org.argouml.model.Facade
Parameters:
handle - the Generalization
Returns:
the discriminator a String

getDispatchAction

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

Specified by:
getDispatchAction in interface org.argouml.model.Facade
Parameters:
handle - the stimulus that we are getting the dispatchaction of
Returns:
the dispatchaction (or null)

getDoActivity

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

Specified by:
getDoActivity in interface org.argouml.model.Facade
Parameters:
handle - is the state
Returns:
the do activity

getLinks

public Collection getLinks(Object handle)
Return the Links of a given Association.

Specified by:
getLinks in interface org.argouml.model.Facade
Parameters:
handle - the Association
Returns:
the collection of Links

getLinkEnds

public Collection getLinkEnds(Object handle)
Return the LinkEnds of a given Instance or AssociationEnd.

Specified by:
getLinkEnds in interface org.argouml.model.Facade
Parameters:
handle - the candidate
Returns:
the collection of LinkEnds

getLocation

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

Specified by:
getLocation in interface org.argouml.model.Facade
Parameters:
handle - extension point
Returns:
the location

getMethods

public Collection getMethods(Object handle)
Get the methods of an operation.

Specified by:
getMethods in interface org.argouml.model.Facade
Parameters:
handle - the operation that we are getting the methods of
Returns:
methods collection (or null)

getNamespace

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

Specified by:
getNamespace in interface org.argouml.model.Facade
Parameters:
handle - the model element that we are getting the namespace of
Returns:
the namespace (or null)

getNodeInstance

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

Specified by:
getNodeInstance in interface org.argouml.model.Facade
Parameters:
handle - the model element that we are getting the node instance of
Returns:
the node instance

getObjectFlowStates

public Collection getObjectFlowStates(Object handle)
The collection of object flow states.

Specified by:
getObjectFlowStates in interface org.argouml.model.Facade
Parameters:
handle - the classifier
Returns:
collection of object flow states

getOperation

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

Specified by:
getOperation in interface org.argouml.model.Facade
Parameters:
handle - the model element that we are getting the operation of
Returns:
the Operation

getOccurrences

public Collection getOccurrences(Object handle)
Get the occurrences of an operation.

Specified by:
getOccurrences in interface org.argouml.model.Facade
Parameters:
handle - the Opration
Returns:
the collection of occurrences

getOperations

public Collection getOperations(Object handle)
Get the list of operations.

Specified by:
getOperations in interface org.argouml.model.Facade
Parameters:
handle - classifier to examine.
Returns:
Collection with operations.

getOperationsInh

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

Specified by:
getOperationsInh in interface org.argouml.model.Facade
Parameters:
handle - classifier to examine.
Returns:
Iterator with operations.

getOppositeEnd

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

Specified by:
getOppositeEnd in interface org.argouml.model.Facade
Parameters:
handle - is the association end
Returns:
Object the opposite end.

getOrdering

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

Specified by:
getOrdering in interface org.argouml.model.Facade
Parameters:
handle - association end to retrieve from
Returns:
ordering

getOutgoings

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

Specified by:
getOutgoings in interface org.argouml.model.Facade
Parameters:
handle - statevertex
Returns:
Collection

getOtherAssociationEnds

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

Specified by:
getOtherAssociationEnds in interface org.argouml.model.Facade
Parameters:
handle - association end to start from
Returns:
Iterator with all connected association ends.

getOwnedElements

public Collection getOwnedElements(Object handle)
The list of owned elements of the the package.

Specified by:
getOwnedElements in interface org.argouml.model.Facade
Parameters:
handle - package to retrieve from.
Returns:
Iterator with operations

getOwnerScope

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

Specified by:
getOwnerScope in interface org.argouml.model.Facade
Parameters:
handle - feature
Returns:
owner scope

getPowertype

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

Specified by:
getPowertype in interface org.argouml.model.Facade
Parameters:
handle - generalization
Returns:
powertype

getPowertypeRanges

public Collection getPowertypeRanges(Object handle)
Get the powertype ranges of a classifier.

Specified by:
getPowertypeRanges in interface org.argouml.model.Facade
Parameters:
handle - classifier to retrieve from
Returns:
collection of poertype ranges

getPredecessors

public Collection getPredecessors(Object handle)
Get the predecessors of a message.

Specified by:
getPredecessors in interface org.argouml.model.Facade
Parameters:
handle - message to retrieve from
Returns:
collection of predecessors

getQualifiers

public Collection getQualifiers(Object handle)
Get the qualified attributes of an association end.

Specified by:
getQualifiers in interface org.argouml.model.Facade
Parameters:
handle - association end to retrieve from
Returns:
Collection with qualifiers.

hasReturnParameterDirectionKind

public boolean hasReturnParameterDirectionKind(Object handle)
Determine if the passed parameter has a RETURN direction kind.

Specified by:
hasReturnParameterDirectionKind in interface org.argouml.model.Facade
Parameters:
handle - is the parameter
Returns:
true if it is a return direction kind

getPackage

public Object getPackage(Object handle)
Returns the Package that is connected by the given ElementImport.

Specified by:
getPackage in interface org.argouml.model.Facade
Parameters:
handle - the ElementImport
Returns:
the Package

getParameter

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

Specified by:
getParameter in interface org.argouml.model.Facade
Parameters:
handle - behavioral feature to retrieve from
n - parameter number
Returns:
parameter.

getParameters

public Collection getParameters(Object handle)
Get the parameters of a Object Flow State, Behavioral Feature, Classifier or Event.

Specified by:
getParameters in interface org.argouml.model.Facade
Parameters:
handle - operation to retrieve from
Returns:
Iterator with operations.

getParent

public Object getParent(Object handle)
Get the parent of a generalization.

Specified by:
getParent in interface org.argouml.model.Facade
Parameters:
handle - generalization.
Returns:
the parent.

getRaisedSignals

public Collection getRaisedSignals(Object handle)
Returns the raised signals of an operation.

Specified by:
getRaisedSignals in interface org.argouml.model.Facade
Parameters:
handle - is the operation
Returns:
raised signals

getReceptions

public Collection getReceptions(Object handle)
Returns the receptions of a signal.

Specified by:
getReceptions in interface org.argouml.model.Facade
Parameters:
handle - is the signal
Returns:
receptions

getRecurrence

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

Specified by:
getRecurrence in interface org.argouml.model.Facade
Parameters:
handle - is the action.
Returns:
the recurrence

getRepresentedClassifier

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

Specified by:
getRepresentedClassifier in interface org.argouml.model.Facade
Parameters:
handle - is the collaboration
Returns:
represented classifier

getRepresentedOperation

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

Specified by:
getRepresentedOperation in interface org.argouml.model.Facade
Parameters:
handle - is the collaboration
Returns:
represented operation

getScript

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

Specified by:
getScript in interface org.argouml.model.Facade
Parameters:
handle - is the action
Returns:
the script

getSender

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

Specified by:
getSender in interface org.argouml.model.Facade
Parameters:
handle - is the stimulus or message
Returns:
the sender

getSignal

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

Specified by:
getSignal in interface org.argouml.model.Facade
Parameters:
handle - is the object
Returns:
the signal

getResident

public Object getResident(Object handle)
Get the resident element.

Specified by:
getResident in interface org.argouml.model.Facade
Parameters:
handle - is the element residence
Returns:
resident element

getResidentElements

public Collection getResidentElements(Object handle)
Returns the collection of elements in a given component.

Specified by:
getResidentElements in interface org.argouml.model.Facade
Parameters:
handle - the component
Returns:
the Collection of ResidentElements

getResidents

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

Specified by:
getResidents in interface org.argouml.model.Facade
Parameters:
handle - is the node, nodeinstance, componentinstance
Returns:
Collection

getSource

public Object getSource(Object handle)
Gets the source for a given transition.

Specified by:
getSource in interface org.argouml.model.Facade
Parameters:
handle - is the transition
Returns:
Object (MStateVertex)

getSources

public Collection getSources(Object handle)
Gets the source for some given flow.

Specified by:
getSources in interface org.argouml.model.Facade
Parameters:
handle - is the flow
Returns:
Collection

getSourceFlows

public Collection getSourceFlows(Object handle)
Returns the sourceflows of a model element.

Specified by:
getSourceFlows in interface org.argouml.model.Facade
Parameters:
handle - is the model element
Returns:
a collection of sourceflows

getSpecializations

public Collection getSpecializations(Object handle)
The list of Specializations from a GeneralizableElement.

Specified by:
getSpecializations in interface org.argouml.model.Facade
Parameters:
handle - GeneralizableElement to retrieve from.
Returns:
Collection of Specializations.

getStateMachine

public Object getStateMachine(Object handle)
Returns the state machine belonging to some given state or transition If you need to find the StateMachine for an internal transition, or for ANY state, use StateMachinesHelper.getStateMachine() instead.

Specified by:
getStateMachine in interface org.argouml.model.Facade
Parameters:
handle - is the state or transition
Returns:
Object

getState

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

Specified by:
getState in interface org.argouml.model.Facade
Parameters:
handle - is the transition
Returns:
Object

getStates

public Collection getStates(Object handle)
Returns the states from a deferable event.

Specified by:
getStates in interface org.argouml.model.Facade
Parameters:
handle - is the event
Returns:
Object

getStereotypes

public List getStereotypes(Object handle)
Returns the stereotypes belonging to some given model element.

Note! For UML version 1.3 there can only be one stereotype per model element. This means that the returned Collection will only have zero or one elements. Don't write any code that rely on this! Consider it to be a Collection with zero or more elements as it will be in later UML versions.

Specified by:
getStereotypes in interface org.argouml.model.Facade
Parameters:
handle - The model element.
Returns:
a Collection with all stereotypes or empty if none.

getStimuli

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

Specified by:
getStimuli in interface org.argouml.model.Facade
Parameters:
handle - is the link
Returns:
Object

getStimuli2

public Collection getStimuli2(Object handle)
Returns the Stimuli that are received by the given Instance.

Specified by:
getStimuli2 in interface org.argouml.model.Facade
Parameters:
handle - the Instance
Returns:
the collection of stimuli

getStimuli3

public Collection getStimuli3(Object handle)
Returns the Stimuli that are send by the given Instance.

Specified by:
getStimuli3 in interface org.argouml.model.Facade
Parameters:
handle - the Instance
Returns:
the collection of stimuli

getSubvertices

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

Specified by:
getSubvertices in interface org.argouml.model.Facade
Parameters:
handle - is the composite state
Returns:
Collection

getSubmachine

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

Specified by:
getSubmachine in interface org.argouml.model.Facade
Parameters:
handle - is the submachine state
Returns:
submachine

getSubmachineStates

public Collection getSubmachineStates(Object handle)
Returns the submachine of a submachine state.

Specified by:
getSubmachineStates in interface org.argouml.model.Facade
Parameters:
handle - is the submachine state
Returns:
submachine

getSupplierDependencies

public Collection getSupplierDependencies(Object handle)
The list of SupplierDependencies from a ModelElement.

Specified by:
getSupplierDependencies in interface org.argouml.model.Facade
Parameters:
handle - model element.
Returns:
Iterator with the supplier dependencies.

getTop

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

Specified by:
getTop in interface org.argouml.model.Facade
Parameters:
handle - the state machine
Returns:
the top

getTransition

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

Specified by:
getTransition in interface org.argouml.model.Facade
Parameters:
handle - the guard or action
Returns:
the transition

getTrigger

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

Specified by:
getTrigger in interface org.argouml.model.Facade
Parameters:
handle - the transition
Returns:
the trigger

getType

public Object getType(Object handle)
The type of a StructuralFeature, AssociationEnd, Parameter or ObjectFlowState.

Specified by:
getType in interface org.argouml.model.Facade
Parameters:
handle - the StructuralFeature, AssociationEnd, Parameter or ObjectFlowState
Returns:
the type

getTarget

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

Specified by:
getTarget in interface org.argouml.model.Facade
Parameters:
handle - is the transition
Returns:
Object

getTargetScope

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

Specified by:
getTargetScope in interface org.argouml.model.Facade
Parameters:
handle - is the model element
Returns:
Object

getTargetFlows

public Collection getTargetFlows(Object handle)
Returns the targetflows of a model element.

Specified by:
getTargetFlows in interface org.argouml.model.Facade
Parameters:
handle - is the model element
Returns:
a collection of targetflows

getUpper

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

Specified by:
getUpper in interface org.argouml.model.Facade
Parameters:
handle - is the model element
Returns:
int

getUseCase

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

Specified by:
getUseCase in interface org.argouml.model.Facade
Parameters:
handle - is the extension point
Returns:
a use case

getLower

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

Specified by:
getLower in interface org.argouml.model.Facade
Parameters:
handle - is the model element
Returns:
int

getTransitions

public Collection getTransitions(Object handle)
Returns the transitions belonging to the given handle. The handle can be a statemachine or a composite state or an event. 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. If it's an event, all transitions triggered by this event will be given back.

Specified by:
getTransitions in interface org.argouml.model.Facade
Parameters:
handle - is the model element
Returns:
Collection

getStructuralFeatures

public Collection getStructuralFeatures(Object handle)
This method returns all attributes of a given Classifier.

Specified by:
getStructuralFeatures in interface org.argouml.model.Facade
Parameters:
handle - is the classifier you want to have the attributes for.
Returns:
a collection of the attributes

getOperations

protected Collection getOperations(ru.novosoft.uml.foundation.core.MClassifier mclassifier)
This method returns all operations of a given Classifier.

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

getSpecification

public String getSpecification(Object handle)
Returns the Specification of a given Reception.

Specified by:
getSpecification in interface org.argouml.model.Facade
Parameters:
handle - the Reception
Returns:
String the Specification

getSpecifications

public Collection getSpecifications(Object handle)
Returns all Interfaces of which this class is a realization.

Specified by:
getSpecifications in interface org.argouml.model.Facade
Parameters:
handle - the class you want to have the interfaces for
Returns:
a collection of the Interfaces

getSuppliers

public Collection getSuppliers(Object handle)
Returns the suppliers of a dependency.

Specified by:
getSuppliers in interface org.argouml.model.Facade
Parameters:
handle - is the dependency
Returns:
a collection of the suppliers

getAction

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

Specified by:
getAction in interface org.argouml.model.Facade
Parameters:
handle - is the message
Returns:
the action

getActivator

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

Specified by:
getActivator in interface org.argouml.model.Facade
Parameters:
handle - is the message
Returns:
the activator

getActualArguments

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

Specified by:
getActualArguments in interface org.argouml.model.Facade
Parameters:
handle - is the action
Returns:
the actual arguments

getAddition

public Object getAddition(Object handle)
Returns an addition for a given inlcude. There is a bug in NSUML which gets the addition and base relationships back to front for include relationships. Solve reversing their accessors in the code

Specified by:
getAddition in interface org.argouml.model.Facade
Parameters:
handle - is the include
Returns:
the addition

getAggregation

public Object getAggregation(Object handle)
Returns the AggregationKind of a given AssociationEnd.

Specified by:
getAggregation in interface org.argouml.model.Facade
Parameters:
handle - the AssociationEnd
Returns:
the AggregationKind

getAssociatedClasses

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

Specified by:
getAssociatedClasses in interface org.argouml.model.Facade
Parameters:
handle - is the classifier
Returns:
Collection

getName

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

Specified by:
getName in interface org.argouml.model.Facade
Parameters:
handle - that points out the object.
Returns:
the name

getOwner

public Object getOwner(Object handle)
Return the owner of a feature or its association end if it is a qualified attribute.

Specified by:
getOwner in interface org.argouml.model.Facade
Parameters:
handle - is the feature
Returns:
classifier

getTag

public String getTag(Object handle)
Return the tag of a tagged value.

Specified by:
getTag in interface org.argouml.model.Facade
Parameters:
handle - The tagged value belongs to this.
Returns:
The found tag as a String.

getTaggedValues

public Iterator getTaggedValues(Object handle)
Return the tagged values iterator of a model element.

Specified by:
getTaggedValues in interface org.argouml.model.Facade
Parameters:
handle - The tagged values belong to this.
Returns:
The tagged values iterator

getTaggedValuesCollection

public Collection getTaggedValuesCollection(Object handle)
Returns the TaggedValues of a ModelElement.

Specified by:
getTaggedValuesCollection in interface org.argouml.model.Facade
Parameters:
handle - the ModelElement
Returns:
the Collection of TaggedValues

getTaggedValue

public Object getTaggedValue(Object handle,
                             String name)
Return the tagged value with a specific tag.

Specified by:
getTaggedValue in interface org.argouml.model.Facade
Parameters:
handle - The model element the tagged value belongs to.
name - The tag name.
Returns:
The found tag, null if not found

getTaggedValueValue

public String getTaggedValueValue(Object handle,
                                  String name)
Return the value of a tagged value with a specific tag.

Specified by:
getTaggedValueValue in interface org.argouml.model.Facade
Parameters:
handle - The model element that the tagged value belongs to.
name - The tag name.
Returns:
The value of the found tag. "" if not found.

getTagOfTag

public String getTagOfTag(Object handle)
Return the key (tag) of some tagged value. TODO: This does exactly the same as getTag(Object). Remove one of them.

Specified by:
getTagOfTag in interface org.argouml.model.Facade
Parameters:
handle - The tagged value.
Returns:
The found value as String.

getValue

public Object getValue(Object handle)
Returns the Value of some UML Object.

Specified by:
getValue in interface org.argouml.model.Facade
Parameters:
handle - Object
Returns:
Object the exact type depends on the handle type (String, Expression, Instance, TaggedValue...)

getValueOfTag

public String getValueOfTag(Object handle)
Return the value of some tagged value.

Specified by:
getValueOfTag in interface org.argouml.model.Facade
Parameters:
handle - The tagged value.
Returns:
The found value as String.

getUUID

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

Specified by:
getUUID in interface org.argouml.model.Facade
Parameters:
base - base element (MBase type)
Returns:
UUID

getVisibility

public Object getVisibility(Object handle)
Return the visibility of this element.

Specified by:
getVisibility in interface org.argouml.model.Facade
Parameters:
handle - an nsuml model element
Returns:
visibility

getPartitions

public Collection getPartitions(Object container)
Get the partitions from a container.

Specified by:
getPartitions in interface org.argouml.model.Facade
Parameters:
container - The container.
Returns:
The partitions (a collection).

getReferenceState

public String getReferenceState(Object o)
Return the Stub State's referenced state.

Specified by:
getReferenceState in interface org.argouml.model.Facade
Parameters:
o - Stub State
Returns:
referenced state

lookupIn

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

Specified by:
lookupIn in interface org.argouml.model.Facade
Parameters:
handle - the object that we search through
name - of the model element
Returns:
found object, null otherwise

getLanguage

public String getLanguage(Object handle)
Gets the language attribute of an Expression.

Specified by:
getLanguage in interface org.argouml.model.Facade
Parameters:
handle - is the Expression of which the language is retrieved
Returns:
String the language

getUMLClassName

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

Specified by:
getUMLClassName in interface org.argouml.model.Facade
Parameters:
handle - MBase
Returns:
classname of modelelement

emptyCollection

private Collection emptyCollection()
The empty set.

Returns:
an empty collection.

getClassNull

protected String getClassNull(Object handle)
Get a string representation of the class type. Purpose: documenting an exception

Parameters:
handle - the Class or null
Returns:
String

illegalArgument

private void illegalArgument(Object arg)
Method that throws an error when a method is called with an incorrect argument.

Parameters:
arg - is the incorrect argument.

illegalArgumentBoolean

private boolean illegalArgumentBoolean(Object arg)
Method that throws an error when a method is called with an incorrect argument.

Parameters:
arg - is the incorrect argument.
Returns:
a boolean for use in the return statement.

illegalArgumentObject

private Object illegalArgumentObject(Object arg)
Method that throws an error when a method is called with an incorrect argument.

Parameters:
arg - is the incorrect argument.
Returns:
Object for use in the return statement.

illegalArgumentCollection

private Collection illegalArgumentCollection(Object arg)
Method that throws an error when a method is called with an incorrect argument.

Parameters:
arg - is the incorrect argument.
Returns:
Collection for use in the return statement.

illegalArgumentInt

private int illegalArgumentInt(Object arg)
Method that throws an error when a method is called with an incorrect argument.

Parameters:
arg - is the incorrect argument.
Returns:
Int for use in the return statement.

illegalArgumentList

private List illegalArgumentList(Object arg)
Method that throws an error when a method is called with an incorrect argument.

Parameters:
arg - is the incorrect argument.
Returns:
List for use in the return statement.

illegalArgumentString

private String illegalArgumentString(Object arg)
Method that throws an error when a method is called with an incorrect argument.

Parameters:
arg - is the incorrect argument.
Returns:
String for use in the return statement.

illegalArgument

private Object illegalArgument(Object arg1,
                               Object arg2)
Method that throws an error when a method is called with an incorrect argument. At least one of the arguments given is incorrect.

Parameters:
arg1 - is one of the argument, possibly incorrect.
arg2 - is one of the argument, possibly incorrect.
Returns:
Return value is set to Object.

illegalArgumentObject

private Object illegalArgumentObject(Object arg1,
                                     Object arg2)
Method that throws an error when a method is called with an incorrect argument. At least one of the arguments given is incorrect.

Parameters:
arg1 - is one of the argument, possibly incorrect.
arg2 - is one of the argument, possibly incorrect.
Returns:
Object for use in the return statement.


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