org.argouml.model
Interface MetaTypes


public interface MetaTypes

This interface contains methods to retrieve objects that represent the different UML types. These objects are use as tokens used to create model elements in some methods. TODO: There are parts of ArgoUML which assume that the objects returned here are Classes. We should formalize that by changing the return types to match. tfm - 20070620

See Also:
UmlFactory.buildConnection( Object, Object, Object, Object, Object, Object, Object), UmlFactory.buildNode(Object)

Method Summary
 java.lang.Object getAbstraction()
           
 java.lang.Object getAction()
           
 java.lang.Object getActionExpression()
           
 java.lang.Object getActionState()
           
 java.lang.Object getActor()
           
 java.lang.Object getAggregationKind()
           
 java.lang.Object getArtifact()
           
 java.lang.Object getAssociation()
           
 java.lang.Object getAssociationClass()
           
 java.lang.Object getAssociationEnd()
           
 java.lang.Object getAssociationEndRole()
           
 java.lang.Object getAssociationRole()
           
 java.lang.Object getAttribute()
           
 java.lang.Object getBehavioralFeature()
           
 java.lang.Object getBooleanExpression()
           
 java.lang.Object getCallAction()
           
 java.lang.Object getCallConcurrencyKind()
           
 java.lang.Object getCallState()
           
 java.lang.Object getClassifier()
           
 java.lang.Object getClassifierRole()
           
 java.lang.Object getCollaboration()
           
 java.lang.Object getComment()
           
 java.lang.Object getComponent()
           
 java.lang.Object getComponentInstance()
           
 java.lang.Object getCompositeState()
           
 java.lang.Object getConstraint()
           
 java.lang.Object getCreateAction()
           
 java.lang.Object getDataType()
           
 java.lang.Object getDependency()
           
 java.lang.Object getDestroyAction()
           
 java.lang.Object getElementImport()
           
 java.lang.Object getEnumeration()
           
 java.lang.Object getEnumerationLiteral()
           
 java.lang.Object getEvent()
           
 java.lang.Object getException()
           
 java.lang.Object getExtend()
           
 java.lang.Object getExtensionPoint()
           
 java.lang.Object getFinalState()
           
 java.lang.Object getGeneralizableElement()
           
 java.lang.Object getGeneralization()
           
 java.lang.Object getGuard()
           
 java.lang.Object getInclude()
           
 java.lang.Object getInstance()
           
 java.lang.Object getInteraction()
           
 java.lang.Object getInterface()
           
 java.lang.Object getLink()
           
 java.lang.Object getMessage()
           
 java.lang.Object getModel()
           
 java.lang.Object getModelElement()
           
 java.lang.Object getMultiplicity()
           
 java.lang.String getName(java.lang.Object element)
          Given a Element instance returns the name of its meta type.
 java.lang.Object getNamespace()
           
 java.lang.Object getNode()
           
 java.lang.Object getNodeInstance()
           
 java.lang.Object getObject()
           
 java.lang.Object getObjectFlowState()
           
 java.lang.Object getOperation()
           
 java.lang.Object getPackage()
           
 java.lang.Object getPackageImport()
           
 java.lang.Object getParameter()
           
 java.lang.Object getParameterDirectionKind()
           
 java.lang.Object getPartition()
           
 java.lang.Object getPermission()
          Deprecated. for 0.25.4 by tfmorris. Removed for UML 2.x. Use getPackageImport().
 java.lang.Object getPseudostate()
           
 java.lang.Object getPseudostateKind()
           
 java.lang.Object getReception()
           
 java.lang.Object getReturnAction()
           
 java.lang.Object getScopeKind()
           
 java.lang.Object getSendAction()
           
 java.lang.Object getSignal()
           
 java.lang.Object getSimpleState()
           
 java.lang.Object getState()
           
 java.lang.Object getStateMachine()
           
 java.lang.Object getStateVertex()
           
 java.lang.Object getStereotype()
           
 java.lang.Object getStimulus()
           
 java.lang.Object getStubState()
           
 java.lang.Object getSubactivityState()
           
 java.lang.Object getSubmachineState()
           
 java.lang.Object getSubsystem()
           
 java.lang.Object getSynchState()
           
 java.lang.Object getTagDefinition()
          Return the TagDefinition class.
 java.lang.Object getTaggedValue()
          Return the TaggedValue class.
 java.lang.Object getTerminateAction()
           
 java.lang.Object getTransition()
           
 java.lang.Object getUMLClass()
          Return the UML Class class.
 java.lang.Object getUsage()
           
 java.lang.Object getUseCase()
           
 java.lang.Object getVisibilityKind()
           
 

Method Detail

getName

java.lang.String getName(java.lang.Object element)
Given a Element instance returns the name of its meta type.

Parameters:
element - The model element.
Returns:
The name of the meta type.

getAbstraction

java.lang.Object getAbstraction()
Returns:
Returns the Abstraction.

getAction

java.lang.Object getAction()
Returns:
Returns the Action.

getActionExpression

java.lang.Object getActionExpression()
Returns:
Returns the ActionExpression.

getActionState

java.lang.Object getActionState()
Returns:
Returns the ActionState.

getActor

java.lang.Object getActor()
Returns:
Returns the Actor.

getAggregationKind

java.lang.Object getAggregationKind()
Returns:
Returns the AggregationKind.

getArtifact

java.lang.Object getArtifact()
Returns:
return Artifact type.

getAssociation

java.lang.Object getAssociation()
Returns:
Returns the Association.

getAssociationClass

java.lang.Object getAssociationClass()
Returns:
Returns the AssociationClass.

getAssociationEnd

java.lang.Object getAssociationEnd()
Returns:
Returns the AssociationEnd.

getAssociationEndRole

java.lang.Object getAssociationEndRole()
Returns:
Returns the AssociationEndRole.

getAssociationRole

java.lang.Object getAssociationRole()
Returns:
Returns the AssociationRole.

getAttribute

java.lang.Object getAttribute()
Returns:
Returns the Attribute.

getBehavioralFeature

java.lang.Object getBehavioralFeature()
Returns:
Returns the BehavioralFeature.

getBooleanExpression

java.lang.Object getBooleanExpression()
Returns:
Returns the BooleanExpression.

getCallAction

java.lang.Object getCallAction()
Returns:
Returns the CallAction.

getCallConcurrencyKind

java.lang.Object getCallConcurrencyKind()
Returns:
Returns the CallConcurrencyKind.

getCallState

java.lang.Object getCallState()
Returns:
Returns the CallState.

getUMLClass

java.lang.Object getUMLClass()
Return the UML Class class. This method has a special name because Java already uses the getClass() method.

Returns:
Returns the Class.

getClassifier

java.lang.Object getClassifier()
Returns:
Returns the Classifier.

getClassifierRole

java.lang.Object getClassifierRole()
Returns:
Returns the ClassifierRole.

getCollaboration

java.lang.Object getCollaboration()
Returns:
Returns the Collaboration.

getComment

java.lang.Object getComment()
Returns:
Returns the Comment.

getComponent

java.lang.Object getComponent()
Returns:
Returns the Component.

getComponentInstance

java.lang.Object getComponentInstance()
Returns:
Returns the ComponentInstance.

getCompositeState

java.lang.Object getCompositeState()
Returns:
Returns the CompositeState.

getConstraint

java.lang.Object getConstraint()
Returns:
Return the Constraint type.

getCreateAction

java.lang.Object getCreateAction()
Returns:
Returns the CreateAction.

getDataType

java.lang.Object getDataType()
Returns:
Returns the Datatype.

getDependency

java.lang.Object getDependency()
Returns:
Returns the Dependency.

getDestroyAction

java.lang.Object getDestroyAction()
Returns:
Returns the DestroyAction.

getElementImport

java.lang.Object getElementImport()
Returns:
the ElementImport class.

getEnumeration

java.lang.Object getEnumeration()
Returns:
Returns the Enumeration.

getEnumerationLiteral

java.lang.Object getEnumerationLiteral()
Returns:
Returns the Enumeration.

getEvent

java.lang.Object getEvent()
Returns:
Returns the Event.

getException

java.lang.Object getException()
Returns:
Returns the Exception.

getExtend

java.lang.Object getExtend()
Returns:
Returns the Extend.

getExtensionPoint

java.lang.Object getExtensionPoint()
Returns:
Returns the ExtensionPoint type.

getFinalState

java.lang.Object getFinalState()
Returns:
Returns the FinalState.

getGeneralizableElement

java.lang.Object getGeneralizableElement()
Returns:
Returns the GeneralizableElement.

getGeneralization

java.lang.Object getGeneralization()
Returns:
Returns the Generalization.

getGuard

java.lang.Object getGuard()
Returns:
Returns the Guard.

getInclude

java.lang.Object getInclude()
Returns:
Returns the Include.

getInstance

java.lang.Object getInstance()
Returns:
Returns the Instance.

getInterface

java.lang.Object getInterface()
Returns:
Returns the Interface.

getLink

java.lang.Object getLink()
Returns:
Returns the Link.

getMessage

java.lang.Object getMessage()
Returns:
Returns the Message.

getModel

java.lang.Object getModel()
Returns:
Returns the Model.

getModelElement

java.lang.Object getModelElement()
Returns:
Returns the ModelElement.

getMultiplicity

java.lang.Object getMultiplicity()
Returns:
Returns the Multiplicity.

getNamespace

java.lang.Object getNamespace()
Returns:
Returns the Namespace.

getNode

java.lang.Object getNode()
Returns:
Returns the Node.

getNodeInstance

java.lang.Object getNodeInstance()
Returns:
Returns the NodeInstance.

getObject

java.lang.Object getObject()
Returns:
Returns the Object.

getObjectFlowState

java.lang.Object getObjectFlowState()
Returns:
Returns the ObjectFlowState.

getOperation

java.lang.Object getOperation()
Returns:
Returns the Operation.

getPackage

java.lang.Object getPackage()
Returns:
Returns the Package.

getParameter

java.lang.Object getParameter()
Returns:
Returns the Parameter.

getParameterDirectionKind

java.lang.Object getParameterDirectionKind()
Returns:
Returns the ParameterDirectionKind.

getPartition

java.lang.Object getPartition()
Returns:
Returns the Partition.

getPermission

java.lang.Object getPermission()
Deprecated. for 0.25.4 by tfmorris. Removed for UML 2.x. Use getPackageImport().

Returns:
Returns the Permission.

getPackageImport

java.lang.Object getPackageImport()
Returns:
Return the PackageImport type.
Since:
UML 2.0

getPseudostate

java.lang.Object getPseudostate()
Returns:
Returns the Pseudostate.

getPseudostateKind

java.lang.Object getPseudostateKind()
Returns:
Returns the PseudostateKind.

getReception

java.lang.Object getReception()
Returns:
Returns the Reception.

getReturnAction

java.lang.Object getReturnAction()
Returns:
Returns the ReturnAction.

getScopeKind

java.lang.Object getScopeKind()
Returns:
Returns the ScopeKind.

getSendAction

java.lang.Object getSendAction()
Returns:
Returns the SendAction.

getSignal

java.lang.Object getSignal()
Returns:
Returns the Signal.

getSimpleState

java.lang.Object getSimpleState()
Returns:
Returns the SimpleState.

getState

java.lang.Object getState()
Returns:
Returns the State.

getStateMachine

java.lang.Object getStateMachine()
Returns:
Returns the StateMachine.

getStateVertex

java.lang.Object getStateVertex()
Returns:
Returns the StateVertex.

getStereotype

java.lang.Object getStereotype()
Returns:
Returns the Stereotype.

getStimulus

java.lang.Object getStimulus()
Returns:
Returns the Stimulus.

getStubState

java.lang.Object getStubState()
Returns:
Returns the StubState.

getSubactivityState

java.lang.Object getSubactivityState()
Returns:
Returns the SubactivityState.

getSubmachineState

java.lang.Object getSubmachineState()
Returns:
Returns the SubmachineState.

getSubsystem

java.lang.Object getSubsystem()
Returns:
Returns the Subsystem.

getSynchState

java.lang.Object getSynchState()
Returns:
Returns the SynchState.

getTagDefinition

java.lang.Object getTagDefinition()
Return the TagDefinition class.

Returns:
Returns the TagDefinition, or null in UML 1.3 Model subsystem implementations.
Since:
UML 1.4

getTaggedValue

java.lang.Object getTaggedValue()
Return the TaggedValue class.

Returns:
Returns the TaggedValue class

getTerminateAction

java.lang.Object getTerminateAction()
Returns:
Returns the TerminateAction.

getTransition

java.lang.Object getTransition()
Returns:
Returns the Transition.

getUsage

java.lang.Object getUsage()
Returns:
Returns the Usage.

getUseCase

java.lang.Object getUseCase()
Returns:
Returns the Use Case.

getVisibilityKind

java.lang.Object getVisibilityKind()
Returns:
Returns the VisibilityKind.

getInteraction

java.lang.Object getInteraction()
Returns:
Returns the Interaction


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Cookbook