|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface 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:
Field Summary | |
---|---|
static java.lang.String |
DERIVED_TAG
Tag which indicates a ModelElement is derived. |
static java.lang.String |
GENERATED_TAG
This tag is set on elements that are generated by reference when importing. |
Method Summary | |
---|---|
boolean |
equalsPseudostateKind(java.lang.Object ps1,
java.lang.Object ps2)
Check whether two pseudostatekinds are equal/of the same type. |
java.lang.Object |
getAction(java.lang.Object handle)
Returns the action belonging to some message or argument. |
java.util.List |
getActions(java.lang.Object handle)
Get the list of Actions in an ActionSequence. |
java.lang.Object |
getActionSequence(java.lang.Object handle)
Get the ActionSequence, if any, that owns this Action. |
java.util.Collection |
getActivatedMessages(java.lang.Object handle)
Return the Messages that are activated by the given Message. |
java.lang.Object |
getActivator(java.lang.Object handle)
Return the activator belonging to some message. |
java.lang.Object |
getActivity(java.lang.Object handle)
Return the Activity of an ActivityNode (UML2 only). |
java.lang.Object |
getActivityGraph(java.lang.Object handle)
Return the activityGraph of the given partition. |
java.util.List |
getActualArguments(java.lang.Object handle)
Return the actual arguments for a given action. |
java.lang.Object |
getAddition(java.lang.Object handle)
Return an addition for a given include. |
java.lang.Object |
getAggregation(java.lang.Object handle)
Return the AggregationKind of a given AssociationEnd. |
java.lang.Object |
getAggregation1(java.lang.Object handle)
Return the AggregationKind of a given AssociationEnd. |
java.lang.Object |
getAggregation2(java.lang.Object handle)
Return the AggregationKind of a given AssociationEnd. |
java.lang.String |
getAlias(java.lang.Object handle)
Return the alias of an ElementImport. |
java.util.Collection |
getAnnotatedElements(java.lang.Object handle)
Get the ModelElements (annotatedElements) which are annotated by a Comment. |
java.util.List |
getArguments(java.lang.Object handle)
Get the list of TemplateArguments associated with a Binding. |
java.util.Collection |
getAssociatedClasses(java.lang.Object handle)
Return all associated classes (classes connected by an Association) for some given classifier. |
java.lang.Object |
getAssociation(java.lang.Object handle)
Returns the Association connected to an AssociationEnd or belonging to the given Link. |
java.lang.Object |
getAssociationEnd(java.lang.Object classifier,
java.lang.Object association)
Return the AssociationEnd connecting the given Classifier and Association. |
java.util.Collection |
getAssociationEnds(java.lang.Object handle)
Return the collection of AssociationEnds for a Classifier |
java.util.Collection |
getAssociationRoles(java.lang.Object handle)
Return the collection of AssociationRoles for an Association. |
java.util.Collection |
getAssociations(java.lang.Object handle)
Returns the Associations connected to a Classifer. |
java.util.List |
getAttributes(java.lang.Object handle)
Return the List of Attributes for a Classifier. |
java.lang.Object |
getBase(java.lang.Object handle)
Return the base of a ModelElement. |
java.util.Collection<java.lang.String> |
getBaseClasses(java.lang.Object handle)
Return the Collection of the names of baseClasses for a Stereotype. |
java.util.Collection |
getBases(java.lang.Object handle)
Get the bases of a ClassifierRole. |
java.lang.Object |
getBehavioralFeature(java.lang.Object handle)
Get the BehavioralFeature of a Parameter. |
java.util.Collection |
getBehaviors(java.lang.Object handle)
Get the StateMachines which define the behaviors of a Modelelement. |
java.lang.Object |
getBinding(java.lang.Object handle)
Return the Binding associated with a TemplateArgument. |
java.lang.Object |
getBody(java.lang.Object handle)
Get the body of a Method, Constraint, Expression, or Comment. |
int |
getBound(java.lang.Object handle)
Return the SynchState's bound. |
java.lang.Object |
getChangeability(java.lang.Object handle)
Deprecated. for 0.25.4 by tfmorris. Use isReadOnly(Object) . |
java.lang.Object |
getChangeExpression(java.lang.Object target)
|
java.util.Collection |
getChildren(java.lang.Object handle)
Get the children of a GeneralizableElement. |
java.lang.Object |
getClassifier(java.lang.Object handle)
Get the classifier (participant) of an AssociationEnd. |
java.util.Collection |
getClassifierRoles(java.lang.Object handle)
Get the ClassifierRoles of a Classifier or Feature. |
java.util.Collection |
getClassifiers(java.lang.Object handle)
Get the classifiers of an Instance. |
java.util.Collection |
getClassifiersInState(java.lang.Object handle)
Get the classifiers in state of a Classifier or State. |
java.util.Collection |
getClientDependencies(java.lang.Object handle)
Get the client dependencies of a ModelElement (i.e. |
java.util.Collection |
getClients(java.lang.Object handle)
Get the clients of a Dependency. |
java.util.Collection |
getCollaborations(java.lang.Object handle)
Get the collaborations for a Classifier or Operation. |
java.util.Collection |
getComments(java.lang.Object handle)
Get the Comments which annotate a ModelElement. |
java.lang.Object |
getCommunicationConnection(java.lang.Object handle)
Get the communicationConnection of a Message. |
java.lang.Object |
getCommunicationLink(java.lang.Object handle)
Get the communicationLink of a Stimulus. |
java.lang.Object |
getComponentInstance(java.lang.Object handle)
Get the componentInstance of an Instance. |
java.lang.Object |
getConcurrency(java.lang.Object handle)
Get the concurrency of an Operation. |
java.lang.Object |
getCondition(java.lang.Object handle)
Get the condition of an Extend. |
java.util.Collection |
getConnections(java.lang.Object handle)
Return the connections to an Association or a Link. |
java.util.List |
getConstrainedElements(java.lang.Object handle)
Return the constrainedElements of a Constraint. |
java.util.Collection |
getConstrainingElements(java.lang.Object handle)
Return the constrainingElements of a Collaboration. |
java.util.Collection |
getConstraints(java.lang.Object handle)
Return the Constraints for the given ModelElement. |
java.lang.Object |
getContainer(java.lang.Object handle)
Return the CompositeState or Component that is the container of the given StateVertex or ElementResidence, respectively. |
java.util.Collection |
getContents(java.lang.Object handle)
Return all ModelElements contained in a Partition. |
java.lang.Object |
getContext(java.lang.Object handle)
Return the context of a StateMachine or Interaction. |
java.util.Collection |
getContexts(java.lang.Object handle)
Return the BehavioralFeatures which are contexts for a given Signal (ie have this Signal as a raisedSignal). |
java.util.Collection |
getCreateActions(java.lang.Object handle)
Return the CreateActions that create/instantiate the given Classifier. |
java.util.Collection |
getDataValue(java.lang.Object taggedValue)
Return the dataValue collection for a taggedValue. |
java.lang.Object |
getDefaultElement(java.lang.Object handle)
Return the defaultElement for a TemplateParameter. |
java.lang.Object |
getDefaultValue(java.lang.Object handle)
Get the defaultValue of a Parameter. |
java.util.Collection |
getDeferrableEvents(java.lang.Object handle)
Get deferrable events of a State. |
java.util.Collection |
getDeployedComponents(java.lang.Object handle)
Return all Components that are deployed inside the given Node. |
java.util.Collection |
getDeploymentLocations(java.lang.Object handle)
Return all Nodes in which the given Component is deployed. |
java.lang.Object |
getDiscriminator(java.lang.Object handle)
Deprecated. for 0.25.4 by tfmorris. Discriminators have been removed from UML 2.x. |
java.lang.Object |
getDispatchAction(java.lang.Object handle)
Get the dispatchAction of a Stimulus. |
java.lang.Object |
getDoActivity(java.lang.Object handle)
Return the Action which is the doActivity for the given State. |
java.lang.Object |
getEffect(java.lang.Object handle)
Return the effect of a Transition. |
java.util.Collection |
getElementImports(java.lang.Object handle)
Return the ElementImports which import into this Package. |
java.util.Collection |
getElementImports2(java.lang.Object handle)
Return the ElementImports which have this ModelElement as their importedElement. |
java.util.Collection |
getElementResidences(java.lang.Object handle)
Get the ElementResidences of a ModelElement. |
java.lang.Object |
getEntry(java.lang.Object handle)
Return the entry Action for a State. |
java.lang.Object |
getEnumeration(java.lang.Object handle)
Return the Enumeration which owns a given EnumerationLiteral. |
java.util.List |
getEnumerationLiterals(java.lang.Object handle)
Return the List of enumeration literals for a UML Enumeration. |
java.lang.Object |
getExit(java.lang.Object handle)
Return the exit action to a State. |
java.lang.Object |
getExpression(java.lang.Object handle)
Get the Expression belonging to a Argument, Guard, ChangeEvent or TimeEvent. |
java.util.Collection |
getExtendedElements(java.lang.Object handle)
Return ModelElements which have a given Stereotype applied. |
java.util.Collection |
getExtenders(java.lang.Object handle)
Return all extenders of a UseCase. |
java.util.Collection |
getExtends(java.lang.Object handle)
Return all Extends of a UseCase or ExtensionPoint. |
java.lang.Object |
getExtension(java.lang.Object handle)
Get the UseCase which is the extension of an Extend. |
java.lang.Object |
getExtensionPoint(java.lang.Object handle,
int index)
Return the ExtensionPoint at given index-number. |
java.util.Collection |
getExtensionPoints(java.lang.Object handle)
Return all ExtensionPoints of a UseCase or Extend. |
java.util.List |
getFeatures(java.lang.Object handle)
Get the List of Features owned by a Classifier. |
java.lang.Object |
getGeneral(java.lang.Object handle)
Get the general end of a generalization. |
java.lang.Object |
getGeneralization(java.lang.Object handle,
java.lang.Object parent)
Get the Generalization connecting two GeneralizableElements. |
java.util.Collection |
getGeneralizations(java.lang.Object handle)
Return collection of Generalizations that the given GeneralizableElement participates in as a child. |
java.lang.Object |
getGuard(java.lang.Object handle)
Get the guard for a Transition. |
java.lang.Object |
getIcon(java.lang.Object handle)
Return the Icon of a Stereotype. |
java.lang.Object |
getImportedElement(java.lang.Object elementImport)
Return the imported element from a ElementImport. |
java.util.Collection |
getImportedElements(java.lang.Object pack)
The collection of imported elements of the given package. |
java.util.Collection |
getIncluders(java.lang.Object handle)
Return Includes which have the given UseCase as an addition. |
java.util.Collection |
getIncludes(java.lang.Object handle)
Return the includes for a UseCase. |
java.util.Collection |
getIncomings(java.lang.Object handle)
Return the incoming Transitions for some StateVertex, Transition, Action, or Guard. |
java.lang.Object |
getInitialValue(java.lang.Object handle)
Return the initial value of an Attribute. |
java.lang.Object |
getInnerContainingModel(java.lang.Object handle)
Get the innermost containing Model of a ModelElement. |
java.lang.Object |
getInstance(java.lang.Object handle)
Return the instance of an AttributeLink or LinkEnd. |
java.util.Collection |
getInstances(java.lang.Object handle)
Return the Instances associated with a Classifier. |
java.util.Collection |
getInStates(java.lang.Object handle)
Return the collection of States for a ClassifierInState. |
java.lang.Object |
getInteraction(java.lang.Object handle)
Return the Interaction for a Message. |
java.util.Collection |
getInteractions(java.lang.Object handle)
Return the Interactions belonging to a Collaboration. |
java.util.Collection |
getInternalTransitions(java.lang.Object handle)
Return the internalTransitions belonging to a State. |
java.lang.Object |
getKind(java.lang.Object handle)
Return the Kind of a Pseudostate or Parameter. |
java.lang.Object |
getLink(java.lang.Object handle)
Return the Link belonging to the given LinkEnd. |
java.util.Collection |
getLinkEnds(java.lang.Object handle)
Return the LinkEnds of a given Instance or AssociationEnd. |
java.util.Collection |
getLinks(java.lang.Object handle)
Return the Links of a given Association. |
java.lang.String |
getLocation(java.lang.Object handle)
Return the location of an ExtensionPoint. |
int |
getLower(java.lang.Object handle)
Return the lower bound of the multiplicity of the given element (AssociationEnd, Multiplicity or MultiplicityRange). |
java.util.Collection |
getMessages(java.lang.Object handle)
Return the messages belonging to an Interaction, AssociationRole, or Action. |
java.lang.Object |
getMessageSort(java.lang.Object handle)
Return the MessageSort of the Message |
java.lang.String[] |
getMetatypeNames()
Get the names of all valid metatypes. |
java.util.Collection |
getMethods(java.lang.Object handle)
Return the Methods of an Operation. |
java.lang.Object |
getModelElement(java.lang.Object handle)
Get the ModelElement which is one of: the importElement of an ElementImport the modelElement of a TaggedValue the modelElement of a TemplateParameter |
java.util.List |
getModelElementAssociated(java.lang.Object handle)
Return all ModelElements associated with the given ModelElement by a MOF level association (not an just an association in the user model, although it includes those too). |
java.lang.Object |
getModelElementContainer(java.lang.Object handle)
Return the container for the given modelelement. |
java.util.List |
getModelElementContents(java.lang.Object handle)
Return all composite components of given ModelElement. |
java.lang.Object |
getMultiplicity(java.lang.Object handle)
Get the Multiplicity of an AssociationEnd, ClassifierRole, StructuralFeature, or TagDefinition. |
java.lang.String |
getName(java.lang.Object handle)
The name of a model element or some diagram part. |
java.lang.Object |
getNamespace(java.lang.Object handle)
Get the namespace of a ModelElement. |
java.lang.Object |
getNextEnd(java.lang.Object handle)
Return the next AssociationEnd in the owning Association. |
java.lang.Object |
getNodeInstance(java.lang.Object handle)
Get the node instance of a ComponentInstance. |
java.util.Collection |
getObjectFlowStates(java.lang.Object handle)
Get ObjectFlowStates which have this Classifier as their type. |
java.util.Collection |
getOccurrences(java.lang.Object handle)
Get the CallEvents which are occurrences of an Operation. |
java.lang.Object |
getOperation(java.lang.Object handle)
Get the Operation of a CallAction or CallEvent. |
java.util.List |
getOperations(java.lang.Object handle)
Get the list of Operations owned by a Classifier. |
java.util.List |
getOperationsAndReceptions(java.lang.Object handle)
Get the list of operations and receptions owned by a Classifier. |
java.lang.Object |
getOrdering(java.lang.Object handle)
Get ordering of an association end. |
java.util.Collection |
getOtherAssociationEnds(java.lang.Object handle)
Get the collection of Associations Ends connected to this association end. |
java.util.Collection |
getOtherLinkEnds(java.lang.Object handle)
Get the collection of Link Ends connected to this link end. |
java.util.Collection |
getOutgoings(java.lang.Object handle)
Return the collection of Transitions outgoing from the given stateVertex. |
java.util.Collection |
getOwnedElements(java.lang.Object handle)
The collection of owned elements of the the namespace. |
java.lang.Object |
getOwner(java.lang.Object handle)
Return the owner of a Feature, TagDefinition, Attribute, or TemplateParameter. |
java.lang.Object |
getPackage(java.lang.Object handle)
Return the Package that is connected by the given ElementImport. |
java.lang.Object |
getParameter(java.lang.Object handle)
Get the parameter of a TemplateParameter. |
java.lang.Object |
getParameter(java.lang.Object handle,
int n)
Get a specific parameter of a Behavioral Feature or Event. |
java.util.Collection |
getParameters(java.lang.Object handle)
Get the parameters of a Behavioral Feature, Event, or Object Flow State, or all the parameters which have a given classifier as their type. |
java.util.List |
getParametersList(java.lang.Object handle)
Get an ordered list of parameters of a Behavioral Feature or Event. |
java.util.Collection |
getPartitions(java.lang.Object container)
Get the partitions from a container. |
java.lang.Object |
getPowertype(java.lang.Object handle)
Get the powertype of a generalization. |
java.util.Collection |
getPowertypeRanges(java.lang.Object handle)
Get the powertype ranges of a classifier. |
java.util.Collection |
getPredecessors(java.lang.Object handle)
Get the predecessors of a message. |
java.util.List |
getQualifiers(java.lang.Object handle)
Get the qualified attributes of an association end. |
java.util.Collection |
getRaisedExceptions(java.lang.Object handle)
Return the raised exceptions of an operation (UML 2 only). |
java.util.Collection |
getRaisedSignals(java.lang.Object handle)
Deprecated. by Bob Tarling in 0.30.1 use the UML2 replacement of getRaisedExceptions |
java.util.Collection |
getReceivedMessages(java.lang.Object handle)
Return the Messages received by the given ClassifierRole. |
java.util.Collection |
getReceivedStimuli(java.lang.Object handle)
Return the Stimuli that are received by the given Instance. |
java.lang.Object |
getReceiver(java.lang.Object handle)
Return the receiver Instance for a Stimulus or the receiver ClassifierRole for a Message. |
java.util.Collection |
getReceptions(java.lang.Object handle)
Return the receptions of a signal. |
java.lang.Object |
getRecurrence(java.lang.Object handle)
Return the recurrence iteration expression of an action. |
java.lang.String |
getReferenceState(java.lang.Object o)
Return the StubState's referenceState. |
java.util.Collection |
getReferenceValue(java.lang.Object taggedValue)
Return the referenceValue collection for a taggedValue. |
java.lang.Object |
getRepresentedClassifier(java.lang.Object handle)
Return the represented classifier of a collaboration. |
java.lang.Object |
getRepresentedOperation(java.lang.Object handle)
Return the represented operation of a collaboration. |
java.lang.Object |
getResident(java.lang.Object handle)
Get the resident element. |
java.util.Collection |
getResidentElements(java.lang.Object handle)
Return the collection of ElementResidences for a given Component. |
java.util.Collection |
getResidents(java.lang.Object handle)
Return a collection with all residents belonging to the given Component, ComponentInstance or NodeInstance. |
java.lang.Object |
getRoot(java.lang.Object handle)
Get the top level containing element, i.e. |
java.util.Collection |
getRootElements()
Return a collection of all Elements which have no owner (ie top level elements). |
java.lang.Object |
getScript(java.lang.Object handle)
Return the script belonging to a given action. |
java.lang.Object |
getSender(java.lang.Object handle)
Return the sender object of a stimulus or a message. |
java.util.Collection |
getSentMessages(java.lang.Object handle)
Return the Messages sent by the given ClassifierRole. |
java.util.Collection |
getSentStimuli(java.lang.Object handle)
Return the Stimuli that are send by the given Instance. |
java.lang.Object |
getSignal(java.lang.Object handle)
Return the Signal of a SendAction, SignalEvent or Reception. |
java.lang.Object |
getSource(java.lang.Object handle)
Return the source for a given transition. |
java.util.Collection |
getSourceFlows(java.lang.Object handle)
Return the sourceflows of a model element. |
java.util.Collection |
getSources(java.lang.Object handle)
Return the source for some given flow or a UML2 DirectedRelationship. |
java.util.Collection |
getSpecializations(java.lang.Object handle)
The collection of Specializations from a GeneralizableElement. |
java.lang.Object |
getSpecific(java.lang.Object handle)
Get the specific end of a generalization. |
java.lang.String |
getSpecification(java.lang.Object handle)
Return the Specification of a given Reception or Operation. |
java.util.Collection |
getSpecifications(java.lang.Object handle)
Return specifications for an AssociationEnd or for a Classifier it returns all Interfaces of which this class is a realization. |
java.lang.Object |
getState(java.lang.Object handle)
Return the state belonging to some given transition. |
java.lang.Object |
getStateMachine(java.lang.Object handle)
Return 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. |
java.util.Collection |
getStates(java.lang.Object handle)
Return the states from a deferable event. |
java.util.Collection |
getStereotypes(java.lang.Object handle)
Return the stereotypes belonging to some given model element. |
java.util.Collection |
getStimuli(java.lang.Object handle)
Return the stimuli belonging to some given link. |
java.util.List |
getStructuralFeatures(java.lang.Object handle)
Return all StructuralFeatures of a given Classifier. |
java.lang.Object |
getSubmachine(java.lang.Object handle)
Return the submachine of a submachine state. |
java.util.Collection |
getSubmachineStates(java.lang.Object handle)
Return the submachine of a submachine state. |
java.util.Collection |
getSubvertices(java.lang.Object handle)
Return all direct subvertices belonging to the given CompositeState. |
java.util.Collection |
getSuccessors(java.lang.Object handle)
Return the Messages which are successors to the given Message. |
java.util.Collection |
getSupplierDependencies(java.lang.Object handle)
The collection of SupplierDependencies from a ModelElement. |
java.util.Collection |
getSuppliers(java.lang.Object handle)
Return the suppliers of a Dependency. |
java.lang.String |
getTag(java.lang.Object handle)
Return the tag of a tagged value, i.e. |
java.lang.Object |
getTagDefinition(java.lang.Object handle)
Return the TagDefinition for a TaggedValue. |
java.util.Collection |
getTagDefinitions(java.lang.Object handle)
Return the TagDefinitions owned by the given Stereotype. |
java.lang.Object |
getTaggedValue(java.lang.Object handle,
java.lang.String name)
Return the tagged value with a specific tag. |
java.util.Iterator |
getTaggedValues(java.lang.Object handle)
Return the tagged values iterator of a model element. |
java.util.Collection |
getTaggedValuesCollection(java.lang.Object handle)
Return the TaggedValues of a ModelElement. |
java.lang.String |
getTaggedValueValue(java.lang.Object handle,
java.lang.String name)
Return the value of a tagged value with a specific tag. |
java.lang.String |
getTagOfTag(java.lang.Object handle)
Return the key (tag) of some tagged value. |
java.lang.Object |
getTarget(java.lang.Object handle)
Return the target of a Transition. |
java.util.Collection |
getTargetFlows(java.lang.Object handle)
Return the targetflows of a model element. |
java.util.Collection |
getTargets(java.lang.Object handle)
Return the targets of a UML 2.x DirectedRelationship. |
java.lang.Object |
getTargetScope(java.lang.Object handle)
Deprecated. for 0.25.4 by tmorris. If being used with an AssociationEnd as an argument, isStatic(Object) can be used. For
StructuralFeatures, this has been removed from UML 2.x and
should no longer be used. |
java.lang.Object |
getTemplate(java.lang.Object handle)
Return the ModelElement that owns a TemplateParameter. |
java.util.List |
getTemplateParameters(java.lang.Object handle)
Get the list of TemplateParameters for a ModelElement that is parameterized. |
java.lang.String |
getTipString(java.lang.Object modelElement)
Return a tooltip that should be shown for the given model element. |
java.lang.Object |
getTop(java.lang.Object handle)
The top of a state machine. |
java.lang.Object |
getTransition(java.lang.Object handle)
Get the transition of a guard or action. |
java.util.Collection |
getTransitions(java.lang.Object handle)
Return the transitions belonging to the given handle. |
java.lang.Object |
getTrigger(java.lang.Object handle)
Deprecated. use getTriggers |
java.util.List |
getTriggers(java.lang.Object handle)
Get the triggers of a transition. |
java.lang.Object |
getType(java.lang.Object handle)
The type of a StructuralFeature, AssociationEnd, Parameter, ObjectFlowState, TagDefinition, TaggedValue or ClassifierInState. |
java.util.Collection |
getTypedValues(java.lang.Object handle)
Return all TaggedValues typed by a TagDefinition |
java.lang.String |
getUMLClassName(java.lang.Object handle)
Return the name of the UML Model class. |
java.lang.String |
getUmlVersion()
Return the version of the UML metamodel supported by the underlying implementation. |
int |
getUpper(java.lang.Object handle)
Return the upper bound of the multiplicity of the given element (AssociationEnd, Multiplicity or MultiplicityRange). |
java.lang.Object |
getUseCase(java.lang.Object handle)
Return the UseCase of an ExtensionPoint. |
java.lang.String |
getUUID(java.lang.Object element)
Return the ID of this element. |
java.lang.Object |
getValue(java.lang.Object handle)
Return the value of some UML Object. |
java.lang.String |
getValueOfTag(java.lang.Object handle)
Return the value of some tagged value. |
java.lang.Object |
getValueOfTag(java.lang.Object handle,
java.lang.Object property)
Return the value of some tagged value. |
java.lang.Object |
getVisibility(java.lang.Object handle)
Return the visibility of this element. |
java.lang.Object |
getWhen(java.lang.Object target)
|
boolean |
hasReturnParameterDirectionKind(java.lang.Object handle)
Determine if the passed parameter has a RETURN direction kind. |
boolean |
isA(java.lang.String metatypeName,
java.lang.Object element)
Test whether the provided element is an instance of the given metatype. |
boolean |
isAAbstraction(java.lang.Object handle)
Recognizer for Abstraction. |
boolean |
isAAcceptEventAction(java.lang.Object handle)
Recognizer for a UML2 AcceptEventAction. |
boolean |
isAAction(java.lang.Object handle)
Recognizer for Action. |
boolean |
isAActionSequence(java.lang.Object handle)
Recognizer for ActionSequence. |
boolean |
isAActionState(java.lang.Object handle)
Recognizer for ActionState. |
boolean |
isAActivityEdge(java.lang.Object handle)
Recognizer for UML2 ActivityEdge. |
boolean |
isAActivityGraph(java.lang.Object handle)
Recognizer for UML1.4 ActivityGraph. |
boolean |
isAActivityNode(java.lang.Object handle)
Recognizer for UML2 ActivityNode. |
boolean |
isAActor(java.lang.Object handle)
Recognizer for Actor. |
boolean |
isAAggregationKind(java.lang.Object handle)
Recognizer for AggregationKind. |
boolean |
isAAppliedProfileElement(java.lang.Object handle)
Recognizer for an applied profile element. |
boolean |
isAArgument(java.lang.Object modelElement)
Recognizer for Arguments. |
boolean |
isAArtifact(java.lang.Object handle)
Recognizer for Artifact. |
boolean |
isAAssociation(java.lang.Object handle)
Recognizer for Association. |
boolean |
isAAssociationClass(java.lang.Object handle)
Recognizer for AssociationClass. |
boolean |
isAAssociationEnd(java.lang.Object handle)
Recognizer for AssociationEnd. |
boolean |
isAAssociationEndRole(java.lang.Object handle)
Recognizer for AssociationEndRole. |
boolean |
isAAssociationRole(java.lang.Object handle)
Recognizer for AssociationRole. |
boolean |
isAASynchCallMessage(java.lang.Object handle)
Recognizer for Message or sort ASynchCall. |
boolean |
isAASynchSignalMessage(java.lang.Object handle)
Recognizer for Message or sort ASynchSignal. |
boolean |
isAAttribute(java.lang.Object handle)
Recognizer for Attribute. |
boolean |
isAAttributeLink(java.lang.Object handle)
Recognizer for AttributeLink. |
boolean |
isABehavioralFeature(java.lang.Object handle)
Recognizer for BehavioralFeature. |
boolean |
isABinding(java.lang.Object handle)
Recognizer for Binding. |
boolean |
isAbstract(java.lang.Object handle)
Recognizer for abstract classes and operations. |
boolean |
isACallAction(java.lang.Object handle)
Recognizer for CallAction. |
boolean |
isACallEvent(java.lang.Object handle)
Recognizer for CallEvent. |
boolean |
isACallState(java.lang.Object handle)
Recognizer for CallState. |
boolean |
isAChangeEvent(java.lang.Object handle)
Recognizer for ChangeEvent. |
boolean |
isAClass(java.lang.Object handle)
Recognizer for UML Class. |
boolean |
isAClassifier(java.lang.Object handle)
Recognizer for Classifier. |
boolean |
isAClassifierInState(java.lang.Object handle)
Recognizer for ClassifierInState. |
boolean |
isAClassifierRole(java.lang.Object handle)
Recognizer for ClassifierRole. |
boolean |
isACollaboration(java.lang.Object handle)
Recognizer for Collaboration. |
boolean |
isACollaborationInstanceSet(java.lang.Object handle)
Recognizer for CollaborationInstanceSet. |
boolean |
isAComment(java.lang.Object handle)
Recognizer for Comment. |
boolean |
isAComponent(java.lang.Object handle)
Recognizer for Component. |
boolean |
isAComponentInstance(java.lang.Object handle)
Recognizer for ComponentInstance. |
boolean |
isACompositeState(java.lang.Object handle)
Recognizer for CompositeState. |
boolean |
isAConcurrentRegion(java.lang.Object handle)
Recognizer for ConcurrentRegion. |
boolean |
isAConstraint(java.lang.Object handle)
Recognizer for Constraint. |
boolean |
isACreateAction(java.lang.Object handle)
Recognizer for CreateAction. |
boolean |
isACreateMessage(java.lang.Object handle)
Recognizer for Message or sort Create |
boolean |
isActive(java.lang.Object handle)
Recognizer for UML Classes that are Active. |
boolean |
isADataType(java.lang.Object handle)
Recognizer for DataType. |
boolean |
isADataValue(java.lang.Object handle)
Recognizer for DataValue. |
boolean |
isADeleteMessage(java.lang.Object handle)
Recognizer for Message or sort Delete. |
boolean |
isADependency(java.lang.Object handle)
Recognizer for Dependency. |
boolean |
isADestroyAction(java.lang.Object handle)
Recognizer for DestroyAction. |
boolean |
isADirectedRelationship(java.lang.Object handle)
|
boolean |
isAElement(java.lang.Object handle)
Recognizer for Element. |
boolean |
isAElementImport(java.lang.Object handle)
Recognizer for ElementImport. |
boolean |
isAElementResidence(java.lang.Object handle)
Recognizer for ElementResidence. |
boolean |
isAEnumeration(java.lang.Object handle)
Recognizer for UML Enumeration. |
boolean |
isAEnumerationLiteral(java.lang.Object handle)
Recognizer for UML EnumerationLiteral |
boolean |
isAEvent(java.lang.Object handle)
Recognizer for Event. |
boolean |
isAException(java.lang.Object handle)
Recognizer for UML Exception. |
boolean |
isAExpression(java.lang.Object handle)
Recognizer for Expression. |
boolean |
isAExtend(java.lang.Object handle)
Recognizer for Extend. |
boolean |
isAExtension(java.lang.Object handle)
Recognizer for Extension. |
boolean |
isAExtensionPoint(java.lang.Object handle)
Recognizer for ExtensionPoint. |
boolean |
isAFeature(java.lang.Object handle)
Recognizer for Feature. |
boolean |
isAFinalState(java.lang.Object handle)
Recognizer for FinalState. |
boolean |
isAFlow(java.lang.Object handle)
Recognizer for Flow. |
boolean |
isAGeneralizableElement(java.lang.Object handle)
Recognizer for GeneralizableElement. |
boolean |
isAGeneralization(java.lang.Object handle)
Recognizer for Generalization. |
boolean |
isAggregate(java.lang.Object handle)
Returns true if a given AssociationEnd has an aggretation kind of Aggregate. |
boolean |
isAGuard(java.lang.Object handle)
Recognizer for Guard. |
boolean |
isAInclude(java.lang.Object handle)
Recognizer for Include. |
boolean |
isAInstance(java.lang.Object handle)
Recognizer for Instance. |
boolean |
isAInteraction(java.lang.Object handle)
Recognizer for Interaction. |
boolean |
isAInteractionInstanceSet(java.lang.Object handle)
Recognizer for InteractionInstanceSet. |
boolean |
isAInterface(java.lang.Object handle)
Recognizer for Interface. |
boolean |
isALifeline(java.lang.Object handle)
Recognizer for Lifeline. |
boolean |
isALink(java.lang.Object handle)
Recognizer for Link. |
boolean |
isALinkEnd(java.lang.Object handle)
Recognizer for LinkEnd. |
boolean |
isALinkObject(java.lang.Object handle)
Recognizer for LinkObject. |
boolean |
isAMessage(java.lang.Object handle)
Recognizer for Message. |
boolean |
isAMethod(java.lang.Object handle)
Recognizer for Method. |
boolean |
isAModel(java.lang.Object handle)
Recognizer for Model. |
boolean |
isAModelElement(java.lang.Object handle)
Recognizer for ModelElement. |
boolean |
isAMultiplicity(java.lang.Object handle)
Recognizer for Multiplicity. |
boolean |
isAMultiplicityRange(java.lang.Object handle)
Recognizer for MultiplicityRange. |
boolean |
isANamedElement(java.lang.Object handle)
Recognizer for a UML element which can have a name. |
boolean |
isANamespace(java.lang.Object handle)
Recognizer for Namespace. |
boolean |
isANaryAssociation(java.lang.Object handle)
Recognizer for N-ary Association. |
boolean |
isANode(java.lang.Object handle)
Recognizer for a Node. |
boolean |
isANodeInstance(java.lang.Object handle)
Recognizer for a NodeInstance. |
boolean |
isAObject(java.lang.Object handle)
Recognizer for Object. |
boolean |
isAObjectFlowState(java.lang.Object handle)
Recognizer for ObjectFlowState. |
boolean |
isAObjectNode(java.lang.Object handle)
Recognizer for ObjectNode. |
boolean |
isAOperation(java.lang.Object handle)
Recognizer for Operation. |
boolean |
isAPackage(java.lang.Object handle)
Recognizer for Package. |
boolean |
isAPackageImport(java.lang.Object handle)
Recognizer for PackageImport (was Permission in UML 1.x). |
boolean |
isAParameter(java.lang.Object handle)
Recognizer for Parameter. |
boolean |
isAPartition(java.lang.Object handle)
Recognizer for Partition. |
boolean |
isAPrimitiveType(java.lang.Object handle)
Recognizer for PrimitiveType. |
boolean |
isAProfile(java.lang.Object handle)
Recognizer for Profile. |
boolean |
isAProfileApplication(java.lang.Object handle)
Recognizer for ProfileApplication. |
boolean |
isAProperty(java.lang.Object handle)
Recognizer for Property. |
boolean |
isAPseudostate(java.lang.Object handle)
Recognizer for Pseudostate. |
boolean |
isAPseudostateKind(java.lang.Object handle)
Recognizer for PseudostateKind. |
boolean |
isAReception(java.lang.Object handle)
Recognizer for Reception. |
boolean |
isARelationship(java.lang.Object handle)
Recognizer for Relationship. |
boolean |
isAReplyMessage(java.lang.Object handle)
Recognizer for Message or sort Reply. |
boolean |
isAReturnAction(java.lang.Object handle)
Recognizer for ReturnAction. |
boolean |
isASendAction(java.lang.Object handle)
Recognizer for SendAction. |
boolean |
isASendSignalAction(java.lang.Object handle)
Recognizer for UML2 SendSignalAction. |
boolean |
isASignal(java.lang.Object handle)
Recognizer for Signal. |
boolean |
isASignalEvent(java.lang.Object handle)
Recognizer for SignalEvent. |
boolean |
isASimpleState(java.lang.Object handle)
Recognizer for SimpleState. |
boolean |
isAState(java.lang.Object handle)
Recognizer for State. |
boolean |
isAStateMachine(java.lang.Object handle)
Recognizer for StateMachine. |
boolean |
isAStateVertex(java.lang.Object handle)
Recognizer for StateVertex. |
boolean |
isAStereotype(java.lang.Object handle)
Recognizer for Stereotype. |
boolean |
isAStimulus(java.lang.Object handle)
Recognizer for Stimulus. |
boolean |
isAStructuralFeature(java.lang.Object handle)
Recognizer for StructuralFeature. |
boolean |
isAStubState(java.lang.Object handle)
Recognizer for StubState. |
boolean |
isASubactivityState(java.lang.Object handle)
Recognizer for SubactivityState. |
boolean |
isASubmachineState(java.lang.Object handle)
Recognizer for SubmachineState. |
boolean |
isASubsystem(java.lang.Object handle)
Recognizer for Subsystem. |
boolean |
isASubsystemInstance(java.lang.Object handle)
Recognizer for SubsystemInstance. |
boolean |
isASynchCallMessage(java.lang.Object handle)
Recognizer for Message or sort SynchCall. |
boolean |
isAsynchronous(java.lang.Object handle)
Recognizer for asynchronisity of an action. |
boolean |
isASynchState(java.lang.Object handle)
Recognizer for SynchState. |
boolean |
isATagDefinition(java.lang.Object handle)
Recognizer for TagDefinition. |
boolean |
isATaggedValue(java.lang.Object handle)
Recognizer for TaggedValue. |
boolean |
isATemplateArgument(java.lang.Object handle)
Recognizer for TemplateArgument. |
boolean |
isATemplateParameter(java.lang.Object handle)
Recognizer for TemplateParameter. |
boolean |
isATerminateAction(java.lang.Object handle)
Recognizer for TerminateAction. |
boolean |
isATimeEvent(java.lang.Object handle)
Recognizer for TimeEvent. |
boolean |
isATransition(java.lang.Object handle)
Recognizer for Transition. |
boolean |
isAUMLElement(java.lang.Object handle)
Recognizer for any UML type defined in the UML specification, including those which are not subtypes of Element. |
boolean |
isAUninterpretedAction(java.lang.Object handle)
Recognizer for UninterpretedAction. |
boolean |
isAUsage(java.lang.Object handle)
Recognizer for Usage. |
boolean |
isAUseCase(java.lang.Object handle)
Recognizer for a UseCase. |
boolean |
isAVisibilityKind(java.lang.Object handle)
Recognizer for VisibilityKind. |
boolean |
isComposite(java.lang.Object handle)
Returns true if a given AssociationEnd has an aggretation kind of Composite. |
boolean |
isConcurrent(java.lang.Object handle)
Recognizer for concurrent CompositeState. |
boolean |
isConstructor(java.lang.Object handle)
Recognizer for constructor. |
boolean |
isFrozen(java.lang.Object handle)
Returns true if the given element is Frozen. |
boolean |
isInitialized(java.lang.Object handle)
Recognizer for Attributes that are initialized. |
boolean |
isInternal(java.lang.Object handle)
Recognizer for internal transitions. |
boolean |
isLeaf(java.lang.Object handle)
Recognizer for leaf element. |
boolean |
isNavigable(java.lang.Object handle)
Return navigability of an AssociationEnd. |
boolean |
isPackage(java.lang.Object handle)
Recognizer for ModelElements with package visibility. |
boolean |
isPrimaryObject(java.lang.Object handle)
Recognizer for primary objects. |
boolean |
isPrivate(java.lang.Object handle)
Recognizer for ModelElements with private visibility. |
boolean |
isProtected(java.lang.Object handle)
Recognizer for ModelElements with protected visibility. |
boolean |
isPublic(java.lang.Object handle)
Recognizer for ModelElements with public visibility. |
boolean |
isQuery(java.lang.Object handle)
Recognizer for BehaviouralFeature's that are queries. |
boolean |
isReadOnly(java.lang.Object handle)
Return the value of the isReadOnly attribute. |
boolean |
isRealize(java.lang.Object handle)
Recognizer for ModelElements which have the < |
boolean |
isReturn(java.lang.Object handle)
Recognizer for Parameter's with a DirectionKind of Return. |
boolean |
isRoot(java.lang.Object handle)
Recognizer for roots. |
boolean |
isSingleton(java.lang.Object handle)
Recognizer for ModelElements which have the < |
boolean |
isSpecification(java.lang.Object handle)
Return value of isSpecification attribute for a ModelElement or ElemetImport. |
boolean |
isStatic(java.lang.Object handle)
Return the value of the isStatic attribute. |
boolean |
isStereotype(java.lang.Object handle,
java.lang.String stereotypename)
Recognizer for ModelElements with a given stereotype. |
boolean |
isSynch(java.lang.Object handle)
Return the value of the isSynch attribute on an ObjectFlowState |
boolean |
isTop(java.lang.Object handle)
Returns true if the given CompositeState is the top state. |
boolean |
isType(java.lang.Object handle)
Recognizer for ModelElements with the < |
boolean |
isUtility(java.lang.Object handle)
Recognizer for ModelElements which have the < |
java.lang.Object |
lookupIn(java.lang.Object handle,
java.lang.String name)
Return a named object in the given object by calling it's lookup method. |
java.lang.String |
toString(java.lang.Object modelElement)
Return a textual representation of the given model element. |
Field Detail |
---|
static final java.lang.String GENERATED_TAG
static final java.lang.String DERIVED_TAG
Method Detail |
---|
java.lang.String getUmlVersion()
The MDR implementation supports UML 1.4 and the initial eUML implementation supports UML 2.1.1. The earlier NSUML implementation supported UML 1.3.
boolean isAAbstraction(java.lang.Object handle)
handle
- candidate
boolean isAAction(java.lang.Object handle)
handle
- candidate
boolean isAAcceptEventAction(java.lang.Object handle)
handle
- candidate
boolean isAActionSequence(java.lang.Object handle)
handle
- candidate
boolean isAActionState(java.lang.Object handle)
handle
- candidate
boolean isACallState(java.lang.Object handle)
handle
- candidate
boolean isAObjectFlowState(java.lang.Object handle)
handle
- candidate
boolean isAObjectNode(java.lang.Object handle)
handle
- candidate
boolean isASubactivityState(java.lang.Object handle)
handle
- candidate
boolean isAActor(java.lang.Object handle)
handle
- candidate
boolean isAAggregationKind(java.lang.Object handle)
handle
- candidate
boolean isAAppliedProfileElement(java.lang.Object handle)
handle
- candidate
boolean isAArtifact(java.lang.Object handle)
handle
- candidate
boolean isAAssociation(java.lang.Object handle)
handle
- candidate
boolean isAAssociationEnd(java.lang.Object handle)
handle
- candidate
boolean isAAssociationRole(java.lang.Object handle)
handle
- candidate
boolean isAAssociationEndRole(java.lang.Object handle)
handle
- candidate
boolean isAAttribute(java.lang.Object handle)
handle
- candidate
boolean isAAttributeLink(java.lang.Object handle)
handle
- candidate
boolean isAsynchronous(java.lang.Object handle)
handle
- candidate
boolean isAbstract(java.lang.Object handle)
isAbstract
attribute with a value of true
.
If there's no such attribute (ie it isn't a type which has that attribute
in the UML metamodel), it will return false without throwing an error.
handle
- candidate
boolean isAActivityEdge(java.lang.Object handle)
handle
- candidate
boolean isAActivityGraph(java.lang.Object handle)
handle
- candidate
boolean isAActivityNode(java.lang.Object handle)
handle
- candidate
boolean isABehavioralFeature(java.lang.Object handle)
handle
- candidate
boolean isABinding(java.lang.Object handle)
handle
- candidate
boolean isACallAction(java.lang.Object handle)
handle
- candidate
boolean isAASynchCallMessage(java.lang.Object handle)
handle
- candidate
boolean isAASynchSignalMessage(java.lang.Object handle)
handle
- candidate
boolean isADeleteMessage(java.lang.Object handle)
handle
- candidate
boolean isACreateMessage(java.lang.Object handle)
handle
- candidate
boolean isASynchCallMessage(java.lang.Object handle)
handle
- candidate
boolean isAReplyMessage(java.lang.Object handle)
handle
- candidate
boolean isACallEvent(java.lang.Object handle)
handle
- candidate
boolean isAChangeEvent(java.lang.Object handle)
handle
- candidate
boolean isAClass(java.lang.Object handle)
handle
- candidate
boolean isAAssociationClass(java.lang.Object handle)
handle
- candidate
boolean isAClassifier(java.lang.Object handle)
handle
- candidate
boolean isAClassifierInState(java.lang.Object handle)
handle
- candidate
boolean isAClassifierRole(java.lang.Object handle)
handle
- candidate
boolean isAComment(java.lang.Object handle)
handle
- candidate
boolean isACollaboration(java.lang.Object handle)
handle
- candidate
boolean isACollaborationInstanceSet(java.lang.Object handle)
handle
- candidate
boolean isAComponent(java.lang.Object handle)
handle
- candidate
boolean isAComponentInstance(java.lang.Object handle)
handle
- candidate
boolean isAConstraint(java.lang.Object handle)
handle
- candidate
boolean isACreateAction(java.lang.Object handle)
handle
- candidate
boolean isADataType(java.lang.Object handle)
handle
- candidate
boolean isADataValue(java.lang.Object handle)
handle
- candidate
boolean isADependency(java.lang.Object handle)
handle
- candidate
boolean isADirectedRelationship(java.lang.Object handle)
handle
- element to test
boolean isADestroyAction(java.lang.Object handle)
handle
- candidate
boolean isACompositeState(java.lang.Object handle)
handle
- candidate
boolean isAElement(java.lang.Object handle)
NOTE: In the UML 1.4 specification there are a number of types
that one might expect to be subtypes of Element, but which are not. The
spec isn't clear on whether this is intentional or not but if you want
all types in the spec, including things which are not subtypes of Element
such as Expression, Multiplicity, MultiplicityRange TemplateArgument,
TemplateParameter, ElementResidence, ElementImport use the method
isAUMLElement(Object)
.
handle
- candidate
isAUMLElement(Object)
boolean isAElementImport(java.lang.Object handle)
handle
- candidate
boolean isAElementResidence(java.lang.Object handle)
handle
- candidate
boolean isAEnumeration(java.lang.Object handle)
handle
- candidate
boolean isAEnumerationLiteral(java.lang.Object handle)
handle
- the candidate
boolean isAEvent(java.lang.Object handle)
handle
- candidate
boolean isAException(java.lang.Object handle)
handle
- candidate
boolean isAExpression(java.lang.Object handle)
handle
- candidate
boolean isAExtend(java.lang.Object handle)
handle
- candidate
boolean isAExtension(java.lang.Object handle)
handle
- candidate
boolean isAExtensionPoint(java.lang.Object handle)
handle
- candidate
boolean isAFeature(java.lang.Object handle)
handle
- candidate
boolean isAFinalState(java.lang.Object handle)
handle
- candidate
boolean isAFlow(java.lang.Object handle)
handle
- candidate
boolean isAGuard(java.lang.Object handle)
handle
- candidate
boolean isAGeneralizableElement(java.lang.Object handle)
handle
- candidate
boolean isAGeneralization(java.lang.Object handle)
handle
- candidate
boolean isAInclude(java.lang.Object handle)
handle
- candidate
boolean isAInstance(java.lang.Object handle)
handle
- candidate
boolean isAInteraction(java.lang.Object handle)
handle
- candidate
boolean isAInteractionInstanceSet(java.lang.Object handle)
handle
- candidate
boolean isAInterface(java.lang.Object handle)
handle
- candidate
boolean isALifeline(java.lang.Object handle)
handle
- candidate
boolean isALink(java.lang.Object handle)
handle
- candidate
boolean isALinkEnd(java.lang.Object handle)
handle
- candidate
boolean isALinkObject(java.lang.Object handle)
handle
- candidate
boolean isAMessage(java.lang.Object handle)
handle
- candidate
boolean isAMethod(java.lang.Object handle)
handle
- candidate
boolean isAModel(java.lang.Object handle)
handle
- candidate
boolean isAModelElement(java.lang.Object handle)
isAUMLElement(Object)
instead since it is more likely to do what
you want. This is strictly for subtypes of ModelElement which excludes
many UML types such as Multiplicities, TemplateParameters, etc. It also
will fail to work for UML 2 types which are subtypes of Element, but
not ModelElement.
handle
- candidate
boolean isANamedElement(java.lang.Object handle)
handle
- candidate
boolean isAMultiplicity(java.lang.Object handle)
handle
- candidate
boolean isAMultiplicityRange(java.lang.Object handle)
handle
- candidate
boolean isANamespace(java.lang.Object handle)
handle
- candidate
boolean isANaryAssociation(java.lang.Object handle)
handle
- candidate
boolean isANode(java.lang.Object handle)
handle
- candidate
boolean isANodeInstance(java.lang.Object handle)
handle
- candidate
boolean isAOperation(java.lang.Object handle)
handle
- candidate
boolean isAObject(java.lang.Object handle)
handle
- candidate
boolean isAParameter(java.lang.Object handle)
handle
- candidate
boolean isAPartition(java.lang.Object handle)
handle
- candidate
boolean isAPackageImport(java.lang.Object handle)
handle
- candidate
boolean isAPackage(java.lang.Object handle)
handle
- candidate
boolean isAPrimitiveType(java.lang.Object handle)
handle
- candidate
boolean isAProfile(java.lang.Object handle)
handle
- candidate
boolean isAProfileApplication(java.lang.Object handle)
handle
- candidate
boolean isAProperty(java.lang.Object handle)
handle
- candidate
boolean isAPseudostate(java.lang.Object handle)
handle
- candidate
boolean isAPseudostateKind(java.lang.Object handle)
handle
- candidate
java.lang.Object getKind(java.lang.Object handle)
handle
- the Pseudostate or Parameter
java.lang.Object getReceiver(java.lang.Object handle)
handle
- candidate
java.lang.Object getLink(java.lang.Object handle)
handle
- the LinkEnd
boolean equalsPseudostateKind(java.lang.Object ps1, java.lang.Object ps2)
ps1
- one kindps2
- one kind
boolean isAReception(java.lang.Object handle)
handle
- candidate
boolean isAReturnAction(java.lang.Object handle)
handle
- candidate
boolean isARelationship(java.lang.Object handle)
handle
- candidate
boolean isASendAction(java.lang.Object handle)
handle
- candidate
boolean isASendSignalAction(java.lang.Object handle)
handle
- candidate
boolean isASignal(java.lang.Object handle)
handle
- candidate
boolean isASignalEvent(java.lang.Object handle)
handle
- candidate
boolean isASimpleState(java.lang.Object handle)
handle
- candidate
boolean isAStateMachine(java.lang.Object handle)
handle
- candidate
boolean isAStimulus(java.lang.Object handle)
handle
- candidate
boolean isAStateVertex(java.lang.Object handle)
handle
- candidate
boolean isAStereotype(java.lang.Object handle)
handle
- candidate
boolean isAStructuralFeature(java.lang.Object handle)
handle
- candidate
boolean isAState(java.lang.Object handle)
handle
- candidate
boolean isAStubState(java.lang.Object handle)
handle
- candidate
boolean isASubmachineState(java.lang.Object handle)
handle
- candidate
boolean isASubsystem(java.lang.Object handle)
handle
- candidate
boolean isASubsystemInstance(java.lang.Object handle)
handle
- candidate
boolean isASynchState(java.lang.Object handle)
handle
- candidate
boolean isATaggedValue(java.lang.Object handle)
handle
- candidate
boolean isATemplateArgument(java.lang.Object handle)
handle
- candidate
boolean isATemplateParameter(java.lang.Object handle)
handle
- candidate
boolean isATerminateAction(java.lang.Object handle)
handle
- candidate
boolean isATransition(java.lang.Object handle)
handle
- candidate
boolean isATimeEvent(java.lang.Object handle)
handle
- candidate
boolean isAUMLElement(java.lang.Object handle)
In the UML 1.4 specification, not all defined types are subtypes of Element, although this has been fixed/changed in UML 2.
handle
- the UML object
isAElement(Object)
boolean isAUninterpretedAction(java.lang.Object handle)
handle
- candidate
boolean isAUsage(java.lang.Object handle)
handle
- candidate
boolean isAUseCase(java.lang.Object handle)
handle
- candidate
boolean isAVisibilityKind(java.lang.Object handle)
handle
- candidate
boolean isActive(java.lang.Object handle)
handle
- candidate
boolean isConcurrent(java.lang.Object handle)
handle
- composite state
boolean isAConcurrentRegion(java.lang.Object handle)
handle
- candidate
boolean isConstructor(java.lang.Object handle)
handle
- candidate
boolean isFrozen(java.lang.Object handle)
handle
- candidate
boolean isComposite(java.lang.Object handle)
handle
- candidate
boolean isAggregate(java.lang.Object handle)
handle
- candidate
boolean isInitialized(java.lang.Object handle)
handle
- candidate
boolean isInternal(java.lang.Object handle)
handle
- candidate
boolean isLeaf(java.lang.Object handle)
isLeaf
attribute with a value of true
. If there's no such
attribute (ie it isn't a type which has that attribute in the UML
metamodel), it will return false without throwing an error.
handle
- candidate GeneralizableElement, Operation, or Reception
boolean isRoot(java.lang.Object handle)
isRoot
attribute with a value of true
. If there's no such
attribute (ie it isn't a type which has that attribute in the UML
metamodel), it will return false without throwing an error.
handle
- candidate GeneralizableElement, Operation, or Reception
boolean isSpecification(java.lang.Object handle)
handle
- candidate ModelElement or ElemetImport
boolean isNavigable(java.lang.Object handle)
handle
- candidate AssociationEnd
boolean isPrimaryObject(java.lang.Object handle)
TODO: This doesn't belong in the Facade. It's a higher level function used specifically for certain reverse engineering operations. - tfmorris
handle
- candidate
boolean isPackage(java.lang.Object handle)
handle
- candidate
boolean isPrivate(java.lang.Object handle)
handle
- candidate
boolean isPublic(java.lang.Object handle)
handle
- candidate
boolean isQuery(java.lang.Object handle)
handle
- candidate
boolean isProtected(java.lang.Object handle)
handle
- candidate
boolean isRealize(java.lang.Object handle)
handle
- candidate
boolean isReturn(java.lang.Object handle)
hasReturnParameterDirectionKind(Object)
handle
- candidate parameter
boolean isSingleton(java.lang.Object handle)
TODO: Moved this out of the Facade to someplace elese since it's not Model subsystem specific - tfm 20070607
handle
- candidate
boolean isStereotype(java.lang.Object handle, java.lang.String stereotypename)
handle
- candidate model elementstereotypename
- a string that is the stereotype name.
boolean isTop(java.lang.Object handle)
handle
- CompositeState
boolean isType(java.lang.Object handle)
handle
- candidate
boolean isUtility(java.lang.Object handle)
handle
- candidate
java.lang.Object getAssociation(java.lang.Object handle)
handle
- the AssociationEnd or Link
java.util.Collection getAssociations(java.lang.Object handle)
handle
- the Classifier
java.lang.Object getAssociationEnd(java.lang.Object classifier, java.lang.Object association)
classifier
- the classifierassociation
- is the association
java.util.Collection getAssociationEnds(java.lang.Object handle)
handle
- the Classifier for which to get the AssociationEnds.
java.util.Collection getAssociationRoles(java.lang.Object handle)
handle
- the Association that we get the association roles from.
java.util.List getAttributes(java.lang.Object handle)
handle
- classifier to examine.
java.util.Collection<java.lang.String> getBaseClasses(java.lang.Object handle)
handle
- the stereotype
java.lang.Object getBase(java.lang.Object handle)
getBases(Object)
.
For UML 2.x with a target of an Include element, use getIncludingCase().
handle
- the model element
java.util.Collection getBases(java.lang.Object handle)
handle
- ClassifierRole.
java.util.Collection getBehaviors(java.lang.Object handle)
handle
- modelelement to examine.
java.lang.Object getBehavioralFeature(java.lang.Object handle)
handle
- the Parameter
java.lang.Object getBody(java.lang.Object handle)
If the argument is an Expression, the body returned is a
String
(or null
). If you want a type-safe
version of this version of the call,
use DataTypesHelper.getBody(Object)
.
handle
- expression.
int getBound(java.lang.Object handle)
handle
- the synch State
@Deprecated java.lang.Object getChangeability(java.lang.Object handle)
isReadOnly(Object)
.
handle
- the StructuralFeature or AssociationEnd
java.lang.Object getSpecific(java.lang.Object handle)
handle
- generalization.
java.util.Collection getChildren(java.lang.Object handle)
handle
- the GeneralizableElement.
java.util.Collection getClassifierRoles(java.lang.Object handle)
handle
- the Classifer or Feature.
java.lang.Object getClassifier(java.lang.Object handle)
handle
- The AssociationEnd to get from.
java.util.Collection getClassifiers(java.lang.Object handle)
handle
- the Instance
java.util.Collection getClassifiersInState(java.lang.Object handle)
handle
- the model element
java.util.Collection getClients(java.lang.Object handle)
handle
- the dependency
java.util.Collection getClientDependencies(java.lang.Object handle)
handle
- the ModelElement.
java.lang.Object getCondition(java.lang.Object handle)
handle
- The Extend.
java.lang.Object getConcurrency(java.lang.Object handle)
handle
- The Operation.
java.util.Collection getConnections(java.lang.Object handle)
handle
- the Association or Link
java.lang.Object getEffect(java.lang.Object handle)
handle
- the Transition
java.util.Collection getElementResidences(java.lang.Object handle)
handle
- the ModelElement that we are getting the residences of
java.util.Collection getElementImports2(java.lang.Object handle)
getElementImports(Object)
.
handle
- the ModelElement
getElementImports(Object)
java.util.Collection getElementImports(java.lang.Object handle)
getElementImports2(Object)
.
handle
- the package
getElementImports2(Object)
java.lang.Object getEntry(java.lang.Object handle)
handle
- the State
java.lang.Object getEnumeration(java.lang.Object handle)
handle
- the EnumerationLiteral
java.util.List getEnumerationLiterals(java.lang.Object handle)
handle
- the Enumeration
java.lang.Object getExit(java.lang.Object handle)
handle
- the state
java.lang.Object getExpression(java.lang.Object handle)
handle
- the Object to get the Expression from
java.util.Collection getExtendedElements(java.lang.Object handle)
handle
- stereotype for which to return extended elements
java.util.Collection getExtends(java.lang.Object handle)
handle
- the UseCase or the ExtensionPoint
java.util.Collection getExtenders(java.lang.Object handle)
handle
- the UseCase
java.lang.Object getExtension(java.lang.Object handle)
handle
- the extend
java.lang.Object getExtensionPoint(java.lang.Object handle, int index)
handle
- Extendindex
- int
java.util.Collection getExtensionPoints(java.lang.Object handle)
handle
- the UseCase or the Extend
java.util.List getFeatures(java.lang.Object handle)
handle
- Classifier to retrieve from.
java.lang.Object getGeneralization(java.lang.Object handle, java.lang.Object parent)
handle
- the childparent
- is the parent
java.util.Collection getGeneralizations(java.lang.Object handle)
getSpecializations(Object)
to
find the Generalizations that it particpates in as a parent.
handle
- GeneralizableElement to retrieve from.
java.lang.Object getGuard(java.lang.Object handle)
handle
- the Transition
java.lang.Object getIcon(java.lang.Object handle)
handle
- the Stereotype to get the Icon from
java.util.Collection getIncludes(java.lang.Object handle)
handle
- the UseCase
java.util.Collection getIncluders(java.lang.Object handle)
handle
- the UseCase
java.util.Collection getIncomings(java.lang.Object handle)
handle
- a StateVertex, Transition, Action, or Guard
java.lang.Object getInitialValue(java.lang.Object handle)
handle
- the Attribute
java.lang.Object getInstance(java.lang.Object handle)
handle
- the attribute link or link end
java.util.Collection getInstances(java.lang.Object handle)
handle
- the classifier
java.util.Collection getInStates(java.lang.Object handle)
handle
- the classifierInState
java.lang.Object getInteraction(java.lang.Object handle)
handle
- the Message
java.util.Collection getInteractions(java.lang.Object handle)
handle
- the Collaboration
java.util.Collection getInternalTransitions(java.lang.Object handle)
handle
- the State
java.util.Collection getMessages(java.lang.Object handle)
handle
- the candidate element
java.lang.Object getMessageSort(java.lang.Object handle)
handle
- the message
java.util.Collection getSuccessors(java.lang.Object handle)
handle
- the message
java.util.Collection getActivatedMessages(java.lang.Object handle)
handle
- Message
java.util.Collection getReceivedMessages(java.lang.Object handle)
handle
- the ClassifierRole
java.util.Collection getSentMessages(java.lang.Object handle)
handle
- the ClassifierRole
java.lang.Object getInnerContainingModel(java.lang.Object handle)
If no containing Model can be found, the outermost containing ModelElement is returned (which could be the original element itself if it has no owner).
This method is intended to return the innermost
containing Model, but there are circumstances where one may
really expect the outermost containing Model or root package to
be returned (e.g. where
it's being used to test if two elements are from disjoint namespace
hierarchies). Hence, there are two separate methods
with different semantics. The method getRoot(Object)
returns the outermost containing object.
TODO: Note also that some code uses org.argouml.kernel.Project#getRoot() to navigate down from the top instead of up from the bottom. We need to use a consistent algorithm for this. - tfm 20070724
handle
- to the model element.
java.lang.Object getRoot(java.lang.Object handle)
handle
- to the model element.
java.util.Collection getRootElements()
For ArgoUML created models this will typically just return a single top level Model model element, but models created by other tools may have other top level elements.
java.lang.Object getModelElement(java.lang.Object handle)
handle
- an Element Import or TaggedValue.
java.lang.Object getMultiplicity(java.lang.Object handle)
handle
- model element to retrieve from.
An exception is thrown if null.
java.util.Collection getComments(java.lang.Object handle)
handle
- the ModelElement that we are getting the comments of
java.util.Collection getAnnotatedElements(java.lang.Object handle)
handle
- the Comment that we are getting the model elements of
java.lang.Object getCommunicationConnection(java.lang.Object handle)
handle
- the Message for which to find the communicationConnection
java.lang.Object getCommunicationLink(java.lang.Object handle)
handle
- the Stimulus for which to find the communicationLink
java.util.Collection getCollaborations(java.lang.Object handle)
handle
- the model element that we are getting the collaborations of.
java.lang.Object getComponentInstance(java.lang.Object handle)
handle
- the Instance
java.util.Collection getConstrainingElements(java.lang.Object handle)
handle
- the Collaboration
java.util.List getConstrainedElements(java.lang.Object handle)
handle
- the Constraint
java.util.Collection getConstraints(java.lang.Object handle)
handle
- the ModelElement
java.lang.Object getModelElementContainer(java.lang.Object handle)
This is principally intended as a convenience function for generic code that deals with a variety of element types that just wants a parent of some type without really caring what it is.
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 always a model.
In the future, this function could return the container of Figs too.
handle
- is the base
java.util.List getModelElementContents(java.lang.Object handle)
handle
- ModelElement for which to fetch components
java.util.List getModelElementAssociated(java.lang.Object handle)
This is useful for traversing the model to find elements which are related in ANY way to the current element.
handle
- ModelElement for which to find associated elements
java.lang.Object getContainer(java.lang.Object handle)
ElementResidence support is new in UML 1.4 (was getImplementationLocation)
handle
- the StateVertex or ElementResidence
java.util.Collection getContents(java.lang.Object handle)
handle
- the Partition
java.lang.Object getContext(java.lang.Object handle)
handle
- the StateMachine or the Interaction
java.util.Collection getContexts(java.lang.Object handle)
handle
- the Signal
java.util.Collection getCreateActions(java.lang.Object handle)
handle
- the Classifier
java.lang.Object getDefaultValue(java.lang.Object handle)
handle
- the Parameter that we are getting the defaultvalue from
java.util.Collection getDeferrableEvents(java.lang.Object handle)
handle
- the state that we are getting the deferrable event from
java.util.Collection getDeployedComponents(java.lang.Object handle)
handle
- the given Node
java.util.Collection getDeploymentLocations(java.lang.Object handle)
handle
- the Componet
@Deprecated java.lang.Object getDiscriminator(java.lang.Object handle)
handle
- the Generalization
java.lang.Object getDispatchAction(java.lang.Object handle)
handle
- the stimulus that we are getting the dispatchaction of
java.lang.Object getDoActivity(java.lang.Object handle)
handle
- the state
java.util.Collection getImportedElements(java.lang.Object pack)
pack
- package to retrieve from.
java.lang.Object getImportedElement(java.lang.Object elementImport)
elementImport
- the given ElementImport
java.util.Collection getLinks(java.lang.Object handle)
handle
- the Association
java.util.Collection getLinkEnds(java.lang.Object handle)
handle
- the candidate
java.lang.String getLocation(java.lang.Object handle)
handle
- ExtensionPoint
java.util.Collection getMethods(java.lang.Object handle)
handle
- the operation that we are getting the methods of
java.lang.Object getNamespace(java.lang.Object handle)
handle
- the model element that we are getting the namespace of
java.lang.Object getNodeInstance(java.lang.Object handle)
handle
- the model element that we are getting the node instance of
java.util.Collection getObjectFlowStates(java.lang.Object handle)
handle
- the classifier
java.lang.Object getOperation(java.lang.Object handle)
handle
- the model element that we are getting the operation of
java.util.Collection getOccurrences(java.lang.Object handle)
handle
- the Opration
java.util.List getOperations(java.lang.Object handle)
handle
- classifier to examine.
java.util.List getOperationsAndReceptions(java.lang.Object handle)
handle
- classifier to examine.
java.lang.Object getNextEnd(java.lang.Object handle)
handle
- the AssociationEnd
java.lang.Object getOrdering(java.lang.Object handle)
handle
- association end to retrieve from
java.util.Collection getOutgoings(java.lang.Object handle)
handle
- statevertex
java.util.Collection getOtherAssociationEnds(java.lang.Object handle)
handle
- association end to start from
java.util.Collection getOtherLinkEnds(java.lang.Object handle)
handle
- link end to start from
java.util.Collection getOwnedElements(java.lang.Object handle)
handle
- namespace to retrieve from.
java.lang.Object getPowertype(java.lang.Object handle)
handle
- generalization
java.util.Collection getPowertypeRanges(java.lang.Object handle)
handle
- classifier to retrieve from
java.util.Collection getPredecessors(java.lang.Object handle)
handle
- message to retrieve from
java.util.List getQualifiers(java.lang.Object handle)
handle
- association end to retrieve from
boolean hasReturnParameterDirectionKind(java.lang.Object handle)
isReturn(Object)
handle
- the parameter
java.lang.Object getPackage(java.lang.Object handle)
handle
- the ElementImport
java.lang.Object getParameter(java.lang.Object handle)
handle
- the TemplateParameter
java.lang.Object getParameter(java.lang.Object handle, int n)
handle
- behavioral feature to retrieve fromn
- parameter number
java.util.Collection getParameters(java.lang.Object handle)
handle
- operation to retrieve from
java.util.List getParametersList(java.lang.Object handle)
handle
- operation to retrieve from
java.lang.Object getGeneral(java.lang.Object handle)
handle
- generalization.
java.util.Collection getRaisedSignals(java.lang.Object handle)
handle
- the operation
java.util.Collection getRaisedExceptions(java.lang.Object handle)
handle
- the operation
java.util.Collection getReceptions(java.lang.Object handle)
handle
- the signal
java.lang.Object getRecurrence(java.lang.Object handle)
handle
- the action.
java.lang.Object getRepresentedClassifier(java.lang.Object handle)
handle
- the collaboration
java.lang.Object getRepresentedOperation(java.lang.Object handle)
handle
- the collaboration
java.lang.Object getScript(java.lang.Object handle)
handle
- the action
java.lang.Object getSender(java.lang.Object handle)
handle
- the stimulus or message
java.lang.Object getSignal(java.lang.Object handle)
handle
- the object
java.lang.Object getResident(java.lang.Object handle)
handle
- the ElementResidence
java.util.Collection getResidentElements(java.lang.Object handle)
handle
- the Component
java.util.Collection getResidents(java.lang.Object handle)
handle
- the Component, NodeInstance, ComponentInstance
java.lang.Object getSource(java.lang.Object handle)
handle
- the transition
java.util.Collection getSources(java.lang.Object handle)
handle
- the flow or DirectedRelationship
java.util.Collection getSourceFlows(java.lang.Object handle)
handle
- the model element
java.util.Collection getSpecializations(java.lang.Object handle)
handle
- GeneralizableElement to retrieve from.
java.lang.Object getStateMachine(java.lang.Object handle)
handle
- the state or transition
java.lang.Object getState(java.lang.Object handle)
handle
- the transition
java.util.Collection getStates(java.lang.Object handle)
handle
- the event
java.util.Collection getStereotypes(java.lang.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.
handle
- The model element.
java.util.Collection getStimuli(java.lang.Object handle)
handle
- the link
java.util.Collection getReceivedStimuli(java.lang.Object handle)
handle
- the Instance
java.util.Collection getSentStimuli(java.lang.Object handle)
handle
- the Instance
java.util.Collection getSubvertices(java.lang.Object handle)
handle
- the composite state
java.lang.Object getSubmachine(java.lang.Object handle)
handle
- the submachine state
java.util.Collection getSubmachineStates(java.lang.Object handle)
handle
- the submachine state
java.util.Collection getSupplierDependencies(java.lang.Object handle)
handle
- model element.
java.lang.Object getTop(java.lang.Object handle)
handle
- the state machine
java.lang.Object getTransition(java.lang.Object handle)
handle
- the guard or action
java.lang.Object getTrigger(java.lang.Object handle)
handle
- the transition
java.util.List getTriggers(java.lang.Object handle)
handle
- the transition
java.lang.Object getType(java.lang.Object handle)
handle
- the StructuralFeature, AssociationEnd, Parameter,
ObjectFlowState, TagDefinition, TaggedValue or ClassifierInState
java.util.Collection getTypedValues(java.lang.Object handle)
handle
- the TagDefinition
java.lang.Object getTarget(java.lang.Object handle)
handle
- the transition
java.util.Collection getTargets(java.lang.Object handle)
handle
- the relationship
@Deprecated java.lang.Object getTargetScope(java.lang.Object handle)
isStatic(Object)
can be used. For
StructuralFeatures, this has been removed from UML 2.x and
should no longer be used.
handle
- the model element
java.util.Collection getTargetFlows(java.lang.Object handle)
handle
- the model element
java.util.List getTemplateParameters(java.lang.Object handle)
handle
- the ModelElement
java.lang.Object getDefaultElement(java.lang.Object handle)
handle
- the TemplateParameter
java.lang.Object getTemplate(java.lang.Object handle)
handle
- the TemplateParameter
java.lang.Object getBinding(java.lang.Object handle)
handle
- the TemplateArgument
java.util.List getArguments(java.lang.Object handle)
handle
- the binding
int getUpper(java.lang.Object handle)
handle
- a model element
java.lang.Object getUseCase(java.lang.Object handle)
handle
- the ExtensionPoint
int getLower(java.lang.Object handle)
handle
- the model element
java.util.Collection getTransitions(java.lang.Object handle)
handle
- a StateMachine, CompositeState, or Event
java.util.List getStructuralFeatures(java.lang.Object handle)
handle
- the classifier to query.
java.lang.String getSpecification(java.lang.Object handle)
handle
- the Reception or Operation
CoreHelper.getSpecification(Object)
java.util.Collection getSpecifications(java.lang.Object handle)
When returning Interfaces it follows all Abstraction depencies which have the "realize" Stereotype and returns the Interfaces at the far end.
handle
- the class you want to have the interfaces for
java.util.Collection getSuppliers(java.lang.Object handle)
handle
- the dependency
java.lang.Object getAction(java.lang.Object handle)
handle
- the message or argument.
java.util.List getActions(java.lang.Object handle)
handle
- the ActionSequence.
java.lang.Object getActionSequence(java.lang.Object handle)
handle
- the Action.
java.lang.Object getActivator(java.lang.Object handle)
handle
- the message
java.lang.Object getActivityGraph(java.lang.Object handle)
handle
- the partition
java.lang.Object getActivity(java.lang.Object handle)
handle
- the activitynode
java.util.List getActualArguments(java.lang.Object handle)
handle
- the action
java.lang.Object getAddition(java.lang.Object handle)
handle
- the include
java.lang.Object getAggregation(java.lang.Object handle)
handle
- the AssociationEnd
java.lang.Object getAggregation1(java.lang.Object handle)
handle
- the AssociationEnd
java.lang.Object getAggregation2(java.lang.Object handle)
handle
- the AssociationEnd
java.lang.String getAlias(java.lang.Object handle)
handle
- the ElementImport
java.util.Collection getAssociatedClasses(java.lang.Object handle)
handle
- the classifier
java.lang.String getName(java.lang.Object handle)
handle
- that points out the object.
java.lang.Object getOwner(java.lang.Object handle)
handle
- the Feature, TagDefinition, Attribute, or TemplateParameter
java.lang.String getTag(java.lang.Object handle)
handle
- the given tagged value
java.util.Iterator getTaggedValues(java.lang.Object handle)
handle
- The tagged values belong to this.
java.util.Collection getTaggedValuesCollection(java.lang.Object handle)
handle
- the ModelElement
java.lang.Object getTaggedValue(java.lang.Object handle, java.lang.String name)
Warning: this method returns only the first TaggedValue found with the given name. Hence, this method is a simplification of the real problem and should be avoided.
handle
- The model element the tagged value belongs to.name
- The tag name.
java.lang.String getTaggedValueValue(java.lang.Object handle, java.lang.String name)
handle
- The model element that the tagged value belongs to.name
- The tag name.
java.lang.String getTagOfTag(java.lang.Object handle)
handle
- The tagged value.
java.lang.Object getValue(java.lang.Object handle)
handle
- Object
java.lang.String getValueOfTag(java.lang.Object handle)
handle
- The tagged value.
java.lang.Object getValueOfTag(java.lang.Object handle, java.lang.Object property)
handle
- The owning element.property
- The property (tagged value).
java.util.Collection getReferenceValue(java.lang.Object taggedValue)
taggedValue
- the tagged value to read from
java.util.Collection getDataValue(java.lang.Object taggedValue)
taggedValue
- taggedValue the tagged value to read from
java.lang.String getUUID(java.lang.Object element)
element
- ModelElement to retrieve ID for.
java.lang.Object getVisibility(java.lang.Object handle)
handle
- a model element
java.util.Collection getPartitions(java.lang.Object container)
container
- The container.
java.lang.String getReferenceState(java.lang.Object o)
o
- Stub State
java.lang.Object lookupIn(java.lang.Object handle, java.lang.String name)
handle
- the object that we search throughname
- of the model element
java.lang.String getUMLClassName(java.lang.Object handle)
handle
- The object to check.
boolean isAArgument(java.lang.Object modelElement)
modelElement
- candidate
java.lang.String getTipString(java.lang.Object modelElement)
modelElement
- The model element for which to gerneate a tip
java.lang.String toString(java.lang.Object modelElement)
All implementations should return the same value as would be expected from the toString() method of the NSUML class MModelElement.
modelElement
- The model element for which to convert to text
java.lang.Object getWhen(java.lang.Object target)
target
- The TimeEvent.
java.lang.Object getChangeExpression(java.lang.Object target)
target
- The ChangeEvent.
boolean isATagDefinition(java.lang.Object handle)
handle
- candidate
java.util.Collection getTagDefinitions(java.lang.Object handle)
handle
- Stereotype to fetch TagDefinitions for
java.lang.Object getTagDefinition(java.lang.Object handle)
handle
- TaggedValue to return TagDefinition for
boolean isSynch(java.lang.Object handle)
handle
- the ObjectFlowState
boolean isStatic(java.lang.Object handle)
For UML 1.4 it fetches the ownerScope for StructuralFeatures and the
targetScope for AssociationEnds. It returns true
if the
value is ScopeKind.SK_CLASSIFIER
.
handle
- the Feature or AssociationEnd
boolean isReadOnly(java.lang.Object handle)
handle
- the StructuralFeature
java.lang.String[] getMetatypeNames()
boolean isA(java.lang.String metatypeName, java.lang.Object element)
metatypeName
- the name of the metatype given as a string. Use the
name as given in the UML spec, not any specific
implementation's renaming (ie Class, not UmlClass which has
been renamed to avoid a Java conflict)element
- the UML element to test
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |