|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.argouml.model.uml.NSUMLModelFacade
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:
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 |
private static final Logger LOG
private NSUMLModelImplementation nsmodel
Constructor Detail |
NSUMLModelFacade(NSUMLModelImplementation implementation)
implementation
- To get other helpers and factories.Method Detail |
public boolean isAAbstraction(Object handle)
isAAbstraction
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAAction(Object handle)
isAAction
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAActionExpression(Object handle)
isAActionExpression
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAActionSequence(Object handle)
isAActionSequence
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAActionState(Object handle)
isAActionState
in interface org.argouml.model.Facade
handle
- candidate
public boolean isACallState(Object handle)
isACallState
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAObjectFlowState(Object handle)
isAObjectFlowState
in interface org.argouml.model.Facade
handle
- candidate
public boolean isASubactivityState(Object handle)
isASubactivityState
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAActor(Object handle)
isAActor
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAAggregationKind(Object handle)
isAAggregationKind
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAAssociation(Object handle)
isAAssociation
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAAssociationEnd(Object handle)
isAAssociationEnd
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAAssociationRole(Object handle)
isAAssociationRole
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAAssociationEndRole(Object handle)
isAAssociationEndRole
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAAttribute(Object handle)
isAAttribute
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAsynchronous(Object handle)
isAsynchronous
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAbstract(Object handle)
isAbstract
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAActivityGraph(Object handle)
isAActivityGraph
in interface org.argouml.model.Facade
handle
- candidate
public boolean isABase(Object handle)
isABase
in interface org.argouml.model.Facade
handle
- candidate
public boolean isABehavioralFeature(Object handle)
isABehavioralFeature
in interface org.argouml.model.Facade
handle
- candidate
public boolean isACallAction(Object handle)
isACallAction
in interface org.argouml.model.Facade
handle
- candidate
public boolean isACallEvent(Object handle)
isACallEvent
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAChangeEvent(Object handle)
isAChangeEvent
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAClass(Object handle)
isAClass
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAAssociationClass(Object handle)
isAAssociationClass
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAClassifierAndARelationship(Object handle)
isAClassifierAndARelationship
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAClassifier(Object handle)
isAClassifier
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAClassifierInState(Object handle)
isAClassifierInState
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAClassifierRole(Object handle)
isAClassifierRole
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAComment(Object handle)
isAComment
in interface org.argouml.model.Facade
handle
- candidate
public boolean isACollaboration(Object handle)
isACollaboration
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAComponent(Object handle)
isAComponent
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAComponentInstance(Object handle)
isAComponentInstance
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAConstraint(Object handle)
isAConstraint
in interface org.argouml.model.Facade
handle
- candidate
public boolean isACreateAction(Object handle)
isACreateAction
in interface org.argouml.model.Facade
handle
- candidate
public boolean isADataType(Object handle)
isADataType
in interface org.argouml.model.Facade
handle
- candidate
public boolean isADataValue(Object handle)
isADataValue
in interface org.argouml.model.Facade
handle
- candidate
public boolean isADependency(Object handle)
isADependency
in interface org.argouml.model.Facade
handle
- candidate
public boolean isADestroyAction(Object handle)
isADestroyAction
in interface org.argouml.model.Facade
handle
- candidate
public boolean isACompositeState(Object handle)
isACompositeState
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAElement(Object handle)
isAElement
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAElementImport(Object handle)
isAElementImport
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAElementListener(Object handle)
isAElementListener
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAElementResidence(Object handle)
isAElementResidence
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAEvent(Object handle)
isAEvent
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAException(Object handle)
isAException
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAExpression(Object handle)
isAExpression
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAExtend(Object handle)
isAExtend
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAExtensionPoint(Object handle)
isAExtensionPoint
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAFeature(Object handle)
isAFeature
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAFinalState(Object handle)
isAFinalState
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAFlow(Object handle)
isAFlow
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAGuard(Object handle)
isAGuard
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAGeneralizableElement(Object handle)
isAGeneralizableElement
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAGeneralization(Object handle)
isAGeneralization
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAInclude(Object handle)
isAInclude
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAInstance(Object handle)
isAInstance
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAInteraction(Object handle)
isAInteraction
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAInterface(Object handle)
isAInterface
in interface org.argouml.model.Facade
handle
- candidate
public boolean isALink(Object handle)
isALink
in interface org.argouml.model.Facade
handle
- candidate
public boolean isALinkEnd(Object handle)
isALinkEnd
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAMessage(Object handle)
isAMessage
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAMethod(Object handle)
isAMethod
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAModel(Object handle)
isAModel
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAModelElement(Object handle)
isAModelElement
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAMultiplicity(Object handle)
isAMultiplicity
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAMultiplicityRange(Object handle)
isAMultiplicityRange
in interface org.argouml.model.Facade
handle
- candidate
public boolean isANamespace(Object handle)
isANamespace
in interface org.argouml.model.Facade
handle
- candidate
public boolean isANaryAssociation(Object handle)
isANaryAssociation
in interface org.argouml.model.Facade
handle
- candidate
public boolean isANode(Object handle)
isANode
in interface org.argouml.model.Facade
handle
- candidate
public boolean isANodeInstance(Object handle)
isANodeInstance
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAOperation(Object handle)
isAOperation
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAObject(Object handle)
isAObject
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAParameter(Object handle)
isAParameter
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAPartition(Object handle)
isAPartition
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAPermission(Object handle)
isAPermission
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAPackage(Object handle)
isAPackage
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAPseudostate(Object handle)
isAPseudostate
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAPseudostateKind(Object handle)
isAPseudostateKind
in interface org.argouml.model.Facade
handle
- candidate
public Object getPseudostateKind(Object handle)
getPseudostateKind
in interface org.argouml.model.Facade
handle
- the Pseudostate
public Object getKind(Object handle)
getKind
in interface org.argouml.model.Facade
handle
- the Pseudostate or Parameter
public Object getReceiver(Object handle)
getReceiver
in interface org.argouml.model.Facade
handle
- candidate
public Object getLink(Object handle)
getLink
in interface org.argouml.model.Facade
handle
- the LinkEnd
public boolean equalsPseudostateKind(Object ps1, Object ps2)
equalsPseudostateKind
in interface org.argouml.model.Facade
ps1
- one kindps2
- one kind
public boolean isAReception(Object handle)
isAReception
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAReturnAction(Object handle)
isAReturnAction
in interface org.argouml.model.Facade
handle
- candidate
public boolean isARelationship(Object handle)
isARelationship
in interface org.argouml.model.Facade
handle
- candidate
public boolean isASendAction(Object handle)
isASendAction
in interface org.argouml.model.Facade
handle
- candidate
public boolean isASignal(Object handle)
isASignal
in interface org.argouml.model.Facade
handle
- candidate
public boolean isASignalEvent(Object handle)
isASignalEvent
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAStateMachine(Object handle)
isAStateMachine
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAStimulus(Object handle)
isAStimulus
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAStateVertex(Object handle)
isAStateVertex
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAStereotype(Object handle)
isAStereotype
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAStructuralFeature(Object handle)
isAStructuralFeature
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAState(Object handle)
isAState
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAStubState(Object handle)
isAStubState
in interface org.argouml.model.Facade
handle
- candidate
public boolean isASubmachineState(Object handle)
isASubmachineState
in interface org.argouml.model.Facade
handle
- candidate
public boolean isASubsystem(Object handle)
isASubsystem
in interface org.argouml.model.Facade
handle
- candidate
public boolean isASynchState(Object handle)
isASynchState
in interface org.argouml.model.Facade
handle
- candidate
public boolean isATaggedValue(Object handle)
isATaggedValue
in interface org.argouml.model.Facade
handle
- candidate
public boolean isATransition(Object handle)
isATransition
in interface org.argouml.model.Facade
handle
- candidate
public boolean isATimeEvent(Object handle)
isATimeEvent
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAUsage(Object handle)
isAUsage
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAUseCase(Object handle)
isAUseCase
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAVisibilityKind(Object handle)
isAVisibilityKind
in interface org.argouml.model.Facade
handle
- candidate
public boolean isActive(Object handle)
isActive
in interface org.argouml.model.Facade
handle
- candidate
public boolean isChangeable(Object handle)
isChangeable
in interface org.argouml.model.Facade
handle
- candidate
public boolean isClassifierScope(Object handle)
isClassifierScope
in interface org.argouml.model.Facade
handle
- candidate
public boolean isConcurent(Object handle)
isConcurent
in interface org.argouml.model.Facade
handle
- composite state
public boolean isConcurrent(Object handle)
isConcurrent
in interface org.argouml.model.Facade
handle
- composite state
public boolean isAConcurrentRegion(Object handle)
isAConcurrentRegion
in interface org.argouml.model.Facade
handle
- candidate
public boolean isConstructor(Object handle)
isConstructor
in interface org.argouml.model.Facade
Facade.isConstructor(java.lang.Object)
public boolean isFrozen(Object handle)
isFrozen
in interface org.argouml.model.Facade
handle
- candidate
public boolean isComposite(Object handle)
isComposite
in interface org.argouml.model.Facade
handle
- candidate
public boolean isAggregate(Object handle)
isAggregate
in interface org.argouml.model.Facade
handle
- candidate
public boolean isInitialized(Object handle)
isInitialized
in interface org.argouml.model.Facade
handle
- candidate
public boolean isInstanceScope(Object handle)
isInstanceScope
in interface org.argouml.model.Facade
handle
- candidate
public boolean isInternal(Object handle)
isInternal
in interface org.argouml.model.Facade
handle
- candidate
public boolean isLeaf(Object handle)
isLeaf
in interface org.argouml.model.Facade
handle
- candidate GeneralizableElement
public boolean isRoot(Object handle)
isRoot
in interface org.argouml.model.Facade
handle
- candidate GeneralizableElement
public boolean isSpecification(Object handle)
isSpecification
in interface org.argouml.model.Facade
handle
- candidate ModelElement
public boolean isNavigable(Object handle)
isNavigable
in interface org.argouml.model.Facade
handle
- candidate
public boolean isPrimaryObject(Object handle)
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.
isPrimaryObject
in interface org.argouml.model.Facade
handle
- candidate
public boolean isPrivate(Object handle)
isPrivate
in interface org.argouml.model.Facade
handle
- candidate
public boolean isPublic(Object handle)
isPublic
in interface org.argouml.model.Facade
handle
- candidate
public boolean isQuery(Object handle)
isQuery
in interface org.argouml.model.Facade
handle
- candidate
public boolean isProtected(Object handle)
isProtected
in interface org.argouml.model.Facade
handle
- candidate
public boolean isRealize(Object handle)
isRealize
in interface org.argouml.model.Facade
handle
- candidate
public boolean isReturn(Object handle)
isReturn
in interface org.argouml.model.Facade
handle
- candidate parameter
public boolean isSingleton(Object handle)
isSingleton
in interface org.argouml.model.Facade
handle
- candidate
public boolean isStereotype(Object handle, String stereotypename)
isStereotype
in interface org.argouml.model.Facade
handle
- candidate model elementstereotypename
- a string that is the stereotype name.
public boolean isTop(Object handle)
isTop
in interface org.argouml.model.Facade
handle
- CompositeState
public boolean isType(Object handle)
isType
in interface org.argouml.model.Facade
handle
- candidate
public boolean isUtility(Object handle)
isUtility
in interface org.argouml.model.Facade
handle
- candidate
public Object getAssociation(Object handle)
getAssociation
in interface org.argouml.model.Facade
handle
- is the link
public Object getAssociationEnd(Object handle, Object assoc)
getAssociationEnd
in interface org.argouml.model.Facade
handle
- is the classifierassoc
- is the association
public Collection getAssociationEnds(Object handle)
getAssociationEnds
in interface org.argouml.model.Facade
handle
- the object that we get the association ends from.
public Collection getAssociationRoles(Object handle)
getAssociationRoles
in interface org.argouml.model.Facade
handle
- the object that we get the association roles from.
public Collection getAttributes(Object handle)
getAttributes
in interface org.argouml.model.Facade
handle
- classifier to examine.
public Object getBaseClass(Object handle)
getBaseClass
in interface org.argouml.model.Facade
handle
- the stereotype
public Object getBase(Object handle)
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.
getBase
in interface org.argouml.model.Facade
handle
- the model element
public Collection getBases(Object handle)
getBases
in interface org.argouml.model.Facade
handle
- classifier role.
public Collection getBehaviors(Object handle)
getBehaviors
in interface org.argouml.model.Facade
handle
- modelelement to examine.
public Object getBehavioralFeature(Object handle)
getBehavioralFeature
in interface org.argouml.model.Facade
handle
- expression.
public Object getBody(Object handle)
getBody
in interface org.argouml.model.Facade
handle
- expression.
public int getBound(Object handle)
getBound
in interface org.argouml.model.Facade
handle
- the synch State
public Object getChangeability(Object handle)
getChangeability
in interface org.argouml.model.Facade
handle
- the StructuralFeature or AssociationEnd
public Object getChild(Object handle)
getChild
in interface org.argouml.model.Facade
handle
- generalization.
public Collection getChildren(Object handle)
getChildren
in interface org.argouml.model.Facade
handle
- to the generalizable element.
public Collection getClassifierRoles(Object handle)
getClassifierRoles
in interface org.argouml.model.Facade
handle
- the model element
public Object getClassifier(Object handle)
getClassifier
in interface org.argouml.model.Facade
handle
- The Association End to get from.
public Collection getClassifiers(Object handle)
getClassifiers
in interface org.argouml.model.Facade
handle
- the instance
public Collection getClassifiersInState(Object handle)
getClassifiersInState
in interface org.argouml.model.Facade
handle
- the model element
public Collection getClients(Object handle)
getClients
in interface org.argouml.model.Facade
handle
- the dependency
public Collection getClientDependencies(Object handle)
getClientDependencies
in interface org.argouml.model.Facade
handle
- to the classifier.
public Object getCondition(Object handle)
getCondition
in interface org.argouml.model.Facade
handle
- The extend.
public Object getConcurrency(Object handle)
getConcurrency
in interface org.argouml.model.Facade
handle
- The operation.
public Collection getConnections(Object handle)
getConnections
in interface org.argouml.model.Facade
handle
- to the association or link
public Object getEffect(Object handle)
getEffect
in interface org.argouml.model.Facade
handle
- is the transition
public Collection getElementResidences(Object handle)
getElementResidences
in interface org.argouml.model.Facade
handle
- the model element that we are getting the residences of
public Collection getElementImports2(Object handle)
getElementImports2
in interface org.argouml.model.Facade
handle
- the ModelElement
public Object getEntry(Object handle)
getEntry
in interface org.argouml.model.Facade
handle
- is the state
public Object getExit(Object handle)
getExit
in interface org.argouml.model.Facade
handle
- is the state
public Object getExpression(Object handle)
getExpression
in interface org.argouml.model.Facade
handle
- the Object to get the Expression from
public Collection getExtends(Object handle)
getExtends
in interface org.argouml.model.Facade
handle
- is the use case or the extension point
public Collection getExtends2(Object handle)
getExtends2
in interface org.argouml.model.Facade
handle
- is the use case
public Object getExtension(Object handle)
getExtension
in interface org.argouml.model.Facade
handle
- is the extend
public Object getExtensionPoint(Object handle, int index)
getExtensionPoint
in interface org.argouml.model.Facade
handle
- Extendindex
- int
public Collection getExtensionPoints(Object handle)
getExtensionPoints
in interface org.argouml.model.Facade
handle
- is the use case or the extend
public Collection getFeatures(Object handle)
getFeatures
in interface org.argouml.model.Facade
handle
- Classifier to retrieve from.
public Object getGeneralization(Object handle, Object parent)
getGeneralization
in interface org.argouml.model.Facade
handle
- is the childparent
- is the parent
public Collection getGeneralizations(Object handle)
getGeneralizations
in interface org.argouml.model.Facade
handle
- GeneralizableElement to retrieve from.
public Object getGuard(Object handle)
getGuard
in interface org.argouml.model.Facade
handle
- is the transition
public Object getIcon(Object handle)
getIcon
in interface org.argouml.model.Facade
handle
- the Stereotype to get the Icon from
public Object getImplementationLocation(Object handle)
getImplementationLocation
in interface org.argouml.model.Facade
handle
- is an element residence
public Collection getIncludes(Object handle)
getIncludes
in interface org.argouml.model.Facade
handle
- is the use case
public Collection getIncludes2(Object handle)
getIncludes2
in interface org.argouml.model.Facade
handle
- is the use case
public Collection getIncomings(Object handle)
getIncomings
in interface org.argouml.model.Facade
handle
- is the state vertex
public Object getInitialValue(Object handle)
getInitialValue
in interface org.argouml.model.Facade
handle
- is the attribute
public Object getInstance(Object handle)
getInstance
in interface org.argouml.model.Facade
handle
- is the attribute link or link end
public Collection getInstances(Object handle)
getInstances
in interface org.argouml.model.Facade
handle
- is the classifier
public Collection getInStates(Object handle)
getInStates
in interface org.argouml.model.Facade
handle
- is the classifierInState
public Object getInteraction(Object handle)
getInteraction
in interface org.argouml.model.Facade
handle
- is the message
public Collection getInteractions(Object handle)
getInteractions
in interface org.argouml.model.Facade
handle
- is the collaboration
public Collection getInternalTransitions(Object handle)
getInternalTransitions
in interface org.argouml.model.Facade
handle
- is the state
public Collection getMessages(Object handle)
getMessages
in interface org.argouml.model.Facade
handle
- candidate
public Collection getMessages3(Object handle)
getMessages3
in interface org.argouml.model.Facade
handle
- is the message
public Collection getMessages4(Object handle)
getMessages4
in interface org.argouml.model.Facade
handle
- Message
public Collection getMessages1(Object handle)
getMessages1
in interface org.argouml.model.Facade
handle
- is the classifier role
public Collection getMessages2(Object handle)
getMessages2
in interface org.argouml.model.Facade
handle
- is the classifier role
public Object getModel(Object handle)
getModel
in interface org.argouml.model.Facade
handle
- to the model element.
public Object getModelElement(Object handle)
getModelElement
in interface org.argouml.model.Facade
handle
- an Element Import.
public Object getMultiplicity(Object handle)
getMultiplicity
in interface org.argouml.model.Facade
handle
- model element to retrieve from.
public Iterator getRanges(Object handle)
getRanges
in interface org.argouml.model.Facade
handle
- multiplicity to retrieve from.
public Collection getComments(Object handle)
getComments
in interface org.argouml.model.Facade
handle
- the model element that we are getting the comments of
public Collection getAnnotatedElements(Object handle)
getAnnotatedElements
in interface org.argouml.model.Facade
handle
- the comment that we are getting the model elements of
public Object getCommunicationConnection(Object handle)
getCommunicationConnection
in interface org.argouml.model.Facade
handle
- the message that we are getting the communication
connection
public Object getCommunicationLink(Object handle)
getCommunicationLink
in interface org.argouml.model.Facade
handle
- the message that we are getting the communication link
public Collection getCollaborations(Object handle)
getCollaborations
in interface org.argouml.model.Facade
handle
- the model element that we are getting the
collaborations of.
public Object getComponentInstance(Object handle)
getComponentInstance
in interface org.argouml.model.Facade
handle
- is the instance
public Collection getConstrainingElements(Object handle)
getConstrainingElements
in interface org.argouml.model.Facade
handle
- the Collaboration
public Collection getConstrainedElements(Object handle)
getConstrainedElements
in interface org.argouml.model.Facade
handle
- the Constraint
public Collection getConstraints(Object handle)
getConstraints
in interface org.argouml.model.Facade
handle
- the ModelElement
public Object getModelElementContainer(Object handle)
In the future, this function could return the container of Figs too.
getModelElementContainer
in interface org.argouml.model.Facade
handle
- is the base
public Object getContainer(Object handle)
getContainer
in interface org.argouml.model.Facade
handle
- the StateVertex
public Collection getContents(Object handle)
getContents
in interface org.argouml.model.Facade
handle
- the Partition
public Object getContext(Object handle)
getContext
in interface org.argouml.model.Facade
handle
- the statemachine or the interaction
public Collection getContexts(Object handle)
getContexts
in interface org.argouml.model.Facade
handle
- the Signal
public Collection getCreateActions(Object handle)
getCreateActions
in interface org.argouml.model.Facade
handle
- the Classifier
public Object getDefaultValue(Object handle)
getDefaultValue
in interface org.argouml.model.Facade
handle
- the parameter that we are getting the defaultvalue from
public Collection getDeferrableEvents(Object handle)
getDeferrableEvents
in interface org.argouml.model.Facade
handle
- the state that we are getting the deferrable event from
public Collection getDeploymentLocations(Object handle)
getDeploymentLocations
in interface org.argouml.model.Facade
handle
- the statemachine or the interaction
public Object getDiscriminator(Object handle)
getDiscriminator
in interface org.argouml.model.Facade
handle
- the Generalization
public Object getDispatchAction(Object handle)
getDispatchAction
in interface org.argouml.model.Facade
handle
- the stimulus that we are getting the dispatchaction of
public Object getDoActivity(Object handle)
getDoActivity
in interface org.argouml.model.Facade
handle
- is the state
public Collection getLinks(Object handle)
getLinks
in interface org.argouml.model.Facade
handle
- the Association
public Collection getLinkEnds(Object handle)
getLinkEnds
in interface org.argouml.model.Facade
handle
- the candidate
public String getLocation(Object handle)
getLocation
in interface org.argouml.model.Facade
handle
- extension point
public Collection getMethods(Object handle)
getMethods
in interface org.argouml.model.Facade
handle
- the operation that we are getting the methods of
public Object getNamespace(Object handle)
getNamespace
in interface org.argouml.model.Facade
handle
- the model element that we are getting the namespace of
public Object getNodeInstance(Object handle)
getNodeInstance
in interface org.argouml.model.Facade
handle
- the model element that we are getting the node instance of
public Collection getObjectFlowStates(Object handle)
getObjectFlowStates
in interface org.argouml.model.Facade
handle
- the classifier
public Object getOperation(Object handle)
getOperation
in interface org.argouml.model.Facade
handle
- the model element that we are getting the operation of
public Collection getOccurrences(Object handle)
getOccurrences
in interface org.argouml.model.Facade
handle
- the Opration
public Collection getOperations(Object handle)
getOperations
in interface org.argouml.model.Facade
handle
- classifier to examine.
public Iterator getOperationsInh(Object handle)
getOperationsInh
in interface org.argouml.model.Facade
handle
- classifier to examine.
public Object getOppositeEnd(Object handle)
getOppositeEnd
in interface org.argouml.model.Facade
handle
- is the association end
public Object getOrdering(Object handle)
getOrdering
in interface org.argouml.model.Facade
handle
- association end to retrieve from
public Collection getOutgoings(Object handle)
getOutgoings
in interface org.argouml.model.Facade
handle
- statevertex
public Collection getOtherAssociationEnds(Object handle)
getOtherAssociationEnds
in interface org.argouml.model.Facade
handle
- association end to start from
public Collection getOwnedElements(Object handle)
getOwnedElements
in interface org.argouml.model.Facade
handle
- package to retrieve from.
public Object getOwnerScope(Object handle)
getOwnerScope
in interface org.argouml.model.Facade
handle
- feature
public Object getPowertype(Object handle)
getPowertype
in interface org.argouml.model.Facade
handle
- generalization
public Collection getPowertypeRanges(Object handle)
getPowertypeRanges
in interface org.argouml.model.Facade
handle
- classifier to retrieve from
public Collection getPredecessors(Object handle)
getPredecessors
in interface org.argouml.model.Facade
handle
- message to retrieve from
public Collection getQualifiers(Object handle)
getQualifiers
in interface org.argouml.model.Facade
handle
- association end to retrieve from
public boolean hasReturnParameterDirectionKind(Object handle)
hasReturnParameterDirectionKind
in interface org.argouml.model.Facade
handle
- is the parameter
public Object getPackage(Object handle)
getPackage
in interface org.argouml.model.Facade
handle
- the ElementImport
public Object getParameter(Object handle, int n)
getParameter
in interface org.argouml.model.Facade
handle
- behavioral feature to retrieve fromn
- parameter number
public Collection getParameters(Object handle)
getParameters
in interface org.argouml.model.Facade
handle
- operation to retrieve from
public Object getParent(Object handle)
getParent
in interface org.argouml.model.Facade
handle
- generalization.
public Collection getRaisedSignals(Object handle)
getRaisedSignals
in interface org.argouml.model.Facade
handle
- is the operation
public Collection getReceptions(Object handle)
getReceptions
in interface org.argouml.model.Facade
handle
- is the signal
public Object getRecurrence(Object handle)
getRecurrence
in interface org.argouml.model.Facade
handle
- is the action.
public Object getRepresentedClassifier(Object handle)
getRepresentedClassifier
in interface org.argouml.model.Facade
handle
- is the collaboration
public Object getRepresentedOperation(Object handle)
getRepresentedOperation
in interface org.argouml.model.Facade
handle
- is the collaboration
public Object getScript(Object handle)
getScript
in interface org.argouml.model.Facade
handle
- is the action
public Object getSender(Object handle)
getSender
in interface org.argouml.model.Facade
handle
- is the stimulus or message
public Object getSignal(Object handle)
getSignal
in interface org.argouml.model.Facade
handle
- is the object
public Object getResident(Object handle)
getResident
in interface org.argouml.model.Facade
handle
- is the element residence
public Collection getResidentElements(Object handle)
getResidentElements
in interface org.argouml.model.Facade
handle
- the component
public Collection getResidents(Object handle)
getResidents
in interface org.argouml.model.Facade
handle
- is the node, nodeinstance, componentinstance
public Object getSource(Object handle)
getSource
in interface org.argouml.model.Facade
handle
- is the transition
public Collection getSources(Object handle)
getSources
in interface org.argouml.model.Facade
handle
- is the flow
public Collection getSourceFlows(Object handle)
getSourceFlows
in interface org.argouml.model.Facade
handle
- is the model element
public Collection getSpecializations(Object handle)
getSpecializations
in interface org.argouml.model.Facade
handle
- GeneralizableElement to retrieve from.
public Object getStateMachine(Object handle)
getStateMachine
in interface org.argouml.model.Facade
handle
- is the state or transition
public Object getState(Object handle)
getState
in interface org.argouml.model.Facade
handle
- is the transition
public Collection getStates(Object handle)
getStates
in interface org.argouml.model.Facade
handle
- is the event
public List getStereotypes(Object handle)
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.
getStereotypes
in interface org.argouml.model.Facade
handle
- The model element.
public Collection getStimuli(Object handle)
getStimuli
in interface org.argouml.model.Facade
handle
- is the link
public Collection getStimuli2(Object handle)
getStimuli2
in interface org.argouml.model.Facade
handle
- the Instance
public Collection getStimuli3(Object handle)
getStimuli3
in interface org.argouml.model.Facade
handle
- the Instance
public Collection getSubvertices(Object handle)
getSubvertices
in interface org.argouml.model.Facade
handle
- is the composite state
public Object getSubmachine(Object handle)
getSubmachine
in interface org.argouml.model.Facade
handle
- is the submachine state
public Collection getSubmachineStates(Object handle)
getSubmachineStates
in interface org.argouml.model.Facade
handle
- is the submachine state
public Collection getSupplierDependencies(Object handle)
getSupplierDependencies
in interface org.argouml.model.Facade
handle
- model element.
public Object getTop(Object handle)
getTop
in interface org.argouml.model.Facade
handle
- the state machine
public Object getTransition(Object handle)
getTransition
in interface org.argouml.model.Facade
handle
- the guard or action
public Object getTrigger(Object handle)
getTrigger
in interface org.argouml.model.Facade
handle
- the transition
public Object getType(Object handle)
getType
in interface org.argouml.model.Facade
handle
- the StructuralFeature, AssociationEnd, Parameter or
ObjectFlowState
public Object getTarget(Object handle)
getTarget
in interface org.argouml.model.Facade
handle
- is the transition
public Object getTargetScope(Object handle)
getTargetScope
in interface org.argouml.model.Facade
handle
- is the model element
public Collection getTargetFlows(Object handle)
getTargetFlows
in interface org.argouml.model.Facade
handle
- is the model element
public int getUpper(Object handle)
getUpper
in interface org.argouml.model.Facade
handle
- is the model element
public Object getUseCase(Object handle)
getUseCase
in interface org.argouml.model.Facade
handle
- is the extension point
public int getLower(Object handle)
getLower
in interface org.argouml.model.Facade
handle
- is the model element
public Collection getTransitions(Object handle)
getTransitions
in interface org.argouml.model.Facade
handle
- is the model element
public Collection getStructuralFeatures(Object handle)
getStructuralFeatures
in interface org.argouml.model.Facade
handle
- is the classifier you want to have the attributes for.
protected Collection getOperations(ru.novosoft.uml.foundation.core.MClassifier mclassifier)
mclassifier
- the classifier you want to have the operations for
public String getSpecification(Object handle)
getSpecification
in interface org.argouml.model.Facade
handle
- the Reception
public Collection getSpecifications(Object handle)
getSpecifications
in interface org.argouml.model.Facade
handle
- the class you want to have the interfaces for
public Collection getSuppliers(Object handle)
getSuppliers
in interface org.argouml.model.Facade
handle
- is the dependency
public Object getAction(Object handle)
getAction
in interface org.argouml.model.Facade
handle
- is the message
public Object getActivator(Object handle)
getActivator
in interface org.argouml.model.Facade
handle
- is the message
public Collection getActualArguments(Object handle)
getActualArguments
in interface org.argouml.model.Facade
handle
- is the action
public Object getAddition(Object handle)
getAddition
in interface org.argouml.model.Facade
handle
- is the include
public Object getAggregation(Object handle)
getAggregation
in interface org.argouml.model.Facade
handle
- the AssociationEnd
public Collection getAssociatedClasses(Object handle)
getAssociatedClasses
in interface org.argouml.model.Facade
handle
- is the classifier
public String getName(Object handle)
getName
in interface org.argouml.model.Facade
handle
- that points out the object.
public Object getOwner(Object handle)
getOwner
in interface org.argouml.model.Facade
handle
- is the feature
public String getTag(Object handle)
getTag
in interface org.argouml.model.Facade
handle
- The tagged value belongs to this.
public Iterator getTaggedValues(Object handle)
getTaggedValues
in interface org.argouml.model.Facade
handle
- The tagged values belong to this.
public Collection getTaggedValuesCollection(Object handle)
getTaggedValuesCollection
in interface org.argouml.model.Facade
handle
- the ModelElement
public Object getTaggedValue(Object handle, String name)
getTaggedValue
in interface org.argouml.model.Facade
handle
- The model element the tagged value belongs to.name
- The tag name.
public String getTaggedValueValue(Object handle, String name)
getTaggedValueValue
in interface org.argouml.model.Facade
handle
- The model element that the tagged value belongs to.name
- The tag name.
public String getTagOfTag(Object handle)
getTagOfTag
in interface org.argouml.model.Facade
handle
- The tagged value.
public Object getValue(Object handle)
getValue
in interface org.argouml.model.Facade
handle
- Object
public String getValueOfTag(Object handle)
getValueOfTag
in interface org.argouml.model.Facade
handle
- The tagged value.
public String getUUID(Object base)
getUUID
in interface org.argouml.model.Facade
base
- base element (MBase type)
public Object getVisibility(Object handle)
getVisibility
in interface org.argouml.model.Facade
handle
- an nsuml model element
public Collection getPartitions(Object container)
getPartitions
in interface org.argouml.model.Facade
container
- The container.
public String getReferenceState(Object o)
getReferenceState
in interface org.argouml.model.Facade
o
- Stub State
public Object lookupIn(Object handle, String name)
lookupIn
in interface org.argouml.model.Facade
handle
- the object that we search throughname
- of the model element
public String getLanguage(Object handle)
getLanguage
in interface org.argouml.model.Facade
handle
- is the Expression of which the language is retrieved
public String getUMLClassName(Object handle)
getUMLClassName
in interface org.argouml.model.Facade
handle
- MBase
private Collection emptyCollection()
protected String getClassNull(Object handle)
handle
- the Class or null
private void illegalArgument(Object arg)
arg
- is the incorrect argument.private boolean illegalArgumentBoolean(Object arg)
arg
- is the incorrect argument.
private Object illegalArgumentObject(Object arg)
arg
- is the incorrect argument.
private Collection illegalArgumentCollection(Object arg)
arg
- is the incorrect argument.
private int illegalArgumentInt(Object arg)
arg
- is the incorrect argument.
private List illegalArgumentList(Object arg)
arg
- is the incorrect argument.
private String illegalArgumentString(Object arg)
arg
- is the incorrect argument.
private Object illegalArgument(Object arg1, Object arg2)
arg1
- is one of the argument, possibly incorrect.arg2
- is one of the argument, possibly incorrect.
private Object illegalArgumentObject(Object arg1, Object arg2)
arg1
- is one of the argument, possibly incorrect.arg2
- is one of the argument, possibly incorrect.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20050222) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |