Author: tfmorris
Date: 2007-05-09 00:10:35-0700
New Revision: 12571
Modified:
trunk/src/model/src/org/argouml/model/Facade.java
trunk/src/model/src/org/argouml/model/MetaTypes.java
Log:
Add missing recognizers and metatypes
Modified: trunk/src/model/src/org/argouml/model/Facade.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/model/src/org/argouml/model/Facade.java?view=diff&rev=12571&p1=trunk/src/model/src/org/argouml/model/Facade.java&p2=trunk/src/model/src/org/argouml/model/Facade.java&r1=12570&r2=12571
==============================================================================
--- trunk/src/model/src/org/argouml/model/Facade.java (original)
+++ trunk/src/model/src/org/argouml/model/Facade.java 2007-05-09 00:10:35-0700
@@ -157,6 +157,14 @@
boolean isAAggregationKind(Object handle);
/**
+ * Recognizer for Artifact.
+ *
+ * @param handle candidate
+ * @return true if handle is an Artifact
+ */
+ boolean isAArtifact(Object handle);
+
+ /**
* Recognizer for Association.
*
* @param handle candidate
@@ -197,6 +205,14 @@
boolean isAAttribute(Object handle);
/**
+ * Recognizer for AttributeLink.
+ *
+ * @param handle candidate
+ * @return true if handle is an AttributeLink
+ */
+ boolean isAAttributeLink(Object handle);
+
+ /**
* Recognizer for asynchronisity of an action.
*
* @param handle candidate
@@ -233,6 +249,14 @@
boolean isABehavioralFeature(Object handle);
/**
+ * Recognizer for Binding.
+ *
+ * @param handle candidate
+ * @return true if handle is a Binding
+ */
+ boolean isABinding(Object handle);
+
+ /**
* Recognizer for CallAction.
*
* @param handle candidate
@@ -313,6 +337,14 @@
boolean isACollaboration(Object handle);
/**
+ * Recognizer for CollaborationInstanceSet.
+ *
+ * @param handle candidate
+ * @return true if handle is a CollaborationInstanceSet
+ */
+ boolean isACollaborationInstanceSet(Object handle);
+
+ /**
* Recognizer for Component.
*
* @param handle candidate
@@ -459,6 +491,69 @@
boolean isAExpression(Object handle);
/**
+ * Recognizer for ArgListsExpression.
+ *
+ * @param handle candidate
+ * @return true if handle is an ArgListsExpression
+ */
+ boolean isAArgListsExpression(Object handle);
+
+ /**
+ * Recognizer for BooleanExpression.
+ *
+ * @param handle candidate
+ * @return true if handle is an BooleanExpression
+ */
+ boolean isABooleanExpression(Object handle);
+
+ /**
+ * Recognizer for IterationExpression.
+ *
+ * @param handle candidate
+ * @return true if handle is an IterationExpression
+ */
+ boolean isAIterationExpression(Object handle);
+
+ /**
+ * Recognizer for MappingExpression.
+ *
+ * @param handle candidate
+ * @return true if handle is an MappingExpression
+ */
+ boolean isAMappingExpression(Object handle);
+
+ /**
+ * Recognizer for ObjectSetExpression.
+ *
+ * @param handle candidate
+ * @return true if handle is an ObjectSetExpression
+ */
+ boolean isAObjectSetExpression(Object handle);
+ /**
+ * Recognizer for ProcedureExpression.
+ *
+ * @param handle candidate
+ * @return true if handle is an ProcedureExpression
+ */
+ boolean isAProcedureExpression(Object handle);
+
+ /**
+ * Recognizer for TimeExpression.
+ *
+ * @param handle candidate
+ * @return true if handle is an TimeExpression
+ */
+ boolean isATimeExpression(Object handle);
+
+ /**
+ * Recognizer for TypeExpression.
+ *
+ * @param handle candidate
+ * @return true if handle is an TypeExpression
+ */
+ boolean isATypeExpression(Object handle);
+
+ /**
* Recognizer for Extend.
*
* @param handle candidate
@@ -546,6 +641,15 @@
*/
boolean isAInteraction(Object handle);
+
+ /**
+ * Recognizer for InteractionInstanceSet.
+ *
+ * @param handle candidate
+ * @return true if handle is a InteractionInstanceSet
+ */
+ boolean isAInteractionInstanceSet(Object handle);
+
/**
* Recognizer for Interface.
*
@@ -571,6 +675,14 @@
boolean isALinkEnd(Object handle);
/**
+ * Recognizer for LinkObject.
+ *
+ * @param handle candidate
+ * @return true if handle is a LinkObject
+ */
+ boolean isALinkObject(Object handle);
+
+ /**
* Recognizer for Message.
*
* @param handle candidate
@@ -702,6 +814,23 @@
boolean isAPackage(Object handle);
/**
+ * Recognizer for Primitive.
+ *
+ * @param handle candidate
+ * @return true if handle is a Primitive
+ */
+ boolean isAPrimitive(Object handle);
+
+ /**
+ * Recognizer for ProgrammingLanguageDataType.
+ *
+ * @param handle candidate
+ * @return true if handle is a ProgrammingLanguageDataType
+ */
+ boolean isAProgrammingLanguageDataType(Object handle);
+
+
+ /**
* Recognizer for Pseudostate.
*
* @param handle candidate
@@ -890,6 +1019,14 @@
boolean isASubsystem(Object handle);
/**
+ * Recognizer for SubsystemInstance.
+ *
+ * @param handle candidate
+ * @return true if handle is a SubsystemInstance
+ */
+ boolean isASubsystemInstance(Object handle);
+
+ /**
* Recognizer for SynchState.
*
* @param handle candidate
@@ -906,6 +1043,23 @@
boolean isATaggedValue(Object handle);
/**
+ * Recognizer for TemplateArgument.
+ *
+ * @param handle candidate
+ * @return true if handle is a TemplateArgument
+ */
+ boolean isATemplateArgument(Object handle);
+
+
+ /**
+ * Recognizer for TemplateParameter.
+ *
+ * @param handle candidate
+ * @return true if handle is a TemplateParameter
+ */
+ boolean isATemplateParameter(Object handle);
+
+ /**
* Recognizer for TerminateAction.
*
* @param handle candidate
@@ -962,10 +1116,19 @@
* Recognizer for a UseCase.
*
* @param handle candidate
- * @return true if handle is a Transition
+ * @return true if handle is a UseCase
*/
boolean isAUseCase(Object handle);
+
+ /**
+ * Recognizer for a UseCaseInstance.
+ *
+ * @param handle candidate
+ * @return true if handle is a UseCaseInstance
+ */
+ boolean isAUseCaseInstance(Object handle);
+
/**
* Recognizer for VisibilityKind.
*
Modified: trunk/src/model/src/org/argouml/model/MetaTypes.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/model/src/org/argouml/model/MetaTypes.java?view=diff&rev=12571&p1=trunk/src/model/src/org/argouml/model/MetaTypes.java&p2=trunk/src/model/src/org/argouml/model/MetaTypes.java&r1=12570&r2=12571
==============================================================================
--- trunk/src/model/src/org/argouml/model/MetaTypes.java (original)
+++ trunk/src/model/src/org/argouml/model/MetaTypes.java 2007-05-09 00:10:35-0700
@@ -194,6 +194,11 @@
* @return Returns the Enumeration.
*/
Object getEnumeration();
+
+ /**
+ * @return Returns the Enumeration.
+ */
+ Object getEnumerationLiteral();
/**
* @return Returns the Event.
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.