The following document contains the results of PMD's CPD 5.0.5.
File | Line |
---|---|
org\andromda\cartridges\ejb3\metafacades\EJB3InterceptorFacadeLogic.java | 244 |
org\andromda\cartridges\ejb3\metafacades\EJB3MessageDrivenFacadeLogic.java | 1077 |
} /** * @return true * @see Service */ public boolean isServiceMetaType() { return true; } /** * @return true * @see ClassifierFacade */ public boolean isClassifierFacadeMetaType() { return true; } /** * @return true * @see GeneralizableElementFacade */ public boolean isGeneralizableElementFacadeMetaType() { return true; } /** * @return true * @see ModelElementFacade */ public boolean isModelElementFacadeMetaType() { return true; } // ----------- delegates to Service ------------ /** * Return the attribute which name matches the parameter * @see ClassifierFacade#findAttribute(String name) */ public AttributeFacade findAttribute(String name) { return this.getSuperService().findAttribute(name); } /** * Those abstraction dependencies for which this classifier is the client. * @see ClassifierFacade#getAbstractions() */ public Collection<ClassifierFacade> getAbstractions() { return this.getSuperService().getAbstractions(); } /** * Lists all classes associated to this one and any ancestor classes (through generalization). * There will be no duplicates. The order of the elements is predictable. * @see ClassifierFacade#getAllAssociatedClasses() */ public Collection<ClassifierFacade> getAllAssociatedClasses() { return this.getSuperService().getAllAssociatedClasses(); } /** * A collection containing all 'properties' of the classifier and its ancestors. Properties are * any attributes and navigable connecting association ends. * @see ClassifierFacade#getAllProperties() */ public Collection<ModelElementFacade> getAllProperties() { return this.getSuperService().getAllProperties(); } /** * A collection containing all required and/or read-only 'properties' of the classifier and its * ancestors. Properties are any attributes and navigable connecting association ends. * @see ClassifierFacade#getAllRequiredConstructorParameters() */ public Collection<ModelElementFacade> getAllRequiredConstructorParameters() { return this.getSuperService().getAllRequiredConstructorParameters(); } /** * Gets the array type for this classifier. If this classifier already represents an array, it * just returns itself. * @see ClassifierFacade#getArray() */ public ClassifierFacade getArray() { return this.getSuperService().getArray(); } /** * The name of the classifier as an array. * @see ClassifierFacade#getArrayName() */ public String getArrayName() { return this.getSuperService().getArrayName(); } /** * Lists the classes associated to this one, there is no repitition of classes. The order of the * elements is predictable. * @see ClassifierFacade#getAssociatedClasses() */ public Collection<ClassifierFacade> getAssociatedClasses() { return this.getSuperService().getAssociatedClasses(); } /** * Gets the association ends belonging to a classifier. * @see ClassifierFacade#getAssociationEnds() */ public List<AssociationEndFacade> getAssociationEnds() { return this.getSuperService().getAssociationEnds(); } /** * Gets the attributes that belong to the classifier. * @see ClassifierFacade#getAttributes() */ public List<AttributeFacade> getAttributes() { return this.getSuperService().getAttributes(); } /** * Gets all attributes for the classifier and if 'follow' is true goes up the inheritance * hierarchy and gets the attributes from the super classes as well. * @see ClassifierFacade#getAttributes(boolean follow) */ public List<AttributeFacade> getAttributes(boolean follow) { return this.getSuperService().getAttributes(follow); } /** * The fully qualified name of the classifier as an array. * @see ClassifierFacade#getFullyQualifiedArrayName() */ public String getFullyQualifiedArrayName() { return this.getSuperService().getFullyQualifiedArrayName(); } /** * Returns all those operations that could be implemented at this classifier's level. This means * the operations owned by this classifier as well as any realized interface's operations * (recursively) in case this classifier itself is not already an interface, or generalized when * this classifier is an interface. * @see ClassifierFacade#getImplementationOperations() */ public Collection<OperationFacade> getImplementationOperations() { return this.getSuperService().getImplementationOperations(); } /** * A comma separated list of the fully qualified names of all implemented interfaces. * @see ClassifierFacade#getImplementedInterfaceList() */ public String getImplementedInterfaceList() { return this.getSuperService().getImplementedInterfaceList(); } /** * Those attributes that are scoped to an instance of this class. * @see ClassifierFacade#getInstanceAttributes() */ public Collection<AttributeFacade> getInstanceAttributes() { return this.getSuperService().getInstanceAttributes(); } /** * Those operations that are scoped to an instance of this class. * @see ClassifierFacade#getInstanceOperations() */ public List<OperationFacade> getInstanceOperations() { return this.getSuperService().getInstanceOperations(); } /** * Those interfaces that are abstractions of this classifier, this basically means this * classifier realizes them. * @see ClassifierFacade#getInterfaceAbstractions() */ public Collection<ClassifierFacade> getInterfaceAbstractions() { return this.getSuperService().getInterfaceAbstractions(); } /** * A String representing a new Constructor declaration for this classifier type to be used in a * Java environment. * @see ClassifierFacade#getJavaNewString() */ public String getJavaNewString() { return this.getSuperService().getJavaNewString(); } /** * A String representing the null-value for this classifier type to be used in a Java * environment. * @see ClassifierFacade#getJavaNullString() */ public String getJavaNullString() { return this.getSuperService().getJavaNullString(); } /** * The other ends of this classifier's association ends which are navigable. * @see ClassifierFacade#getNavigableConnectingEnds() */ public Collection<AssociationEndFacade> getNavigableConnectingEnds() { return this.getSuperService().getNavigableConnectingEnds(); } /** * Get the other ends of this classifier's association ends which are navigable and if 'follow' * is true goes up the inheritance hierarchy and gets the super association ends as well. * @see ClassifierFacade#getNavigableConnectingEnds(boolean follow) */ public List<AssociationEndFacade> getNavigableConnectingEnds(boolean follow) { return this.getSuperService().getNavigableConnectingEnds(follow); } /** * Assuming that the classifier is an array, this will return the non array type of the * classifier from * the model. If the classifier is NOT an array, it will just return itself. * @see ClassifierFacade#getNonArray() */ public ClassifierFacade getNonArray() { return this.getSuperService().getNonArray(); } /** * The attributes from this classifier in the form of an operation call (this example would be * in Java): '(String attributeOne, String attributeTwo). If there were no attributes on the * classifier, the result would be an empty '()'. * @see ClassifierFacade#getOperationCallFromAttributes() */ public String getOperationCallFromAttributes() { return this.getSuperService().getOperationCallFromAttributes(); } /** * The operations owned by this classifier. * @see ClassifierFacade#getOperations() */ public List<OperationFacade> getOperations() { return this.getSuperService().getOperations(); } /** * A collection containing all 'properties' of the classifier. Properties are any attributes * and navigable connecting association ends. * @see ClassifierFacade#getProperties() */ public List<ModelElementFacade> getProperties() { return this.getSuperService().getProperties(); } /** * Gets all properties (attributes and navigable association ends) for the classifier and if * 'follow' is true goes up the inheritance hierarchy and gets the properties from the super * classes as well. * @see ClassifierFacade#getProperties(boolean follow) */ public List getProperties(boolean follow) { return this.getSuperService().getProperties(follow); } /** * A collection containing all required and/or read-only 'properties' of the classifier. * Properties are any attributes and navigable connecting association ends. * @see ClassifierFacade#getRequiredConstructorParameters() */ public Collection<ModelElementFacade> getRequiredConstructorParameters() { return this.getSuperService().getRequiredConstructorParameters(); } /** * Returns the serial version UID of the underlying model element. * @see ClassifierFacade#getSerialVersionUID() */ public long getSerialVersionUID() { return this.getSuperService().getSerialVersionUID(); } /** * Those attributes that are scoped to the definition of this class. * @see ClassifierFacade#getStaticAttributes() */ public Collection<AttributeFacade> getStaticAttributes() { return this.getSuperService().getStaticAttributes(); } /** * Those operations that are scoped to the definition of this class. * @see ClassifierFacade#getStaticOperations() */ public List<OperationFacade> getStaticOperations() { return this.getSuperService().getStaticOperations(); } /** * This class' superclass, returns the generalization if it is a ClassifierFacade, null * otherwise. * @see ClassifierFacade#getSuperClass() */ public ClassifierFacade getSuperClass() { return this.getSuperService().getSuperClass(); } /** * The wrapper name for this classifier if a mapped type has a defined wrapper class (ie. 'long' * maps to 'Long'). If the classifier doesn't have a wrapper defined for it, this method will * return a null. Note that wrapper mappings must be defined for the namespace by defining the * 'wrapperMappingsUri', this property must point to the location of the mappings file which * maps the primitives to wrapper types. * @see ClassifierFacade#getWrapperName() */ public String getWrapperName() { return this.getSuperService().getWrapperName(); } /** * Indicates if this classifier is 'abstract'. * @see ClassifierFacade#isAbstract() */ public boolean isAbstract() { return this.getSuperService().isAbstract(); } /** * True if this classifier represents an array type. False otherwise. * @see ClassifierFacade#isArrayType() */ public boolean isArrayType() { return this.getSuperService().isArrayType(); } /** * True if the ClassifierFacade is an AssociationClass. * @see ClassifierFacade#isAssociationClass() */ public boolean isAssociationClass() { return this.getSuperService().isAssociationClass(); } /** * Returns true if this type represents a Blob type. * @see ClassifierFacade#isBlobType() */ public boolean isBlobType() { return this.getSuperService().isBlobType(); } /** * Indicates if this type represents a boolean type or not. * @see ClassifierFacade#isBooleanType() */ public boolean isBooleanType() { return this.getSuperService().isBooleanType(); } /** * Indicates if this type represents a char, Character, or java.lang.Character type or not. * @see ClassifierFacade#isCharacterType() */ public boolean isCharacterType() { return this.getSuperService().isCharacterType(); } /** * Returns true if this type represents a Clob type. * @see ClassifierFacade#isClobType() */ public boolean isClobType() { return this.getSuperService().isClobType(); } /** * True if this classifier represents a collection type. False otherwise. * @see ClassifierFacade#isCollectionType() */ public boolean isCollectionType() { return this.getSuperService().isCollectionType(); } /** * True/false depending on whether or not this classifier represents a datatype. A data type is * a type whose instances are identified only by their value. A data type may contain attributes * to support the modeling of structured data types. * @see ClassifierFacade#isDataType() */ public boolean isDataType() { return this.getSuperService().isDataType(); } /** * True when this classifier is a date type. * @see ClassifierFacade#isDateType() */ public boolean isDateType() { return this.getSuperService().isDateType(); } /** * Indicates if this type represents a Double type or not. * @see ClassifierFacade#isDoubleType() */ public boolean isDoubleType() { return this.getSuperService().isDoubleType(); } /** * Indicates whether or not this classifier represents an "EmbeddedValue'. * @see ClassifierFacade#isEmbeddedValue() */ public boolean isEmbeddedValue() { return this.getSuperService().isEmbeddedValue(); } /** * True if this classifier is in fact marked as an enumeration. * @see ClassifierFacade#isEnumeration() */ public boolean isEnumeration() { return this.getSuperService().isEnumeration(); } /** * Returns true if this type represents a 'file' type. * @see ClassifierFacade#isFileType() */ public boolean isFileType() { return this.getSuperService().isFileType(); } /** * Indicates if this type represents a Float type or not. * @see ClassifierFacade#isFloatType() */ public boolean isFloatType() { return this.getSuperService().isFloatType(); } /** * Indicates if this type represents an int or Integer or java.lang.Integer type or not. * @see ClassifierFacade#isIntegerType() */ public boolean isIntegerType() { return this.getSuperService().isIntegerType(); } /** * True/false depending on whether or not this Classifier represents an interface. * @see ClassifierFacade#isInterface() */ public boolean isInterface() { return this.getSuperService().isInterface(); } /** * True if this classifier cannot be extended and represent a leaf in the inheritance tree. * @see ClassifierFacade#isLeaf() */ public boolean isLeaf() { return this.getSuperService().isLeaf(); } /** * True if this classifier represents a list type. False otherwise. * @see ClassifierFacade#isListType() */ public boolean isListType() { return this.getSuperService().isListType(); } /** * Indicates if this type represents a Long type or not. * @see ClassifierFacade#isLongType() */ public boolean isLongType() { return this.getSuperService().isLongType(); } /** * Indicates whether or not this classifier represents a Map type. * @see ClassifierFacade#isMapType() */ public boolean isMapType() { return this.getSuperService().isMapType(); } /** * Indicates whether or not this classifier represents a primitive type. * @see ClassifierFacade#isPrimitive() */ public boolean isPrimitive() { return this.getSuperService().isPrimitive(); } /** * True if this classifier represents a set type. False otherwise. * @see ClassifierFacade#isSetType() */ public boolean isSetType() { return this.getSuperService().isSetType(); } /** * Indicates whether or not this classifier represents a string type. * @see ClassifierFacade#isStringType() */ public boolean isStringType() { return this.getSuperService().isStringType(); } /** * Indicates whether or not this classifier represents a time type. * @see ClassifierFacade#isTimeType() */ public boolean isTimeType() { return this.getSuperService().isTimeType(); } /** * Returns true if this type is a wrapped primitive type. * @see ClassifierFacade#isWrappedPrimitive() */ public boolean isWrappedPrimitive() { return this.getSuperService().isWrappedPrimitive(); } /** * Finds the tagged value optional searching the entire inheritance hierarchy if 'follow' is set * to true. * @see GeneralizableElementFacade#findTaggedValue(String tagName, boolean follow) */ public Object findTaggedValue(String tagName, boolean follow) { return this.getSuperService().findTaggedValue(tagName, follow); } /** * All generalizations for this generalizable element, goes up the inheritance tree. * @see GeneralizableElementFacade#getAllGeneralizations() */ public Collection<GeneralizableElementFacade> getAllGeneralizations() { return this.getSuperService().getAllGeneralizations(); } /** * All specializations (travels down the inheritance hierarchy). * @see GeneralizableElementFacade#getAllSpecializations() */ public Collection<GeneralizableElementFacade> getAllSpecializations() { return this.getSuperService().getAllSpecializations(); } /** * Gets the direct generalization for this generalizable element. * @see GeneralizableElementFacade#getGeneralization() */ public GeneralizableElementFacade getGeneralization() { return this.getSuperService().getGeneralization(); } /** * Gets the actual links that this generalization element is part of (it plays either the * specialization or generalization). * @see GeneralizableElementFacade#getGeneralizationLinks() */ public Collection<GeneralizationFacade> getGeneralizationLinks() { return this.getSuperService().getGeneralizationLinks(); } /** * A comma separated list of the fully qualified names of all generalizations. * @see GeneralizableElementFacade#getGeneralizationList() */ public String getGeneralizationList() { return this.getSuperService().getGeneralizationList(); } /** * The element found when you recursively follow the generalization path up to the root. If an * element has no generalization itself will be considered the root. * @see GeneralizableElementFacade#getGeneralizationRoot() */ public GeneralizableElementFacade getGeneralizationRoot() { return this.getSuperService().getGeneralizationRoot(); } /** * Return all generalizations (ancestors) from this generalizable element. * @see GeneralizableElementFacade#getGeneralizations() */ public Collection<GeneralizableElementFacade> getGeneralizations() { return this.getSuperService().getGeneralizations(); } /** * Gets the direct specializations (i.e. sub elements) for this generalizatble element. * @see GeneralizableElementFacade#getSpecializations() */ public Collection<GeneralizableElementFacade> getSpecializations() { return this.getSuperService().getSpecializations(); } /** * Copies all tagged values from the given ModelElementFacade to this model element facade. * @see ModelElementFacade#copyTaggedValues(ModelElementFacade element) */ public void copyTaggedValues(ModelElementFacade element) { this.getSuperService().copyTaggedValues(element); } /** * Finds the tagged value with the specified 'tagName'. In case there are more values the first * one found will be returned. * @see ModelElementFacade#findTaggedValue(String tagName) */ public Object findTaggedValue(String tagName) { return this.getSuperService().findTaggedValue(tagName); } /** * Returns all the values for the tagged value with the specified name. The returned collection * will contains only String instances, or will be empty. Never null. * @see ModelElementFacade#findTaggedValues(String tagName) */ public Collection<Object> findTaggedValues(String tagName) { return this.getSuperService().findTaggedValues(tagName); } /** * Returns the fully qualified name of the model element. The fully qualified name includes * complete package qualified name of the underlying model element. The templates parameter will * be replaced by the correct one given the binding relation of the parameter to this element. * @see ModelElementFacade#getBindedFullyQualifiedName(ModelElementFacade bindedElement) */ public String getBindedFullyQualifiedName(ModelElementFacade bindedElement) { return this.getSuperService().getBindedFullyQualifiedName(bindedElement); } /** * Gets all constraints belonging to the model element. * @see ModelElementFacade#getConstraints() */ public Collection<ConstraintFacade> getConstraints() { return this.getSuperService().getConstraints(); } /** * Returns the constraints of the argument kind that have been placed onto this model. Typical * kinds are "inv", "pre" and "post". Other kinds are possible. * @see ModelElementFacade#getConstraints(String kind) */ public Collection<ConstraintFacade> getConstraints(String kind) { return this.getSuperService().getConstraints(kind); } /** * Gets the documentation for the model element, The indent argument is prefixed to each line. * By default this method wraps lines after 64 characters. * This method is equivalent to <code>getDocumentation(indent, 64)</code>. * @see ModelElementFacade#getDocumentation(String indent) */ public String getDocumentation(String indent) { return this.getSuperService().getDocumentation(indent); } /** * This method returns the documentation for this model element, with the lines wrapped after * the specified number of characters, values of less than 1 will indicate no line wrapping is * required. By default paragraphs are returned as HTML. * This method is equivalent to <code>getDocumentation(indent, lineLength, true)</code>. * @see ModelElementFacade#getDocumentation(String indent, int lineLength) */ public String getDocumentation(String indent, int lineLength) { return this.getSuperService().getDocumentation(indent, lineLength); } /** * This method returns the documentation for this model element, with the lines wrapped after * the specified number of characters, values of less than 1 will indicate no line wrapping is * required. HTML style determines if HTML Escaping is applied. * @see ModelElementFacade#getDocumentation(String indent, int lineLength, boolean htmlStyle) */ public String getDocumentation(String indent, int lineLength, boolean htmlStyle) { return this.getSuperService().getDocumentation(indent, lineLength, htmlStyle); } /** * The fully qualified name of this model element. * @see ModelElementFacade#getFullyQualifiedName() */ public String getFullyQualifiedName() { return this.getSuperService().getFullyQualifiedName(); } /** * Returns the fully qualified name of the model element. The fully qualified name includes * complete package qualified name of the underlying model element. If modelName is true, then * the original name of the model element (the name contained within the model) will be the name * returned, otherwise a name from a language mapping will be returned. * @see ModelElementFacade#getFullyQualifiedName(boolean modelName) */ public String getFullyQualifiedName(boolean modelName) { return this.getSuperService().getFullyQualifiedName(modelName); } /** * Returns the fully qualified name as a path, the returned value always starts with out a slash * '/'. * @see ModelElementFacade#getFullyQualifiedNamePath() */ public String getFullyQualifiedNamePath() { return this.getSuperService().getFullyQualifiedNamePath(); } /** * Gets the unique identifier of the underlying model element. * @see ModelElementFacade#getId() */ public String getId() { return this.getSuperService().getId(); } /** * UML2: Retrieves the keywords for this element. Used to modify implementation properties which * are not represented by other properties, i.e. native, transient, volatile, synchronized, * (added annotations) override, deprecated. Can also be used to suppress compiler warnings: * (added annotations) unchecked, fallthrough, path, serial, finally, all. Annotations require * JDK5 compiler level. * @see ModelElementFacade#getKeywords() */ public Collection<String> getKeywords() { return this.getSuperService().getKeywords(); } /** * UML2: Retrieves a localized label for this named element. * @see ModelElementFacade#getLabel() */ public String getLabel() { return this.getSuperService().getLabel(); } /** * The language mappings that have been set for this model element. * @see ModelElementFacade#getLanguageMappings() */ public TypeMappings getLanguageMappings() { return this.getSuperService().getLanguageMappings(); } /** * Return the model containing this model element (multiple models may be loaded and processed * at the same time). * @see ModelElementFacade#getModel() */ public ModelFacade getModel() { return this.getSuperService().getModel(); } /** * The name of the model element. * @see ModelElementFacade#getName() */ public String getName() { return this.getSuperService().getName(); } /** * Gets the package to which this model element belongs. * @see ModelElementFacade#getPackage() */ public ModelElementFacade getPackage() { return this.getSuperService().getPackage(); } /** * The name of this model element's package. * @see ModelElementFacade#getPackageName() */ public String getPackageName() { return this.getSuperService().getPackageName(); } /** * Gets the package name (optionally providing the ability to retrieve the model name and not * the mapped name). * @see ModelElementFacade#getPackageName(boolean modelName) */ public String getPackageName(boolean modelName) { return this.getSuperService().getPackageName(modelName); } /** * Returns the package as a path, the returned value always starts with out a slash '/'. * @see ModelElementFacade#getPackagePath() */ public String getPackagePath() { return this.getSuperService().getPackagePath(); } /** * UML2: Returns the value of the 'Qualified Name' attribute. A name which allows the * NamedElement to be identified within a hierarchy of nested Namespaces. It is constructed from * the names of the containing namespaces starting at the root of the hierarchy and ending with * the name of the NamedElement itself. * @see ModelElementFacade#getQualifiedName() */ public String getQualifiedName() { return this.getSuperService().getQualifiedName(); } /** * Gets the root package for the model element. * @see ModelElementFacade#getRootPackage() */ public PackageFacade getRootPackage() { return this.getSuperService().getRootPackage(); } /** * Gets the dependencies for which this model element is the source. * @see ModelElementFacade#getSourceDependencies() */ public Collection<DependencyFacade> getSourceDependencies() { return this.getSuperService().getSourceDependencies(); } /** * If this model element is the context of an activity graph, this represents that activity * graph. * @see ModelElementFacade#getStateMachineContext() */ public StateMachineFacade getStateMachineContext() { return this.getSuperService().getStateMachineContext(); } /** * The collection of ALL stereotype names for this model element. * @see ModelElementFacade#getStereotypeNames() */ public Collection<String> getStereotypeNames() { return this.getSuperService().getStereotypeNames(); } /** * Gets all stereotypes for this model element. * @see ModelElementFacade#getStereotypes() */ public Collection<StereotypeFacade> getStereotypes() { return this.getSuperService().getStereotypes(); } /** * Return the TaggedValues associated with this model element, under all stereotypes. * @see ModelElementFacade#getTaggedValues() */ public Collection<TaggedValueFacade> getTaggedValues() { return this.getSuperService().getTaggedValues(); } /** * Gets the dependencies for which this model element is the target. * @see ModelElementFacade#getTargetDependencies() */ public Collection<DependencyFacade> getTargetDependencies() { return this.getSuperService().getTargetDependencies(); } /** * Get the template parameter for this model element having the parameterName * @see ModelElementFacade#getTemplateParameter(String parameterName) */ public Object getTemplateParameter(String parameterName) { return this.getSuperService().getTemplateParameter(parameterName); } /** * Get the template parameters for this model element * @see ModelElementFacade#getTemplateParameters() */ public Collection<TemplateParameterFacade> getTemplateParameters() { return this.getSuperService().getTemplateParameters(); } /** * The visibility (i.e. public, private, protected or package) of the model element, will * attempt a lookup for these values in the language mappings (if any). * @see ModelElementFacade#getVisibility() */ public String getVisibility() { return this.getSuperService().getVisibility(); } /** * Returns true if the model element has the exact stereotype (meaning no stereotype inheritance * is taken into account when searching for the stereotype), false otherwise. * @see ModelElementFacade#hasExactStereotype(String stereotypeName) */ public boolean hasExactStereotype(String stereotypeName) { return this.getSuperService().hasExactStereotype(stereotypeName); } /** * Does the UML Element contain the named Keyword? Keywords can be separated by space, comma, * pipe, semicolon, or << >> * @see ModelElementFacade#hasKeyword(String keywordName) */ public boolean hasKeyword(String keywordName) { return this.getSuperService().hasKeyword(keywordName); } /** * Returns true if the model element has the specified stereotype. If the stereotype itself * does not match, then a search will be made up the stereotype inheritance hierarchy, and if * one of the stereotype's ancestors has a matching name this method will return true, false * otherwise. * For example, if we have a certain stereotype called <<exception>> and a model element has a * stereotype called <<applicationException>> which extends <<exception>>, when calling this * method with 'stereotypeName' defined as 'exception' the method would return true since * <<applicationException>> inherits from <<exception>>. If you want to check if the model * element has the exact stereotype, then use the method 'hasExactStereotype' instead. * @see ModelElementFacade#hasStereotype(String stereotypeName) */ public boolean hasStereotype(String stereotypeName) { return this.getSuperService().hasStereotype(stereotypeName); } /** * True if there are target dependencies from this element that are instances of BindingFacade. * Deprecated in UML2: Use TemplateBinding parameters instead of dependencies. * @see ModelElementFacade#isBindingDependenciesPresent() */ public boolean isBindingDependenciesPresent() { return this.getSuperService().isBindingDependenciesPresent(); } /** * Indicates if any constraints are present on this model element. * @see ModelElementFacade#isConstraintsPresent() */ public boolean isConstraintsPresent() { return this.getSuperService().isConstraintsPresent(); } /** * Indicates if any documentation is present on this model element. * @see ModelElementFacade#isDocumentationPresent() */ public boolean isDocumentationPresent() { return this.getSuperService().isDocumentationPresent(); } /** * True if this element name is a reserved word in Java, C#, ANSI or ISO C, C++, JavaScript. * @see ModelElementFacade#isReservedWord() */ public boolean isReservedWord() { return this.getSuperService().isReservedWord(); } /** * True is there are template parameters on this model element. For UML2, applies to Class, * Operation, Property, and Parameter. * @see ModelElementFacade#isTemplateParametersPresent() */ public boolean isTemplateParametersPresent() { return this.getSuperService().isTemplateParametersPresent(); } /** * True if this element name is a valid identifier name in Java, C#, ANSI or ISO C, C++, * JavaScript. Contains no spaces, special characters etc. Constraint always applied on * Enumerations and Interfaces, optionally applies on other model elements. * @see ModelElementFacade#isValidIdentifierName() */ public boolean isValidIdentifierName() { return this.getSuperService().isValidIdentifierName(); } /** * Searches for the constraint with the specified 'name' on this model element, and if found * translates it using the specified 'translation' from a translation library discovered by the * framework. * @see ModelElementFacade#translateConstraint(String name, String translation) */ public String translateConstraint(String name, String translation) { return this.getSuperService().translateConstraint(name, translation); } /** * Translates all constraints belonging to this model element with the given 'translation'. * @see ModelElementFacade#translateConstraints(String translation) */ public String[] translateConstraints(String translation) { return this.getSuperService().translateConstraints(translation); } /** * Translates the constraints of the specified 'kind' belonging to this model element. * @see ModelElementFacade#translateConstraints(String kind, String translation) */ public String[] translateConstraints(String kind, String translation) { return this.getSuperService().translateConstraints(kind, translation); } /** * Returns a collection of all entities this service and its ancestors have a relation to. * @see Service#getAllEntityReferences() */ public Collection<DependencyFacade> getAllEntityReferences() { return this.getSuperService().getAllEntityReferences(); } /** * All messaging destinations that belong to this service and all decendent services. * @see Service#getAllMessagingDestinations() */ public Collection<Destination> getAllMessagingDestinations() { return this.getSuperService().getAllMessagingDestinations(); } /** * All roles associated with the service, this includes both roles that have access to the * entire service, and any roles that have access to a single operation. * @see Service#getAllRoles() */ public Collection<Role> getAllRoles() { return this.getSuperService().getAllRoles(); } /** * Returns a collection of all services this service and its ancestors have a relation to. * @see Service#getAllServiceReferences() */ public Collection<DependencyFacade> getAllServiceReferences() { return this.getSuperService().getAllServiceReferences(); } /** * References to all entities to which this service has a dependency. * @see Service#getEntityReferences() */ public Collection<DependencyFacade> getEntityReferences() { return this.getSuperService().getEntityReferences(); } /** * All messaging destinations available to this service. * @see Service#getMessagingDestinations() */ public Collection<Destination> getMessagingDestinations() { return this.getSuperService().getMessagingDestinations(); } /** * The roles of the service, these are the actor's that can access this service. * @see Service#getRoles() */ public Collection<Role> getRoles() { return this.getSuperService().getRoles(); } /** * References to all services to which this service has a dependency. * @see Service#getServiceReferences() */ public Collection<DependencyFacade> getServiceReferences() { return this.getSuperService().getServiceReferences(); } /** * @see org.andromda.core.metafacade.MetafacadeBase#initialize() */ @Override public void initialize() { this.getSuperService().initialize(); } /** * @return Object getSuperService().getValidationOwner() * @see org.andromda.core.metafacade.MetafacadeBase#getValidationOwner() */ @Override public Object getValidationOwner() { Object owner = this.getSuperService().getValidationOwner(); return owner; } /** * @return String getSuperService().getValidationName() * @see org.andromda.core.metafacade.MetafacadeBase#getValidationName() */ @Override public String getValidationName() { String name = this.getSuperService().getValidationName(); return name; } /** * @param validationMessages Collection<ModelValidationMessage> * @see org.andromda.core.metafacade.MetafacadeBase#validateInvariants(Collection validationMessages) */ @Override public void validateInvariants(Collection<ModelValidationMessage> validationMessages) { this.getSuperService().validateInvariants(validationMessages); } /** * The property that stores the name of the metafacade. */ private static final String NAME_PROPERTY = "name"; private static final String FQNAME_PROPERTY = "fullyQualifiedName"; /** * @see Object#toString() */ @Override public String toString() { final StringBuilder toString = new StringBuilder(this.getClass().getName()); toString.append("["); try { toString.append(Introspector.instance().getProperty(this, FQNAME_PROPERTY)); } catch (final Throwable tryAgain) { try { toString.append(Introspector.instance().getProperty(this, NAME_PROPERTY)); } catch (final Throwable ignore) { // - just ignore when the metafacade doesn't have a name or fullyQualifiedName property } } toString.append("]"); return toString.toString(); } } |
File | Line |
---|---|
org\andromda\cartridges\ejb3\metafacades\EJB3InterceptorFacadeLogic.java | 250 |
org\andromda\cartridges\ejb3\metafacades\EJB3MessageDrivenFacadeLogic.java | 1083 |
org\andromda\cartridges\ejb3\metafacades\EJB3SessionFacadeLogic.java | 2687 |
public boolean isServiceMetaType() { return true; } /** * @return true * @see ClassifierFacade */ public boolean isClassifierFacadeMetaType() { return true; } /** * @return true * @see GeneralizableElementFacade */ public boolean isGeneralizableElementFacadeMetaType() { return true; } /** * @return true * @see ModelElementFacade */ public boolean isModelElementFacadeMetaType() { return true; } // ----------- delegates to Service ------------ /** * Return the attribute which name matches the parameter * @see ClassifierFacade#findAttribute(String name) */ public AttributeFacade findAttribute(String name) { return this.getSuperService().findAttribute(name); } /** * Those abstraction dependencies for which this classifier is the client. * @see ClassifierFacade#getAbstractions() */ public Collection<ClassifierFacade> getAbstractions() { return this.getSuperService().getAbstractions(); } /** * Lists all classes associated to this one and any ancestor classes (through generalization). * There will be no duplicates. The order of the elements is predictable. * @see ClassifierFacade#getAllAssociatedClasses() */ public Collection<ClassifierFacade> getAllAssociatedClasses() { return this.getSuperService().getAllAssociatedClasses(); } /** * A collection containing all 'properties' of the classifier and its ancestors. Properties are * any attributes and navigable connecting association ends. * @see ClassifierFacade#getAllProperties() */ public Collection<ModelElementFacade> getAllProperties() { return this.getSuperService().getAllProperties(); } /** * A collection containing all required and/or read-only 'properties' of the classifier and its * ancestors. Properties are any attributes and navigable connecting association ends. * @see ClassifierFacade#getAllRequiredConstructorParameters() */ public Collection<ModelElementFacade> getAllRequiredConstructorParameters() { return this.getSuperService().getAllRequiredConstructorParameters(); } /** * Gets the array type for this classifier. If this classifier already represents an array, it * just returns itself. * @see ClassifierFacade#getArray() */ public ClassifierFacade getArray() { return this.getSuperService().getArray(); } /** * The name of the classifier as an array. * @see ClassifierFacade#getArrayName() */ public String getArrayName() { return this.getSuperService().getArrayName(); } /** * Lists the classes associated to this one, there is no repitition of classes. The order of the * elements is predictable. * @see ClassifierFacade#getAssociatedClasses() */ public Collection<ClassifierFacade> getAssociatedClasses() { return this.getSuperService().getAssociatedClasses(); } /** * Gets the association ends belonging to a classifier. * @see ClassifierFacade#getAssociationEnds() */ public List<AssociationEndFacade> getAssociationEnds() { return this.getSuperService().getAssociationEnds(); } /** * Gets the attributes that belong to the classifier. * @see ClassifierFacade#getAttributes() */ public List<AttributeFacade> getAttributes() { return this.getSuperService().getAttributes(); } /** * Gets all attributes for the classifier and if 'follow' is true goes up the inheritance * hierarchy and gets the attributes from the super classes as well. * @see ClassifierFacade#getAttributes(boolean follow) */ public List<AttributeFacade> getAttributes(boolean follow) { return this.getSuperService().getAttributes(follow); } /** * The fully qualified name of the classifier as an array. * @see ClassifierFacade#getFullyQualifiedArrayName() */ public String getFullyQualifiedArrayName() { return this.getSuperService().getFullyQualifiedArrayName(); } /** * Returns all those operations that could be implemented at this classifier's level. This means * the operations owned by this classifier as well as any realized interface's operations * (recursively) in case this classifier itself is not already an interface, or generalized when * this classifier is an interface. * @see ClassifierFacade#getImplementationOperations() */ public Collection<OperationFacade> getImplementationOperations() { return this.getSuperService().getImplementationOperations(); } /** * A comma separated list of the fully qualified names of all implemented interfaces. * @see ClassifierFacade#getImplementedInterfaceList() */ public String getImplementedInterfaceList() { return this.getSuperService().getImplementedInterfaceList(); } /** * Those attributes that are scoped to an instance of this class. * @see ClassifierFacade#getInstanceAttributes() */ public Collection<AttributeFacade> getInstanceAttributes() { return this.getSuperService().getInstanceAttributes(); } /** * Those operations that are scoped to an instance of this class. * @see ClassifierFacade#getInstanceOperations() */ public List<OperationFacade> getInstanceOperations() { return this.getSuperService().getInstanceOperations(); } /** * Those interfaces that are abstractions of this classifier, this basically means this * classifier realizes them. * @see ClassifierFacade#getInterfaceAbstractions() */ public Collection<ClassifierFacade> getInterfaceAbstractions() { return this.getSuperService().getInterfaceAbstractions(); } /** * A String representing a new Constructor declaration for this classifier type to be used in a * Java environment. * @see ClassifierFacade#getJavaNewString() */ public String getJavaNewString() { return this.getSuperService().getJavaNewString(); } /** * A String representing the null-value for this classifier type to be used in a Java * environment. * @see ClassifierFacade#getJavaNullString() */ public String getJavaNullString() { return this.getSuperService().getJavaNullString(); } /** * The other ends of this classifier's association ends which are navigable. * @see ClassifierFacade#getNavigableConnectingEnds() */ public Collection<AssociationEndFacade> getNavigableConnectingEnds() { return this.getSuperService().getNavigableConnectingEnds(); } /** * Get the other ends of this classifier's association ends which are navigable and if 'follow' * is true goes up the inheritance hierarchy and gets the super association ends as well. * @see ClassifierFacade#getNavigableConnectingEnds(boolean follow) */ public List<AssociationEndFacade> getNavigableConnectingEnds(boolean follow) { return this.getSuperService().getNavigableConnectingEnds(follow); } /** * Assuming that the classifier is an array, this will return the non array type of the * classifier from * the model. If the classifier is NOT an array, it will just return itself. * @see ClassifierFacade#getNonArray() */ public ClassifierFacade getNonArray() { return this.getSuperService().getNonArray(); } /** * The attributes from this classifier in the form of an operation call (this example would be * in Java): '(String attributeOne, String attributeTwo). If there were no attributes on the * classifier, the result would be an empty '()'. * @see ClassifierFacade#getOperationCallFromAttributes() */ public String getOperationCallFromAttributes() { return this.getSuperService().getOperationCallFromAttributes(); } /** * The operations owned by this classifier. * @see ClassifierFacade#getOperations() */ public List<OperationFacade> getOperations() { return this.getSuperService().getOperations(); } /** * A collection containing all 'properties' of the classifier. Properties are any attributes * and navigable connecting association ends. * @see ClassifierFacade#getProperties() */ public List<ModelElementFacade> getProperties() { return this.getSuperService().getProperties(); } /** * Gets all properties (attributes and navigable association ends) for the classifier and if * 'follow' is true goes up the inheritance hierarchy and gets the properties from the super * classes as well. * @see ClassifierFacade#getProperties(boolean follow) */ public List getProperties(boolean follow) { return this.getSuperService().getProperties(follow); } /** * A collection containing all required and/or read-only 'properties' of the classifier. * Properties are any attributes and navigable connecting association ends. * @see ClassifierFacade#getRequiredConstructorParameters() */ public Collection<ModelElementFacade> getRequiredConstructorParameters() { return this.getSuperService().getRequiredConstructorParameters(); } /** * Returns the serial version UID of the underlying model element. * @see ClassifierFacade#getSerialVersionUID() */ public long getSerialVersionUID() { return this.getSuperService().getSerialVersionUID(); } /** * Those attributes that are scoped to the definition of this class. * @see ClassifierFacade#getStaticAttributes() */ public Collection<AttributeFacade> getStaticAttributes() { return this.getSuperService().getStaticAttributes(); } /** * Those operations that are scoped to the definition of this class. * @see ClassifierFacade#getStaticOperations() */ public List<OperationFacade> getStaticOperations() { return this.getSuperService().getStaticOperations(); } /** * This class' superclass, returns the generalization if it is a ClassifierFacade, null * otherwise. * @see ClassifierFacade#getSuperClass() */ public ClassifierFacade getSuperClass() { return this.getSuperService().getSuperClass(); } /** * The wrapper name for this classifier if a mapped type has a defined wrapper class (ie. 'long' * maps to 'Long'). If the classifier doesn't have a wrapper defined for it, this method will * return a null. Note that wrapper mappings must be defined for the namespace by defining the * 'wrapperMappingsUri', this property must point to the location of the mappings file which * maps the primitives to wrapper types. * @see ClassifierFacade#getWrapperName() */ public String getWrapperName() { return this.getSuperService().getWrapperName(); } /** * Indicates if this classifier is 'abstract'. * @see ClassifierFacade#isAbstract() */ public boolean isAbstract() { return this.getSuperService().isAbstract(); } /** * True if this classifier represents an array type. False otherwise. * @see ClassifierFacade#isArrayType() */ public boolean isArrayType() { return this.getSuperService().isArrayType(); } /** * True if the ClassifierFacade is an AssociationClass. * @see ClassifierFacade#isAssociationClass() */ public boolean isAssociationClass() { return this.getSuperService().isAssociationClass(); } /** * Returns true if this type represents a Blob type. * @see ClassifierFacade#isBlobType() */ public boolean isBlobType() { return this.getSuperService().isBlobType(); } /** * Indicates if this type represents a boolean type or not. * @see ClassifierFacade#isBooleanType() */ public boolean isBooleanType() { return this.getSuperService().isBooleanType(); } /** * Indicates if this type represents a char, Character, or java.lang.Character type or not. * @see ClassifierFacade#isCharacterType() */ public boolean isCharacterType() { return this.getSuperService().isCharacterType(); } /** * Returns true if this type represents a Clob type. * @see ClassifierFacade#isClobType() */ public boolean isClobType() { return this.getSuperService().isClobType(); } /** * True if this classifier represents a collection type. False otherwise. * @see ClassifierFacade#isCollectionType() */ public boolean isCollectionType() { return this.getSuperService().isCollectionType(); } /** * True/false depending on whether or not this classifier represents a datatype. A data type is * a type whose instances are identified only by their value. A data type may contain attributes * to support the modeling of structured data types. * @see ClassifierFacade#isDataType() */ public boolean isDataType() { return this.getSuperService().isDataType(); } /** * True when this classifier is a date type. * @see ClassifierFacade#isDateType() */ public boolean isDateType() { return this.getSuperService().isDateType(); } /** * Indicates if this type represents a Double type or not. * @see ClassifierFacade#isDoubleType() */ public boolean isDoubleType() { return this.getSuperService().isDoubleType(); } /** * Indicates whether or not this classifier represents an "EmbeddedValue'. * @see ClassifierFacade#isEmbeddedValue() */ public boolean isEmbeddedValue() { return this.getSuperService().isEmbeddedValue(); } /** * True if this classifier is in fact marked as an enumeration. * @see ClassifierFacade#isEnumeration() */ public boolean isEnumeration() { return this.getSuperService().isEnumeration(); } /** * Returns true if this type represents a 'file' type. * @see ClassifierFacade#isFileType() */ public boolean isFileType() { return this.getSuperService().isFileType(); } /** * Indicates if this type represents a Float type or not. * @see ClassifierFacade#isFloatType() */ public boolean isFloatType() { return this.getSuperService().isFloatType(); } /** * Indicates if this type represents an int or Integer or java.lang.Integer type or not. * @see ClassifierFacade#isIntegerType() */ public boolean isIntegerType() { return this.getSuperService().isIntegerType(); } /** * True/false depending on whether or not this Classifier represents an interface. * @see ClassifierFacade#isInterface() */ public boolean isInterface() { return this.getSuperService().isInterface(); } /** * True if this classifier cannot be extended and represent a leaf in the inheritance tree. * @see ClassifierFacade#isLeaf() */ public boolean isLeaf() { return this.getSuperService().isLeaf(); } /** * True if this classifier represents a list type. False otherwise. * @see ClassifierFacade#isListType() */ public boolean isListType() { return this.getSuperService().isListType(); } /** * Indicates if this type represents a Long type or not. * @see ClassifierFacade#isLongType() */ public boolean isLongType() { return this.getSuperService().isLongType(); } /** * Indicates whether or not this classifier represents a Map type. * @see ClassifierFacade#isMapType() */ public boolean isMapType() { return this.getSuperService().isMapType(); } /** * Indicates whether or not this classifier represents a primitive type. * @see ClassifierFacade#isPrimitive() */ public boolean isPrimitive() { return this.getSuperService().isPrimitive(); } /** * True if this classifier represents a set type. False otherwise. * @see ClassifierFacade#isSetType() */ public boolean isSetType() { return this.getSuperService().isSetType(); } /** * Indicates whether or not this classifier represents a string type. * @see ClassifierFacade#isStringType() */ public boolean isStringType() { return this.getSuperService().isStringType(); } /** * Indicates whether or not this classifier represents a time type. * @see ClassifierFacade#isTimeType() */ public boolean isTimeType() { return this.getSuperService().isTimeType(); } /** * Returns true if this type is a wrapped primitive type. * @see ClassifierFacade#isWrappedPrimitive() */ public boolean isWrappedPrimitive() { return this.getSuperService().isWrappedPrimitive(); } /** * Finds the tagged value optional searching the entire inheritance hierarchy if 'follow' is set * to true. * @see GeneralizableElementFacade#findTaggedValue(String tagName, boolean follow) */ public Object findTaggedValue(String tagName, boolean follow) { return this.getSuperService().findTaggedValue(tagName, follow); } /** * All generalizations for this generalizable element, goes up the inheritance tree. * @see GeneralizableElementFacade#getAllGeneralizations() */ public Collection<GeneralizableElementFacade> getAllGeneralizations() { return this.getSuperService().getAllGeneralizations(); } /** * All specializations (travels down the inheritance hierarchy). * @see GeneralizableElementFacade#getAllSpecializations() */ public Collection<GeneralizableElementFacade> getAllSpecializations() { return this.getSuperService().getAllSpecializations(); } /** * Gets the direct generalization for this generalizable element. * @see GeneralizableElementFacade#getGeneralization() */ public GeneralizableElementFacade getGeneralization() { return this.getSuperService().getGeneralization(); } /** * Gets the actual links that this generalization element is part of (it plays either the * specialization or generalization). * @see GeneralizableElementFacade#getGeneralizationLinks() */ public Collection<GeneralizationFacade> getGeneralizationLinks() { return this.getSuperService().getGeneralizationLinks(); } /** * A comma separated list of the fully qualified names of all generalizations. * @see GeneralizableElementFacade#getGeneralizationList() */ public String getGeneralizationList() { return this.getSuperService().getGeneralizationList(); } /** * The element found when you recursively follow the generalization path up to the root. If an * element has no generalization itself will be considered the root. * @see GeneralizableElementFacade#getGeneralizationRoot() */ public GeneralizableElementFacade getGeneralizationRoot() { return this.getSuperService().getGeneralizationRoot(); } /** * Return all generalizations (ancestors) from this generalizable element. * @see GeneralizableElementFacade#getGeneralizations() */ public Collection<GeneralizableElementFacade> getGeneralizations() { return this.getSuperService().getGeneralizations(); } /** * Gets the direct specializations (i.e. sub elements) for this generalizatble element. * @see GeneralizableElementFacade#getSpecializations() */ public Collection<GeneralizableElementFacade> getSpecializations() { return this.getSuperService().getSpecializations(); } /** * Copies all tagged values from the given ModelElementFacade to this model element facade. * @see ModelElementFacade#copyTaggedValues(ModelElementFacade element) */ public void copyTaggedValues(ModelElementFacade element) { this.getSuperService().copyTaggedValues(element); } /** * Finds the tagged value with the specified 'tagName'. In case there are more values the first * one found will be returned. * @see ModelElementFacade#findTaggedValue(String tagName) */ public Object findTaggedValue(String tagName) { return this.getSuperService().findTaggedValue(tagName); } /** * Returns all the values for the tagged value with the specified name. The returned collection * will contains only String instances, or will be empty. Never null. * @see ModelElementFacade#findTaggedValues(String tagName) */ public Collection<Object> findTaggedValues(String tagName) { return this.getSuperService().findTaggedValues(tagName); } /** * Returns the fully qualified name of the model element. The fully qualified name includes * complete package qualified name of the underlying model element. The templates parameter will * be replaced by the correct one given the binding relation of the parameter to this element. * @see ModelElementFacade#getBindedFullyQualifiedName(ModelElementFacade bindedElement) */ public String getBindedFullyQualifiedName(ModelElementFacade bindedElement) { return this.getSuperService().getBindedFullyQualifiedName(bindedElement); } /** * Gets all constraints belonging to the model element. * @see ModelElementFacade#getConstraints() */ public Collection<ConstraintFacade> getConstraints() { return this.getSuperService().getConstraints(); } /** * Returns the constraints of the argument kind that have been placed onto this model. Typical * kinds are "inv", "pre" and "post". Other kinds are possible. * @see ModelElementFacade#getConstraints(String kind) */ public Collection<ConstraintFacade> getConstraints(String kind) { return this.getSuperService().getConstraints(kind); } /** * Gets the documentation for the model element, The indent argument is prefixed to each line. * By default this method wraps lines after 64 characters. * This method is equivalent to <code>getDocumentation(indent, 64)</code>. * @see ModelElementFacade#getDocumentation(String indent) */ public String getDocumentation(String indent) { return this.getSuperService().getDocumentation(indent); } /** * This method returns the documentation for this model element, with the lines wrapped after * the specified number of characters, values of less than 1 will indicate no line wrapping is * required. By default paragraphs are returned as HTML. * This method is equivalent to <code>getDocumentation(indent, lineLength, true)</code>. * @see ModelElementFacade#getDocumentation(String indent, int lineLength) */ public String getDocumentation(String indent, int lineLength) { return this.getSuperService().getDocumentation(indent, lineLength); } /** * This method returns the documentation for this model element, with the lines wrapped after * the specified number of characters, values of less than 1 will indicate no line wrapping is * required. HTML style determines if HTML Escaping is applied. * @see ModelElementFacade#getDocumentation(String indent, int lineLength, boolean htmlStyle) */ public String getDocumentation(String indent, int lineLength, boolean htmlStyle) { return this.getSuperService().getDocumentation(indent, lineLength, htmlStyle); } /** * The fully qualified name of this model element. * @see ModelElementFacade#getFullyQualifiedName() */ public String getFullyQualifiedName() { return this.getSuperService().getFullyQualifiedName(); } /** * Returns the fully qualified name of the model element. The fully qualified name includes * complete package qualified name of the underlying model element. If modelName is true, then * the original name of the model element (the name contained within the model) will be the name * returned, otherwise a name from a language mapping will be returned. * @see ModelElementFacade#getFullyQualifiedName(boolean modelName) */ public String getFullyQualifiedName(boolean modelName) { return this.getSuperService().getFullyQualifiedName(modelName); } /** * Returns the fully qualified name as a path, the returned value always starts with out a slash * '/'. * @see ModelElementFacade#getFullyQualifiedNamePath() */ public String getFullyQualifiedNamePath() { return this.getSuperService().getFullyQualifiedNamePath(); } /** * Gets the unique identifier of the underlying model element. * @see ModelElementFacade#getId() */ public String getId() { return this.getSuperService().getId(); } /** * UML2: Retrieves the keywords for this element. Used to modify implementation properties which * are not represented by other properties, i.e. native, transient, volatile, synchronized, * (added annotations) override, deprecated. Can also be used to suppress compiler warnings: * (added annotations) unchecked, fallthrough, path, serial, finally, all. Annotations require * JDK5 compiler level. * @see ModelElementFacade#getKeywords() */ public Collection<String> getKeywords() { return this.getSuperService().getKeywords(); } /** * UML2: Retrieves a localized label for this named element. * @see ModelElementFacade#getLabel() */ public String getLabel() { return this.getSuperService().getLabel(); } /** * The language mappings that have been set for this model element. * @see ModelElementFacade#getLanguageMappings() */ public TypeMappings getLanguageMappings() { return this.getSuperService().getLanguageMappings(); } /** * Return the model containing this model element (multiple models may be loaded and processed * at the same time). * @see ModelElementFacade#getModel() */ public ModelFacade getModel() { return this.getSuperService().getModel(); } /** * The name of the model element. * @see ModelElementFacade#getName() */ public String getName() { return this.getSuperService().getName(); } /** * Gets the package to which this model element belongs. * @see ModelElementFacade#getPackage() */ public ModelElementFacade getPackage() { return this.getSuperService().getPackage(); } /** * The name of this model element's package. * @see ModelElementFacade#getPackageName() */ public String getPackageName() { return this.getSuperService().getPackageName(); } /** * Gets the package name (optionally providing the ability to retrieve the model name and not * the mapped name). * @see ModelElementFacade#getPackageName(boolean modelName) */ public String getPackageName(boolean modelName) { return this.getSuperService().getPackageName(modelName); } /** * Returns the package as a path, the returned value always starts with out a slash '/'. * @see ModelElementFacade#getPackagePath() */ public String getPackagePath() { return this.getSuperService().getPackagePath(); } /** * UML2: Returns the value of the 'Qualified Name' attribute. A name which allows the * NamedElement to be identified within a hierarchy of nested Namespaces. It is constructed from * the names of the containing namespaces starting at the root of the hierarchy and ending with * the name of the NamedElement itself. * @see ModelElementFacade#getQualifiedName() */ public String getQualifiedName() { return this.getSuperService().getQualifiedName(); } /** * Gets the root package for the model element. * @see ModelElementFacade#getRootPackage() */ public PackageFacade getRootPackage() { return this.getSuperService().getRootPackage(); } /** * Gets the dependencies for which this model element is the source. * @see ModelElementFacade#getSourceDependencies() */ public Collection<DependencyFacade> getSourceDependencies() { return this.getSuperService().getSourceDependencies(); } /** * If this model element is the context of an activity graph, this represents that activity * graph. * @see ModelElementFacade#getStateMachineContext() */ public StateMachineFacade getStateMachineContext() { return this.getSuperService().getStateMachineContext(); } /** * The collection of ALL stereotype names for this model element. * @see ModelElementFacade#getStereotypeNames() */ public Collection<String> getStereotypeNames() { return this.getSuperService().getStereotypeNames(); } /** * Gets all stereotypes for this model element. * @see ModelElementFacade#getStereotypes() */ public Collection<StereotypeFacade> getStereotypes() { return this.getSuperService().getStereotypes(); } /** * Return the TaggedValues associated with this model element, under all stereotypes. * @see ModelElementFacade#getTaggedValues() */ public Collection<TaggedValueFacade> getTaggedValues() { return this.getSuperService().getTaggedValues(); } /** * Gets the dependencies for which this model element is the target. * @see ModelElementFacade#getTargetDependencies() */ public Collection<DependencyFacade> getTargetDependencies() { return this.getSuperService().getTargetDependencies(); } /** * Get the template parameter for this model element having the parameterName * @see ModelElementFacade#getTemplateParameter(String parameterName) */ public Object getTemplateParameter(String parameterName) { return this.getSuperService().getTemplateParameter(parameterName); } /** * Get the template parameters for this model element * @see ModelElementFacade#getTemplateParameters() */ public Collection<TemplateParameterFacade> getTemplateParameters() { return this.getSuperService().getTemplateParameters(); } /** * The visibility (i.e. public, private, protected or package) of the model element, will * attempt a lookup for these values in the language mappings (if any). * @see ModelElementFacade#getVisibility() */ public String getVisibility() { return this.getSuperService().getVisibility(); } /** * Returns true if the model element has the exact stereotype (meaning no stereotype inheritance * is taken into account when searching for the stereotype), false otherwise. * @see ModelElementFacade#hasExactStereotype(String stereotypeName) */ public boolean hasExactStereotype(String stereotypeName) { return this.getSuperService().hasExactStereotype(stereotypeName); } /** * Does the UML Element contain the named Keyword? Keywords can be separated by space, comma, * pipe, semicolon, or << >> * @see ModelElementFacade#hasKeyword(String keywordName) */ public boolean hasKeyword(String keywordName) { return this.getSuperService().hasKeyword(keywordName); } /** * Returns true if the model element has the specified stereotype. If the stereotype itself * does not match, then a search will be made up the stereotype inheritance hierarchy, and if * one of the stereotype's ancestors has a matching name this method will return true, false * otherwise. * For example, if we have a certain stereotype called <<exception>> and a model element has a * stereotype called <<applicationException>> which extends <<exception>>, when calling this * method with 'stereotypeName' defined as 'exception' the method would return true since * <<applicationException>> inherits from <<exception>>. If you want to check if the model * element has the exact stereotype, then use the method 'hasExactStereotype' instead. * @see ModelElementFacade#hasStereotype(String stereotypeName) */ public boolean hasStereotype(String stereotypeName) { return this.getSuperService().hasStereotype(stereotypeName); } /** * True if there are target dependencies from this element that are instances of BindingFacade. * Deprecated in UML2: Use TemplateBinding parameters instead of dependencies. * @see ModelElementFacade#isBindingDependenciesPresent() */ public boolean isBindingDependenciesPresent() { return this.getSuperService().isBindingDependenciesPresent(); } /** * Indicates if any constraints are present on this model element. * @see ModelElementFacade#isConstraintsPresent() */ public boolean isConstraintsPresent() { return this.getSuperService().isConstraintsPresent(); } /** * Indicates if any documentation is present on this model element. * @see ModelElementFacade#isDocumentationPresent() */ public boolean isDocumentationPresent() { return this.getSuperService().isDocumentationPresent(); } /** * True if this element name is a reserved word in Java, C#, ANSI or ISO C, C++, JavaScript. * @see ModelElementFacade#isReservedWord() */ public boolean isReservedWord() { return this.getSuperService().isReservedWord(); } /** * True is there are template parameters on this model element. For UML2, applies to Class, * Operation, Property, and Parameter. * @see ModelElementFacade#isTemplateParametersPresent() */ public boolean isTemplateParametersPresent() { return this.getSuperService().isTemplateParametersPresent(); } /** * True if this element name is a valid identifier name in Java, C#, ANSI or ISO C, C++, * JavaScript. Contains no spaces, special characters etc. Constraint always applied on * Enumerations and Interfaces, optionally applies on other model elements. * @see ModelElementFacade#isValidIdentifierName() */ public boolean isValidIdentifierName() { return this.getSuperService().isValidIdentifierName(); } /** * Searches for the constraint with the specified 'name' on this model element, and if found * translates it using the specified 'translation' from a translation library discovered by the * framework. * @see ModelElementFacade#translateConstraint(String name, String translation) */ public String translateConstraint(String name, String translation) { return this.getSuperService().translateConstraint(name, translation); } /** * Translates all constraints belonging to this model element with the given 'translation'. * @see ModelElementFacade#translateConstraints(String translation) */ public String[] translateConstraints(String translation) { return this.getSuperService().translateConstraints(translation); } /** * Translates the constraints of the specified 'kind' belonging to this model element. * @see ModelElementFacade#translateConstraints(String kind, String translation) */ public String[] translateConstraints(String kind, String translation) { return this.getSuperService().translateConstraints(kind, translation); } /** * Returns a collection of all entities this service and its ancestors have a relation to. * @see Service#getAllEntityReferences() */ public Collection<DependencyFacade> getAllEntityReferences() { return this.getSuperService().getAllEntityReferences(); } /** * All messaging destinations that belong to this service and all decendent services. * @see Service#getAllMessagingDestinations() */ public Collection<Destination> getAllMessagingDestinations() { return this.getSuperService().getAllMessagingDestinations(); } /** * All roles associated with the service, this includes both roles that have access to the * entire service, and any roles that have access to a single operation. * @see Service#getAllRoles() */ public Collection<Role> getAllRoles() { return this.getSuperService().getAllRoles(); } /** * Returns a collection of all services this service and its ancestors have a relation to. * @see Service#getAllServiceReferences() */ public Collection<DependencyFacade> getAllServiceReferences() { return this.getSuperService().getAllServiceReferences(); } /** * References to all entities to which this service has a dependency. * @see Service#getEntityReferences() */ public Collection<DependencyFacade> getEntityReferences() { return this.getSuperService().getEntityReferences(); } /** * All messaging destinations available to this service. * @see Service#getMessagingDestinations() */ public Collection<Destination> getMessagingDestinations() { return this.getSuperService().getMessagingDestinations(); } /** * The roles of the service, these are the actor's that can access this service. * @see Service#getRoles() */ public Collection<Role> getRoles() { return this.getSuperService().getRoles(); } /** * References to all services to which this service has a dependency. * @see Service#getServiceReferences() */ public Collection<DependencyFacade> getServiceReferences() { return this.getSuperService().getServiceReferences(); } /** * @see org.andromda.core.metafacade.MetafacadeBase#initialize() */ @Override public void initialize() { this.getSuperService().initialize(); } /** * @return Object getSuperService().getValidationOwner() * @see org.andromda.core.metafacade.MetafacadeBase#getValidationOwner() */ @Override public Object getValidationOwner() { Object owner = this.getSuperService().getValidationOwner(); return owner; } /** * @return String getSuperService().getValidationName() * @see org.andromda.core.metafacade.MetafacadeBase#getValidationName() */ @Override public String getValidationName() { String name = this.getSuperService().getValidationName(); return name; } /** * @param validationMessages Collection<ModelValidationMessage> * @see org.andromda.core.metafacade.MetafacadeBase#validateInvariants(Collection validationMessages) */ @Override public void validateInvariants(Collection<ModelValidationMessage> validationMessages) { this.getSuperService().validateInvariants(validationMessages); } /** * The property that stores the name of the metafacade. */ private static final String NAME_PROPERTY = "name"; private static final String FQNAME_PROPERTY = "fullyQualifiedName"; /** * @see Object#toString() */ @Override public String toString() { final StringBuilder toString = new StringBuilder(this.getClass().getName()); toString.append("["); try { toString.append(Introspector.instance().getProperty(this, FQNAME_PROPERTY)); } catch (final Throwable tryAgain) { try { toString.append(Introspector.instance().getProperty(this, NAME_PROPERTY)); } catch (final Throwable ignore) { // - just ignore when the metafacade doesn't have a name or fullyQualifiedName property } } toString.append("]"); return toString.toString(); } } |
File | Line |
---|---|
org\andromda\cartridges\ejb3\metafacades\EJB3EmbeddedValueFacadeLogic.java | 210 |
org\andromda\cartridges\ejb3\metafacades\EJB3PersistenceContextFacadeLogic.java | 215 |
org\andromda\cartridges\ejb3\metafacades\EJB3TypeFacadeLogic.java | 150 |
} /** * @return true * @see ClassifierFacade */ public boolean isClassifierFacadeMetaType() { return true; } /** * @return true * @see GeneralizableElementFacade */ public boolean isGeneralizableElementFacadeMetaType() { return true; } /** * @return true * @see ModelElementFacade */ public boolean isModelElementFacadeMetaType() { return true; } // ----------- delegates to ClassifierFacade ------------ /** * Return the attribute which name matches the parameter * @see ClassifierFacade#findAttribute(String name) */ public AttributeFacade findAttribute(String name) { return this.getSuperClassifierFacade().findAttribute(name); } /** * Those abstraction dependencies for which this classifier is the client. * @see ClassifierFacade#getAbstractions() */ public Collection<ClassifierFacade> getAbstractions() { return this.getSuperClassifierFacade().getAbstractions(); } /** * Lists all classes associated to this one and any ancestor classes (through generalization). * There will be no duplicates. The order of the elements is predictable. * @see ClassifierFacade#getAllAssociatedClasses() */ public Collection<ClassifierFacade> getAllAssociatedClasses() { return this.getSuperClassifierFacade().getAllAssociatedClasses(); } /** * A collection containing all 'properties' of the classifier and its ancestors. Properties are * any attributes and navigable connecting association ends. * @see ClassifierFacade#getAllProperties() */ public Collection<ModelElementFacade> getAllProperties() { return this.getSuperClassifierFacade().getAllProperties(); } /** * A collection containing all required and/or read-only 'properties' of the classifier and its * ancestors. Properties are any attributes and navigable connecting association ends. * @see ClassifierFacade#getAllRequiredConstructorParameters() */ public Collection<ModelElementFacade> getAllRequiredConstructorParameters() { return this.getSuperClassifierFacade().getAllRequiredConstructorParameters(); } /** * Gets the array type for this classifier. If this classifier already represents an array, it * just returns itself. * @see ClassifierFacade#getArray() */ public ClassifierFacade getArray() { return this.getSuperClassifierFacade().getArray(); } /** * The name of the classifier as an array. * @see ClassifierFacade#getArrayName() */ public String getArrayName() { return this.getSuperClassifierFacade().getArrayName(); } /** * Lists the classes associated to this one, there is no repitition of classes. The order of the * elements is predictable. * @see ClassifierFacade#getAssociatedClasses() */ public Collection<ClassifierFacade> getAssociatedClasses() { return this.getSuperClassifierFacade().getAssociatedClasses(); } /** * Gets the association ends belonging to a classifier. * @see ClassifierFacade#getAssociationEnds() */ public List<AssociationEndFacade> getAssociationEnds() { return this.getSuperClassifierFacade().getAssociationEnds(); } /** * Gets the attributes that belong to the classifier. * @see ClassifierFacade#getAttributes() */ public List<AttributeFacade> getAttributes() { return this.getSuperClassifierFacade().getAttributes(); } /** * Gets all attributes for the classifier and if 'follow' is true goes up the inheritance * hierarchy and gets the attributes from the super classes as well. * @see ClassifierFacade#getAttributes(boolean follow) */ public List<AttributeFacade> getAttributes(boolean follow) { return this.getSuperClassifierFacade().getAttributes(follow); } /** * The fully qualified name of the classifier as an array. * @see ClassifierFacade#getFullyQualifiedArrayName() */ public String getFullyQualifiedArrayName() { return this.getSuperClassifierFacade().getFullyQualifiedArrayName(); } /** * Returns all those operations that could be implemented at this classifier's level. This means * the operations owned by this classifier as well as any realized interface's operations * (recursively) in case this classifier itself is not already an interface, or generalized when * this classifier is an interface. * @see ClassifierFacade#getImplementationOperations() */ public Collection<OperationFacade> getImplementationOperations() { return this.getSuperClassifierFacade().getImplementationOperations(); } /** * A comma separated list of the fully qualified names of all implemented interfaces. * @see ClassifierFacade#getImplementedInterfaceList() */ public String getImplementedInterfaceList() { return this.getSuperClassifierFacade().getImplementedInterfaceList(); } /** * Those attributes that are scoped to an instance of this class. * @see ClassifierFacade#getInstanceAttributes() */ public Collection<AttributeFacade> getInstanceAttributes() { return this.getSuperClassifierFacade().getInstanceAttributes(); } /** * Those operations that are scoped to an instance of this class. * @see ClassifierFacade#getInstanceOperations() */ public List<OperationFacade> getInstanceOperations() { return this.getSuperClassifierFacade().getInstanceOperations(); } /** * Those interfaces that are abstractions of this classifier, this basically means this * classifier realizes them. * @see ClassifierFacade#getInterfaceAbstractions() */ public Collection<ClassifierFacade> getInterfaceAbstractions() { return this.getSuperClassifierFacade().getInterfaceAbstractions(); } /** * A String representing a new Constructor declaration for this classifier type to be used in a * Java environment. * @see ClassifierFacade#getJavaNewString() */ public String getJavaNewString() { return this.getSuperClassifierFacade().getJavaNewString(); } /** * A String representing the null-value for this classifier type to be used in a Java * environment. * @see ClassifierFacade#getJavaNullString() */ public String getJavaNullString() { return this.getSuperClassifierFacade().getJavaNullString(); } /** * The other ends of this classifier's association ends which are navigable. * @see ClassifierFacade#getNavigableConnectingEnds() */ public Collection<AssociationEndFacade> getNavigableConnectingEnds() { return this.getSuperClassifierFacade().getNavigableConnectingEnds(); } /** * Get the other ends of this classifier's association ends which are navigable and if 'follow' * is true goes up the inheritance hierarchy and gets the super association ends as well. * @see ClassifierFacade#getNavigableConnectingEnds(boolean follow) */ public List<AssociationEndFacade> getNavigableConnectingEnds(boolean follow) { return this.getSuperClassifierFacade().getNavigableConnectingEnds(follow); } /** * Assuming that the classifier is an array, this will return the non array type of the * classifier from * the model. If the classifier is NOT an array, it will just return itself. * @see ClassifierFacade#getNonArray() */ public ClassifierFacade getNonArray() { return this.getSuperClassifierFacade().getNonArray(); } /** * The attributes from this classifier in the form of an operation call (this example would be * in Java): '(String attributeOne, String attributeTwo). If there were no attributes on the * classifier, the result would be an empty '()'. * @see ClassifierFacade#getOperationCallFromAttributes() */ public String getOperationCallFromAttributes() { return this.getSuperClassifierFacade().getOperationCallFromAttributes(); } /** * The operations owned by this classifier. * @see ClassifierFacade#getOperations() */ public List<OperationFacade> getOperations() { return this.getSuperClassifierFacade().getOperations(); } /** * A collection containing all 'properties' of the classifier. Properties are any attributes * and navigable connecting association ends. * @see ClassifierFacade#getProperties() */ public List<ModelElementFacade> getProperties() { return this.getSuperClassifierFacade().getProperties(); } /** * Gets all properties (attributes and navigable association ends) for the classifier and if * 'follow' is true goes up the inheritance hierarchy and gets the properties from the super * classes as well. * @see ClassifierFacade#getProperties(boolean follow) */ public List getProperties(boolean follow) { return this.getSuperClassifierFacade().getProperties(follow); } /** * A collection containing all required and/or read-only 'properties' of the classifier. * Properties are any attributes and navigable connecting association ends. * @see ClassifierFacade#getRequiredConstructorParameters() */ public Collection<ModelElementFacade> getRequiredConstructorParameters() { return this.getSuperClassifierFacade().getRequiredConstructorParameters(); } /** * Returns the serial version UID of the underlying model element. * @see ClassifierFacade#getSerialVersionUID() */ public long getSerialVersionUID() { return this.getSuperClassifierFacade().getSerialVersionUID(); } /** * Those attributes that are scoped to the definition of this class. * @see ClassifierFacade#getStaticAttributes() */ public Collection<AttributeFacade> getStaticAttributes() { return this.getSuperClassifierFacade().getStaticAttributes(); } /** * Those operations that are scoped to the definition of this class. * @see ClassifierFacade#getStaticOperations() */ public List<OperationFacade> getStaticOperations() { return this.getSuperClassifierFacade().getStaticOperations(); } /** * This class' superclass, returns the generalization if it is a ClassifierFacade, null * otherwise. * @see ClassifierFacade#getSuperClass() */ public ClassifierFacade getSuperClass() { return this.getSuperClassifierFacade().getSuperClass(); } /** * The wrapper name for this classifier if a mapped type has a defined wrapper class (ie. 'long' * maps to 'Long'). If the classifier doesn't have a wrapper defined for it, this method will * return a null. Note that wrapper mappings must be defined for the namespace by defining the * 'wrapperMappingsUri', this property must point to the location of the mappings file which * maps the primitives to wrapper types. * @see ClassifierFacade#getWrapperName() */ public String getWrapperName() { return this.getSuperClassifierFacade().getWrapperName(); } /** * Indicates if this classifier is 'abstract'. * @see ClassifierFacade#isAbstract() */ public boolean isAbstract() { return this.getSuperClassifierFacade().isAbstract(); } /** * True if this classifier represents an array type. False otherwise. * @see ClassifierFacade#isArrayType() */ public boolean isArrayType() { return this.getSuperClassifierFacade().isArrayType(); } /** * True if the ClassifierFacade is an AssociationClass. * @see ClassifierFacade#isAssociationClass() */ public boolean isAssociationClass() { return this.getSuperClassifierFacade().isAssociationClass(); } /** * Returns true if this type represents a Blob type. * @see ClassifierFacade#isBlobType() */ public boolean isBlobType() { return this.getSuperClassifierFacade().isBlobType(); } /** * Indicates if this type represents a boolean type or not. * @see ClassifierFacade#isBooleanType() */ public boolean isBooleanType() { return this.getSuperClassifierFacade().isBooleanType(); } /** * Indicates if this type represents a char, Character, or java.lang.Character type or not. * @see ClassifierFacade#isCharacterType() */ public boolean isCharacterType() { return this.getSuperClassifierFacade().isCharacterType(); } /** * Returns true if this type represents a Clob type. * @see ClassifierFacade#isClobType() */ public boolean isClobType() { return this.getSuperClassifierFacade().isClobType(); } /** * True if this classifier represents a collection type. False otherwise. * @see ClassifierFacade#isCollectionType() */ public boolean isCollectionType() { return this.getSuperClassifierFacade().isCollectionType(); } /** * True/false depending on whether or not this classifier represents a datatype. A data type is * a type whose instances are identified only by their value. A data type may contain attributes * to support the modeling of structured data types. * @see ClassifierFacade#isDataType() */ public boolean isDataType() { return this.getSuperClassifierFacade().isDataType(); } /** * True when this classifier is a date type. * @see ClassifierFacade#isDateType() */ public boolean isDateType() { return this.getSuperClassifierFacade().isDateType(); } /** * Indicates if this type represents a Double type or not. * @see ClassifierFacade#isDoubleType() */ public boolean isDoubleType() { return this.getSuperClassifierFacade().isDoubleType(); } /** * Indicates whether or not this classifier represents an "EmbeddedValue'. * @see ClassifierFacade#isEmbeddedValue() */ public boolean isEmbeddedValue() { return this.getSuperClassifierFacade().isEmbeddedValue(); } /** * True if this classifier is in fact marked as an enumeration. * @see ClassifierFacade#isEnumeration() */ public boolean isEnumeration() { return this.getSuperClassifierFacade().isEnumeration(); } /** * Returns true if this type represents a 'file' type. * @see ClassifierFacade#isFileType() */ public boolean isFileType() { return this.getSuperClassifierFacade().isFileType(); } /** * Indicates if this type represents a Float type or not. * @see ClassifierFacade#isFloatType() */ public boolean isFloatType() { return this.getSuperClassifierFacade().isFloatType(); } /** * Indicates if this type represents an int or Integer or java.lang.Integer type or not. * @see ClassifierFacade#isIntegerType() */ public boolean isIntegerType() { return this.getSuperClassifierFacade().isIntegerType(); } /** * True/false depending on whether or not this Classifier represents an interface. * @see ClassifierFacade#isInterface() */ public boolean isInterface() { return this.getSuperClassifierFacade().isInterface(); } /** * True if this classifier cannot be extended and represent a leaf in the inheritance tree. * @see ClassifierFacade#isLeaf() */ public boolean isLeaf() { return this.getSuperClassifierFacade().isLeaf(); } /** * True if this classifier represents a list type. False otherwise. * @see ClassifierFacade#isListType() */ public boolean isListType() { return this.getSuperClassifierFacade().isListType(); } /** * Indicates if this type represents a Long type or not. * @see ClassifierFacade#isLongType() */ public boolean isLongType() { return this.getSuperClassifierFacade().isLongType(); } /** * Indicates whether or not this classifier represents a Map type. * @see ClassifierFacade#isMapType() */ public boolean isMapType() { return this.getSuperClassifierFacade().isMapType(); } /** * Indicates whether or not this classifier represents a primitive type. * @see ClassifierFacade#isPrimitive() */ public boolean isPrimitive() { return this.getSuperClassifierFacade().isPrimitive(); } /** * True if this classifier represents a set type. False otherwise. * @see ClassifierFacade#isSetType() */ public boolean isSetType() { return this.getSuperClassifierFacade().isSetType(); } /** * Indicates whether or not this classifier represents a string type. * @see ClassifierFacade#isStringType() */ public boolean isStringType() { return this.getSuperClassifierFacade().isStringType(); } /** * Indicates whether or not this classifier represents a time type. * @see ClassifierFacade#isTimeType() */ public boolean isTimeType() { return this.getSuperClassifierFacade().isTimeType(); } /** * Returns true if this type is a wrapped primitive type. * @see ClassifierFacade#isWrappedPrimitive() */ public boolean isWrappedPrimitive() { return this.getSuperClassifierFacade().isWrappedPrimitive(); } /** * Finds the tagged value optional searching the entire inheritance hierarchy if 'follow' is set * to true. * @see GeneralizableElementFacade#findTaggedValue(String tagName, boolean follow) */ public Object findTaggedValue(String tagName, boolean follow) { return this.getSuperClassifierFacade().findTaggedValue(tagName, follow); } /** * All generalizations for this generalizable element, goes up the inheritance tree. * @see GeneralizableElementFacade#getAllGeneralizations() */ public Collection<GeneralizableElementFacade> getAllGeneralizations() { return this.getSuperClassifierFacade().getAllGeneralizations(); } /** * All specializations (travels down the inheritance hierarchy). * @see GeneralizableElementFacade#getAllSpecializations() */ public Collection<GeneralizableElementFacade> getAllSpecializations() { return this.getSuperClassifierFacade().getAllSpecializations(); } /** * Gets the direct generalization for this generalizable element. * @see GeneralizableElementFacade#getGeneralization() */ public GeneralizableElementFacade getGeneralization() { return this.getSuperClassifierFacade().getGeneralization(); } /** * Gets the actual links that this generalization element is part of (it plays either the * specialization or generalization). * @see GeneralizableElementFacade#getGeneralizationLinks() */ public Collection<GeneralizationFacade> getGeneralizationLinks() { return this.getSuperClassifierFacade().getGeneralizationLinks(); } /** * A comma separated list of the fully qualified names of all generalizations. * @see GeneralizableElementFacade#getGeneralizationList() */ public String getGeneralizationList() { return this.getSuperClassifierFacade().getGeneralizationList(); } /** * The element found when you recursively follow the generalization path up to the root. If an * element has no generalization itself will be considered the root. * @see GeneralizableElementFacade#getGeneralizationRoot() */ public GeneralizableElementFacade getGeneralizationRoot() { return this.getSuperClassifierFacade().getGeneralizationRoot(); } /** * Return all generalizations (ancestors) from this generalizable element. * @see GeneralizableElementFacade#getGeneralizations() */ public Collection<GeneralizableElementFacade> getGeneralizations() { return this.getSuperClassifierFacade().getGeneralizations(); } /** * Gets the direct specializations (i.e. sub elements) for this generalizatble element. * @see GeneralizableElementFacade#getSpecializations() */ public Collection<GeneralizableElementFacade> getSpecializations() { return this.getSuperClassifierFacade().getSpecializations(); } /** * Copies all tagged values from the given ModelElementFacade to this model element facade. * @see ModelElementFacade#copyTaggedValues(ModelElementFacade element) */ public void copyTaggedValues(ModelElementFacade element) { this.getSuperClassifierFacade().copyTaggedValues(element); } /** * Finds the tagged value with the specified 'tagName'. In case there are more values the first * one found will be returned. * @see ModelElementFacade#findTaggedValue(String tagName) */ public Object findTaggedValue(String tagName) { return this.getSuperClassifierFacade().findTaggedValue(tagName); } /** * Returns all the values for the tagged value with the specified name. The returned collection * will contains only String instances, or will be empty. Never null. * @see ModelElementFacade#findTaggedValues(String tagName) */ public Collection<Object> findTaggedValues(String tagName) { return this.getSuperClassifierFacade().findTaggedValues(tagName); } /** * Returns the fully qualified name of the model element. The fully qualified name includes * complete package qualified name of the underlying model element. The templates parameter will * be replaced by the correct one given the binding relation of the parameter to this element. * @see ModelElementFacade#getBindedFullyQualifiedName(ModelElementFacade bindedElement) */ public String getBindedFullyQualifiedName(ModelElementFacade bindedElement) { return this.getSuperClassifierFacade().getBindedFullyQualifiedName(bindedElement); } /** * Gets all constraints belonging to the model element. * @see ModelElementFacade#getConstraints() */ public Collection<ConstraintFacade> getConstraints() { return this.getSuperClassifierFacade().getConstraints(); } /** * Returns the constraints of the argument kind that have been placed onto this model. Typical * kinds are "inv", "pre" and "post". Other kinds are possible. * @see ModelElementFacade#getConstraints(String kind) */ public Collection<ConstraintFacade> getConstraints(String kind) { return this.getSuperClassifierFacade().getConstraints(kind); } /** * Gets the documentation for the model element, The indent argument is prefixed to each line. * By default this method wraps lines after 64 characters. * This method is equivalent to <code>getDocumentation(indent, 64)</code>. * @see ModelElementFacade#getDocumentation(String indent) */ public String getDocumentation(String indent) { return this.getSuperClassifierFacade().getDocumentation(indent); } /** * This method returns the documentation for this model element, with the lines wrapped after * the specified number of characters, values of less than 1 will indicate no line wrapping is * required. By default paragraphs are returned as HTML. * This method is equivalent to <code>getDocumentation(indent, lineLength, true)</code>. * @see ModelElementFacade#getDocumentation(String indent, int lineLength) */ public String getDocumentation(String indent, int lineLength) { return this.getSuperClassifierFacade().getDocumentation(indent, lineLength); } /** * This method returns the documentation for this model element, with the lines wrapped after * the specified number of characters, values of less than 1 will indicate no line wrapping is * required. HTML style determines if HTML Escaping is applied. * @see ModelElementFacade#getDocumentation(String indent, int lineLength, boolean htmlStyle) */ public String getDocumentation(String indent, int lineLength, boolean htmlStyle) { return this.getSuperClassifierFacade().getDocumentation(indent, lineLength, htmlStyle); } /** * The fully qualified name of this model element. * @see ModelElementFacade#getFullyQualifiedName() */ public String getFullyQualifiedName() { return this.getSuperClassifierFacade().getFullyQualifiedName(); } /** * Returns the fully qualified name of the model element. The fully qualified name includes * complete package qualified name of the underlying model element. If modelName is true, then * the original name of the model element (the name contained within the model) will be the name * returned, otherwise a name from a language mapping will be returned. * @see ModelElementFacade#getFullyQualifiedName(boolean modelName) */ public String getFullyQualifiedName(boolean modelName) { return this.getSuperClassifierFacade().getFullyQualifiedName(modelName); } /** * Returns the fully qualified name as a path, the returned value always starts with out a slash * '/'. * @see ModelElementFacade#getFullyQualifiedNamePath() */ public String getFullyQualifiedNamePath() { return this.getSuperClassifierFacade().getFullyQualifiedNamePath(); } /** * Gets the unique identifier of the underlying model element. * @see ModelElementFacade#getId() */ public String getId() { return this.getSuperClassifierFacade().getId(); } /** * UML2: Retrieves the keywords for this element. Used to modify implementation properties which * are not represented by other properties, i.e. native, transient, volatile, synchronized, * (added annotations) override, deprecated. Can also be used to suppress compiler warnings: * (added annotations) unchecked, fallthrough, path, serial, finally, all. Annotations require * JDK5 compiler level. * @see ModelElementFacade#getKeywords() */ public Collection<String> getKeywords() { return this.getSuperClassifierFacade().getKeywords(); } /** * UML2: Retrieves a localized label for this named element. * @see ModelElementFacade#getLabel() */ public String getLabel() { return this.getSuperClassifierFacade().getLabel(); } /** * The language mappings that have been set for this model element. * @see ModelElementFacade#getLanguageMappings() */ public TypeMappings getLanguageMappings() { return this.getSuperClassifierFacade().getLanguageMappings(); } /** * Return the model containing this model element (multiple models may be loaded and processed * at the same time). * @see ModelElementFacade#getModel() */ public ModelFacade getModel() { return this.getSuperClassifierFacade().getModel(); } /** * The name of the model element. * @see ModelElementFacade#getName() */ public String getName() { return this.getSuperClassifierFacade().getName(); } /** * Gets the package to which this model element belongs. * @see ModelElementFacade#getPackage() */ public ModelElementFacade getPackage() { return this.getSuperClassifierFacade().getPackage(); } /** * The name of this model element's package. * @see ModelElementFacade#getPackageName() */ public String getPackageName() { return this.getSuperClassifierFacade().getPackageName(); } /** * Gets the package name (optionally providing the ability to retrieve the model name and not * the mapped name). * @see ModelElementFacade#getPackageName(boolean modelName) */ public String getPackageName(boolean modelName) { return this.getSuperClassifierFacade().getPackageName(modelName); } /** * Returns the package as a path, the returned value always starts with out a slash '/'. * @see ModelElementFacade#getPackagePath() */ public String getPackagePath() { return this.getSuperClassifierFacade().getPackagePath(); } /** * UML2: Returns the value of the 'Qualified Name' attribute. A name which allows the * NamedElement to be identified within a hierarchy of nested Namespaces. It is constructed from * the names of the containing namespaces starting at the root of the hierarchy and ending with * the name of the NamedElement itself. * @see ModelElementFacade#getQualifiedName() */ public String getQualifiedName() { return this.getSuperClassifierFacade().getQualifiedName(); } /** * Gets the root package for the model element. * @see ModelElementFacade#getRootPackage() */ public PackageFacade getRootPackage() { return this.getSuperClassifierFacade().getRootPackage(); } /** * Gets the dependencies for which this model element is the source. * @see ModelElementFacade#getSourceDependencies() */ public Collection<DependencyFacade> getSourceDependencies() { return this.getSuperClassifierFacade().getSourceDependencies(); } /** * If this model element is the context of an activity graph, this represents that activity * graph. * @see ModelElementFacade#getStateMachineContext() */ public StateMachineFacade getStateMachineContext() { return this.getSuperClassifierFacade().getStateMachineContext(); } /** * The collection of ALL stereotype names for this model element. * @see ModelElementFacade#getStereotypeNames() */ public Collection<String> getStereotypeNames() { return this.getSuperClassifierFacade().getStereotypeNames(); } /** * Gets all stereotypes for this model element. * @see ModelElementFacade#getStereotypes() */ public Collection<StereotypeFacade> getStereotypes() { return this.getSuperClassifierFacade().getStereotypes(); } /** * Return the TaggedValues associated with this model element, under all stereotypes. * @see ModelElementFacade#getTaggedValues() */ public Collection<TaggedValueFacade> getTaggedValues() { return this.getSuperClassifierFacade().getTaggedValues(); } /** * Gets the dependencies for which this model element is the target. * @see ModelElementFacade#getTargetDependencies() */ public Collection<DependencyFacade> getTargetDependencies() { return this.getSuperClassifierFacade().getTargetDependencies(); } /** * Get the template parameter for this model element having the parameterName * @see ModelElementFacade#getTemplateParameter(String parameterName) */ public Object getTemplateParameter(String parameterName) { return this.getSuperClassifierFacade().getTemplateParameter(parameterName); } /** * Get the template parameters for this model element * @see ModelElementFacade#getTemplateParameters() */ public Collection<TemplateParameterFacade> getTemplateParameters() { return this.getSuperClassifierFacade().getTemplateParameters(); } /** * The visibility (i.e. public, private, protected or package) of the model element, will * attempt a lookup for these values in the language mappings (if any). * @see ModelElementFacade#getVisibility() */ public String getVisibility() { return this.getSuperClassifierFacade().getVisibility(); } /** * Returns true if the model element has the exact stereotype (meaning no stereotype inheritance * is taken into account when searching for the stereotype), false otherwise. * @see ModelElementFacade#hasExactStereotype(String stereotypeName) */ public boolean hasExactStereotype(String stereotypeName) { return this.getSuperClassifierFacade().hasExactStereotype(stereotypeName); } /** * Does the UML Element contain the named Keyword? Keywords can be separated by space, comma, * pipe, semicolon, or << >> * @see ModelElementFacade#hasKeyword(String keywordName) */ public boolean hasKeyword(String keywordName) { return this.getSuperClassifierFacade().hasKeyword(keywordName); } /** * Returns true if the model element has the specified stereotype. If the stereotype itself * does not match, then a search will be made up the stereotype inheritance hierarchy, and if * one of the stereotype's ancestors has a matching name this method will return true, false * otherwise. * For example, if we have a certain stereotype called <<exception>> and a model element has a * stereotype called <<applicationException>> which extends <<exception>>, when calling this * method with 'stereotypeName' defined as 'exception' the method would return true since * <<applicationException>> inherits from <<exception>>. If you want to check if the model * element has the exact stereotype, then use the method 'hasExactStereotype' instead. * @see ModelElementFacade#hasStereotype(String stereotypeName) */ public boolean hasStereotype(String stereotypeName) { return this.getSuperClassifierFacade().hasStereotype(stereotypeName); } /** * True if there are target dependencies from this element that are instances of BindingFacade. * Deprecated in UML2: Use TemplateBinding parameters instead of dependencies. * @see ModelElementFacade#isBindingDependenciesPresent() */ public boolean isBindingDependenciesPresent() { return this.getSuperClassifierFacade().isBindingDependenciesPresent(); } /** * Indicates if any constraints are present on this model element. * @see ModelElementFacade#isConstraintsPresent() */ public boolean isConstraintsPresent() { return this.getSuperClassifierFacade().isConstraintsPresent(); } /** * Indicates if any documentation is present on this model element. * @see ModelElementFacade#isDocumentationPresent() */ public boolean isDocumentationPresent() { return this.getSuperClassifierFacade().isDocumentationPresent(); } /** * True if this element name is a reserved word in Java, C#, ANSI or ISO C, C++, JavaScript. * @see ModelElementFacade#isReservedWord() */ public boolean isReservedWord() { return this.getSuperClassifierFacade().isReservedWord(); } /** * True is there are template parameters on this model element. For UML2, applies to Class, * Operation, Property, and Parameter. * @see ModelElementFacade#isTemplateParametersPresent() */ public boolean isTemplateParametersPresent() { return this.getSuperClassifierFacade().isTemplateParametersPresent(); } /** * True if this element name is a valid identifier name in Java, C#, ANSI or ISO C, C++, * JavaScript. Contains no spaces, special characters etc. Constraint always applied on * Enumerations and Interfaces, optionally applies on other model elements. * @see ModelElementFacade#isValidIdentifierName() */ public boolean isValidIdentifierName() { return this.getSuperClassifierFacade().isValidIdentifierName(); } /** * Searches for the constraint with the specified 'name' on this model element, and if found * translates it using the specified 'translation' from a translation library discovered by the * framework. * @see ModelElementFacade#translateConstraint(String name, String translation) */ public String translateConstraint(String name, String translation) { return this.getSuperClassifierFacade().translateConstraint(name, translation); } /** * Translates all constraints belonging to this model element with the given 'translation'. * @see ModelElementFacade#translateConstraints(String translation) */ public String[] translateConstraints(String translation) { return this.getSuperClassifierFacade().translateConstraints(translation); } /** * Translates the constraints of the specified 'kind' belonging to this model element. * @see ModelElementFacade#translateConstraints(String kind, String translation) */ public String[] translateConstraints(String kind, String translation) { return this.getSuperClassifierFacade().translateConstraints(kind, translation); } /** * @see org.andromda.core.metafacade.MetafacadeBase#initialize() */ @Override public void initialize() { this.getSuperClassifierFacade().initialize(); } /** * @return Object getSuperClassifierFacade().getValidationOwner() * @see org.andromda.core.metafacade.MetafacadeBase#getValidationOwner() */ @Override public Object getValidationOwner() { Object owner = this.getSuperClassifierFacade().getValidationOwner(); return owner; } /** * @return String getSuperClassifierFacade().getValidationName() * @see org.andromda.core.metafacade.MetafacadeBase#getValidationName() */ @Override public String getValidationName() { String name = this.getSuperClassifierFacade().getValidationName(); return name; } /** * @param validationMessages Collection<ModelValidationMessage> * @see org.andromda.core.metafacade.MetafacadeBase#validateInvariants(Collection validationMessages) */ @Override public void validateInvariants(Collection<ModelValidationMessage> validationMessages) { this.getSuperClassifierFacade().validateInvariants(validationMessages); } /** * The property that stores the name of the metafacade. */ private static final String NAME_PROPERTY = "name"; private static final String FQNAME_PROPERTY = "fullyQualifiedName"; /** * @see Object#toString() */ @Override public String toString() { final StringBuilder toString = new StringBuilder(this.getClass().getName()); toString.append("["); try { toString.append(Introspector.instance().getProperty(this, FQNAME_PROPERTY)); } catch (final Throwable tryAgain) { try { toString.append(Introspector.instance().getProperty(this, NAME_PROPERTY)); } catch (final Throwable ignore) { // - just ignore when the metafacade doesn't have a name or fullyQualifiedName property } } toString.append("]"); return toString.toString(); } } |
File | Line |
---|---|
org\andromda\cartridges\ejb3\metafacades\EJB3MessageDrivenOperationFacadeLogic.java | 189 |
org\andromda\cartridges\ejb3\metafacades\EJB3SessionOperationFacadeLogic.java | 2110 |
public boolean isServiceOperationMetaType() { return true; } /** * @return true * @see OperationFacade */ public boolean isOperationFacadeMetaType() { return true; } /** * @return true * @see ModelElementFacade */ public boolean isModelElementFacadeMetaType() { return true; } // ----------- delegates to ServiceOperation ------------ /** * Copies all tagged values from the given ModelElementFacade to this model element facade. * @see ModelElementFacade#copyTaggedValues(ModelElementFacade element) */ public void copyTaggedValues(ModelElementFacade element) { this.getSuperServiceOperation().copyTaggedValues(element); } /** * Finds the tagged value with the specified 'tagName'. In case there are more values the first * one found will be returned. * @see ModelElementFacade#findTaggedValue(String tagName) */ public Object findTaggedValue(String tagName) { return this.getSuperServiceOperation().findTaggedValue(tagName); } /** * Returns all the values for the tagged value with the specified name. The returned collection * will contains only String instances, or will be empty. Never null. * @see ModelElementFacade#findTaggedValues(String tagName) */ public Collection<Object> findTaggedValues(String tagName) { return this.getSuperServiceOperation().findTaggedValues(tagName); } /** * Returns the fully qualified name of the model element. The fully qualified name includes * complete package qualified name of the underlying model element. The templates parameter will * be replaced by the correct one given the binding relation of the parameter to this element. * @see ModelElementFacade#getBindedFullyQualifiedName(ModelElementFacade bindedElement) */ public String getBindedFullyQualifiedName(ModelElementFacade bindedElement) { return this.getSuperServiceOperation().getBindedFullyQualifiedName(bindedElement); } /** * Gets all constraints belonging to the model element. * @see ModelElementFacade#getConstraints() */ public Collection<ConstraintFacade> getConstraints() { return this.getSuperServiceOperation().getConstraints(); } /** * Returns the constraints of the argument kind that have been placed onto this model. Typical * kinds are "inv", "pre" and "post". Other kinds are possible. * @see ModelElementFacade#getConstraints(String kind) */ public Collection<ConstraintFacade> getConstraints(String kind) { return this.getSuperServiceOperation().getConstraints(kind); } /** * Gets the documentation for the model element, The indent argument is prefixed to each line. * By default this method wraps lines after 64 characters. * This method is equivalent to <code>getDocumentation(indent, 64)</code>. * @see ModelElementFacade#getDocumentation(String indent) */ public String getDocumentation(String indent) { return this.getSuperServiceOperation().getDocumentation(indent); } /** * This method returns the documentation for this model element, with the lines wrapped after * the specified number of characters, values of less than 1 will indicate no line wrapping is * required. By default paragraphs are returned as HTML. * This method is equivalent to <code>getDocumentation(indent, lineLength, true)</code>. * @see ModelElementFacade#getDocumentation(String indent, int lineLength) */ public String getDocumentation(String indent, int lineLength) { return this.getSuperServiceOperation().getDocumentation(indent, lineLength); } /** * This method returns the documentation for this model element, with the lines wrapped after * the specified number of characters, values of less than 1 will indicate no line wrapping is * required. HTML style determines if HTML Escaping is applied. * @see ModelElementFacade#getDocumentation(String indent, int lineLength, boolean htmlStyle) */ public String getDocumentation(String indent, int lineLength, boolean htmlStyle) { return this.getSuperServiceOperation().getDocumentation(indent, lineLength, htmlStyle); } /** * The fully qualified name of this model element. * @see ModelElementFacade#getFullyQualifiedName() */ public String getFullyQualifiedName() { return this.getSuperServiceOperation().getFullyQualifiedName(); } /** * Returns the fully qualified name of the model element. The fully qualified name includes * complete package qualified name of the underlying model element. If modelName is true, then * the original name of the model element (the name contained within the model) will be the name * returned, otherwise a name from a language mapping will be returned. * @see ModelElementFacade#getFullyQualifiedName(boolean modelName) */ public String getFullyQualifiedName(boolean modelName) { return this.getSuperServiceOperation().getFullyQualifiedName(modelName); } /** * Returns the fully qualified name as a path, the returned value always starts with out a slash * '/'. * @see ModelElementFacade#getFullyQualifiedNamePath() */ public String getFullyQualifiedNamePath() { return this.getSuperServiceOperation().getFullyQualifiedNamePath(); } /** * Gets the unique identifier of the underlying model element. * @see ModelElementFacade#getId() */ public String getId() { return this.getSuperServiceOperation().getId(); } /** * UML2: Retrieves the keywords for this element. Used to modify implementation properties which * are not represented by other properties, i.e. native, transient, volatile, synchronized, * (added annotations) override, deprecated. Can also be used to suppress compiler warnings: * (added annotations) unchecked, fallthrough, path, serial, finally, all. Annotations require * JDK5 compiler level. * @see ModelElementFacade#getKeywords() */ public Collection<String> getKeywords() { return this.getSuperServiceOperation().getKeywords(); } /** * UML2: Retrieves a localized label for this named element. * @see ModelElementFacade#getLabel() */ public String getLabel() { return this.getSuperServiceOperation().getLabel(); } /** * The language mappings that have been set for this model element. * @see ModelElementFacade#getLanguageMappings() */ public TypeMappings getLanguageMappings() { return this.getSuperServiceOperation().getLanguageMappings(); } /** * Return the model containing this model element (multiple models may be loaded and processed * at the same time). * @see ModelElementFacade#getModel() */ public ModelFacade getModel() { return this.getSuperServiceOperation().getModel(); } /** * The name of the model element. * @see ModelElementFacade#getName() */ public String getName() { return this.getSuperServiceOperation().getName(); } /** * Gets the package to which this model element belongs. * @see ModelElementFacade#getPackage() */ public ModelElementFacade getPackage() { return this.getSuperServiceOperation().getPackage(); } /** * The name of this model element's package. * @see ModelElementFacade#getPackageName() */ public String getPackageName() { return this.getSuperServiceOperation().getPackageName(); } /** * Gets the package name (optionally providing the ability to retrieve the model name and not * the mapped name). * @see ModelElementFacade#getPackageName(boolean modelName) */ public String getPackageName(boolean modelName) { return this.getSuperServiceOperation().getPackageName(modelName); } /** * Returns the package as a path, the returned value always starts with out a slash '/'. * @see ModelElementFacade#getPackagePath() */ public String getPackagePath() { return this.getSuperServiceOperation().getPackagePath(); } /** * UML2: Returns the value of the 'Qualified Name' attribute. A name which allows the * NamedElement to be identified within a hierarchy of nested Namespaces. It is constructed from * the names of the containing namespaces starting at the root of the hierarchy and ending with * the name of the NamedElement itself. * @see ModelElementFacade#getQualifiedName() */ public String getQualifiedName() { return this.getSuperServiceOperation().getQualifiedName(); } /** * Gets the root package for the model element. * @see ModelElementFacade#getRootPackage() */ public PackageFacade getRootPackage() { return this.getSuperServiceOperation().getRootPackage(); } /** * Gets the dependencies for which this model element is the source. * @see ModelElementFacade#getSourceDependencies() */ public Collection<DependencyFacade> getSourceDependencies() { return this.getSuperServiceOperation().getSourceDependencies(); } /** * If this model element is the context of an activity graph, this represents that activity * graph. * @see ModelElementFacade#getStateMachineContext() */ public StateMachineFacade getStateMachineContext() { return this.getSuperServiceOperation().getStateMachineContext(); } /** * The collection of ALL stereotype names for this model element. * @see ModelElementFacade#getStereotypeNames() */ public Collection<String> getStereotypeNames() { return this.getSuperServiceOperation().getStereotypeNames(); } /** * Gets all stereotypes for this model element. * @see ModelElementFacade#getStereotypes() */ public Collection<StereotypeFacade> getStereotypes() { return this.getSuperServiceOperation().getStereotypes(); } /** * Return the TaggedValues associated with this model element, under all stereotypes. * @see ModelElementFacade#getTaggedValues() */ public Collection<TaggedValueFacade> getTaggedValues() { return this.getSuperServiceOperation().getTaggedValues(); } /** * Gets the dependencies for which this model element is the target. * @see ModelElementFacade#getTargetDependencies() */ public Collection<DependencyFacade> getTargetDependencies() { return this.getSuperServiceOperation().getTargetDependencies(); } /** * Get the template parameter for this model element having the parameterName * @see ModelElementFacade#getTemplateParameter(String parameterName) */ public Object getTemplateParameter(String parameterName) { return this.getSuperServiceOperation().getTemplateParameter(parameterName); } /** * Get the template parameters for this model element * @see ModelElementFacade#getTemplateParameters() */ public Collection<TemplateParameterFacade> getTemplateParameters() { return this.getSuperServiceOperation().getTemplateParameters(); } /** * The visibility (i.e. public, private, protected or package) of the model element, will * attempt a lookup for these values in the language mappings (if any). * @see ModelElementFacade#getVisibility() */ public String getVisibility() { return this.getSuperServiceOperation().getVisibility(); } /** * Returns true if the model element has the exact stereotype (meaning no stereotype inheritance * is taken into account when searching for the stereotype), false otherwise. * @see ModelElementFacade#hasExactStereotype(String stereotypeName) */ public boolean hasExactStereotype(String stereotypeName) { return this.getSuperServiceOperation().hasExactStereotype(stereotypeName); } /** * Does the UML Element contain the named Keyword? Keywords can be separated by space, comma, * pipe, semicolon, or << >> * @see ModelElementFacade#hasKeyword(String keywordName) */ public boolean hasKeyword(String keywordName) { return this.getSuperServiceOperation().hasKeyword(keywordName); } /** * Returns true if the model element has the specified stereotype. If the stereotype itself * does not match, then a search will be made up the stereotype inheritance hierarchy, and if * one of the stereotype's ancestors has a matching name this method will return true, false * otherwise. * For example, if we have a certain stereotype called <<exception>> and a model element has a * stereotype called <<applicationException>> which extends <<exception>>, when calling this * method with 'stereotypeName' defined as 'exception' the method would return true since * <<applicationException>> inherits from <<exception>>. If you want to check if the model * element has the exact stereotype, then use the method 'hasExactStereotype' instead. * @see ModelElementFacade#hasStereotype(String stereotypeName) */ public boolean hasStereotype(String stereotypeName) { return this.getSuperServiceOperation().hasStereotype(stereotypeName); } /** * True if there are target dependencies from this element that are instances of BindingFacade. * Deprecated in UML2: Use TemplateBinding parameters instead of dependencies. * @see ModelElementFacade#isBindingDependenciesPresent() */ public boolean isBindingDependenciesPresent() { return this.getSuperServiceOperation().isBindingDependenciesPresent(); } /** * Indicates if any constraints are present on this model element. * @see ModelElementFacade#isConstraintsPresent() */ public boolean isConstraintsPresent() { return this.getSuperServiceOperation().isConstraintsPresent(); } /** * Indicates if any documentation is present on this model element. * @see ModelElementFacade#isDocumentationPresent() */ public boolean isDocumentationPresent() { return this.getSuperServiceOperation().isDocumentationPresent(); } /** * True if this element name is a reserved word in Java, C#, ANSI or ISO C, C++, JavaScript. * @see ModelElementFacade#isReservedWord() */ public boolean isReservedWord() { return this.getSuperServiceOperation().isReservedWord(); } /** * True is there are template parameters on this model element. For UML2, applies to Class, * Operation, Property, and Parameter. * @see ModelElementFacade#isTemplateParametersPresent() */ public boolean isTemplateParametersPresent() { return this.getSuperServiceOperation().isTemplateParametersPresent(); } /** * True if this element name is a valid identifier name in Java, C#, ANSI or ISO C, C++, * JavaScript. Contains no spaces, special characters etc. Constraint always applied on * Enumerations and Interfaces, optionally applies on other model elements. * @see ModelElementFacade#isValidIdentifierName() */ public boolean isValidIdentifierName() { return this.getSuperServiceOperation().isValidIdentifierName(); } /** * Searches for the constraint with the specified 'name' on this model element, and if found * translates it using the specified 'translation' from a translation library discovered by the * framework. * @see ModelElementFacade#translateConstraint(String name, String translation) */ public String translateConstraint(String name, String translation) { return this.getSuperServiceOperation().translateConstraint(name, translation); } /** * Translates all constraints belonging to this model element with the given 'translation'. * @see ModelElementFacade#translateConstraints(String translation) */ public String[] translateConstraints(String translation) { return this.getSuperServiceOperation().translateConstraints(translation); } /** * Translates the constraints of the specified 'kind' belonging to this model element. * @see ModelElementFacade#translateConstraints(String kind, String translation) */ public String[] translateConstraints(String kind, String translation) { return this.getSuperServiceOperation().translateConstraints(kind, translation); } /** * Finds the parameter on this operation having the given name, if no parameter is found, null * is returned instead. * @see OperationFacade#findParameter(String name) */ public ParameterFacade findParameter(String name) { return this.getSuperServiceOperation().findParameter(name); } /** * Searches the given feature for the specified tag. * If the follow boolean is set to true then the search will continue from the class operation * to the class itself and then up the class hierarchy. * @see OperationFacade#findTaggedValue(String name, boolean follow) */ public Object findTaggedValue(String name, boolean follow) { return this.getSuperServiceOperation().findTaggedValue(name, follow); } /** * A comma separated list of all argument names. * @see OperationFacade#getArgumentNames() */ public String getArgumentNames() { return this.getSuperServiceOperation().getArgumentNames(); } /** * A comma separated list of all types of each argument, in order. * @see OperationFacade#getArgumentTypeNames() */ public String getArgumentTypeNames() { return this.getSuperServiceOperation().getArgumentTypeNames(); } /** * Specification of an argument used to pass information into or out of an invocation of a * behavioral * feature. Parameters are allowed to be treated as connectable elements. Parameters have * support for * streaming, exceptions, and parameter sets. * @see OperationFacade#getArguments() */ public Collection<ParameterFacade> getArguments() { return this.getSuperServiceOperation().getArguments(); } /** * Constructs the operation call with the operation name * @see OperationFacade#getCall() */ public String getCall() { return this.getSuperServiceOperation().getCall(); } /** * Returns the concurrency modifier for this operation (i.e. concurrent, guarded or sequential) * of the model element, will attempt a lookup for these values in the language mappings (if * any). * @see OperationFacade#getConcurrency() */ public String getConcurrency() { return this.getSuperServiceOperation().getConcurrency(); } /** * A comma separated list containing all exceptions that this operation throws. Exceptions are * determined through dependencies that have the target element stereotyped as <<Exception>>. * @see OperationFacade#getExceptionList() */ public String getExceptionList() { return this.getSuperServiceOperation().getExceptionList(); } /** * Returns a comma separated list of exceptions appended to the comma separated list of fully * qualified 'initialException' classes passed in to this method. * @see OperationFacade#getExceptionList(String initialExceptions) */ public String getExceptionList(String initialExceptions) { return this.getSuperServiceOperation().getExceptionList(initialExceptions); } /** * A collection of all exceptions thrown by this operation. * @see OperationFacade#getExceptions() */ public Collection<ModelElementFacade> getExceptions() { return this.getSuperServiceOperation().getExceptions(); } /** * Return Type with multiplicity taken into account. UML14 does not allow multiplicity *. * @see OperationFacade#getGetterSetterReturnTypeName() */ public String getGetterSetterReturnTypeName() { return this.getSuperServiceOperation().getGetterSetterReturnTypeName(); } /** * the lower value for the multiplicity * -only applicable for UML2 * @see OperationFacade#getLower() */ public int getLower() { return this.getSuperServiceOperation().getLower(); } /** * Returns the operation method body determined from UML sequence diagrams or other UML sources. * @see OperationFacade#getMethodBody() */ public String getMethodBody() { return this.getSuperServiceOperation().getMethodBody(); } /** * The operation this operation overrides, null if this operation is not overriding. * @see OperationFacade#getOverriddenOperation() */ public OperationFacade getOverriddenOperation() { return this.getSuperServiceOperation().getOverriddenOperation(); } /** * Gets the owner of this operation * @see OperationFacade#getOwner() */ public ClassifierFacade getOwner() { return this.getSuperServiceOperation().getOwner(); } /** * Return all parameters for the operation, including the return parameter. * @see OperationFacade#getParameters() */ public Collection<ParameterFacade> getParameters() { return this.getSuperServiceOperation().getParameters(); } /** * The name of the operation that handles postcondition constraints. * @see OperationFacade#getPostconditionName() */ public String getPostconditionName() { return this.getSuperServiceOperation().getPostconditionName(); } /** * The postcondition constraints belonging to this operation. * @see OperationFacade#getPostconditions() */ public Collection<ConstraintFacade> getPostconditions() { return this.getSuperServiceOperation().getPostconditions(); } /** * The call to the precondition operation. * @see OperationFacade#getPreconditionCall() */ public String getPreconditionCall() { return this.getSuperServiceOperation().getPreconditionCall(); } /** * The name of the operation that handles precondition constraints. * @see OperationFacade#getPreconditionName() */ public String getPreconditionName() { return this.getSuperServiceOperation().getPreconditionName(); } /** * The signature of the precondition operation. * @see OperationFacade#getPreconditionSignature() */ public String getPreconditionSignature() { return this.getSuperServiceOperation().getPreconditionSignature(); } /** * The precondition constraints belonging to this operation. * @see OperationFacade#getPreconditions() */ public Collection<ConstraintFacade> getPreconditions() { return this.getSuperServiceOperation().getPreconditions(); } /** * (UML2 Only). Get the actual return parameter (which may have stereotypes etc). * @see OperationFacade#getReturnParameter() */ public ParameterFacade getReturnParameter() { return this.getSuperServiceOperation().getReturnParameter(); } /** * The operation return type parameter. * @see OperationFacade#getReturnType() */ public ClassifierFacade getReturnType() { return this.getSuperServiceOperation().getReturnType(); } /** * Return the operation signature, including public/protested abstract returnType name plus * argument type and name * @see OperationFacade#getSignature() */ public String getSignature() { return this.getSuperServiceOperation().getSignature(); } /** * Returns the signature of the operation and optionally appends the argument names (if * withArgumentNames is true), otherwise returns the signature with just the types alone in the * signature. * @see OperationFacade#getSignature(boolean withArgumentNames) */ public String getSignature(boolean withArgumentNames) { return this.getSuperServiceOperation().getSignature(withArgumentNames); } /** * Returns the signature of the operation and optionally appends the given 'argumentModifier' to * each argument. * @see OperationFacade#getSignature(String argumentModifier) */ public String getSignature(String argumentModifier) { return this.getSuperServiceOperation().getSignature(argumentModifier); } /** * A comma-separated parameter list (type and name of each parameter) of an operation. * @see OperationFacade#getTypedArgumentList() */ public String getTypedArgumentList() { return this.getSuperServiceOperation().getTypedArgumentList(); } /** * A comma-separated parameter list (type and name of each parameter) of an operation with an * optional modifier (i.e final) before each parameter. * @see OperationFacade#getTypedArgumentList(String modifier) */ public String getTypedArgumentList(String modifier) { return this.getSuperServiceOperation().getTypedArgumentList(modifier); } /** * the upper value for the multiplicity (will be -1 for *) * - only applicable for UML2 * @see OperationFacade#getUpper() */ public int getUpper() { return this.getSuperServiceOperation().getUpper(); } /** * True is the operation is abstract. * @see OperationFacade#isAbstract() */ public boolean isAbstract() { return this.getSuperServiceOperation().isAbstract(); } /** * True if the operation has (i.e. throws any exceptions) false otherwise. * @see OperationFacade#isExceptionsPresent() */ public boolean isExceptionsPresent() { return this.getSuperServiceOperation().isExceptionsPresent(); } /** * IsLeaf property in the operation. If true, operation is final, cannot be extended or * implemented by a descendant. Default=false. * @see OperationFacade#isLeaf() */ public boolean isLeaf() { return this.getSuperServiceOperation().isLeaf(); } /** * UML2 only. If the return type parameter multiplicity>1 OR the operation multiplicity>1. * Default=false. * @see OperationFacade#isMany() */ public boolean isMany() { return this.getSuperServiceOperation().isMany(); } /** * UML2 only: If isMany (Collection type returned), is the type unique within the collection. * Unique+Ordered determines CollectionType implementation of return result. Default=false. * @see OperationFacade#isOrdered() */ public boolean isOrdered() { return this.getSuperServiceOperation().isOrdered(); } /** * True if this operation overrides an operation defined in an ancestor class. An operation * overrides when the names of the operations as well as the types of the arguments are equal. * The return type may be different and is, as well as any exceptions, ignored. * @see OperationFacade#isOverriding() */ public boolean isOverriding() { return this.getSuperServiceOperation().isOverriding(); } /** * Whether any postcondition constraints are present on this operation. * @see OperationFacade#isPostconditionsPresent() */ public boolean isPostconditionsPresent() { return this.getSuperServiceOperation().isPostconditionsPresent(); } /** * Whether any precondition constraints are present on this operation. * @see OperationFacade#isPreconditionsPresent() */ public boolean isPreconditionsPresent() { return this.getSuperServiceOperation().isPreconditionsPresent(); } /** * Indicates whether or not this operation is a query operation. * @see OperationFacade#isQuery() */ public boolean isQuery() { return this.getSuperServiceOperation().isQuery(); } /** * True/false depending on whether or not the operation has a return type or not (i.e. a return * type of something other than void). * @see OperationFacade#isReturnTypePresent() */ public boolean isReturnTypePresent() { return this.getSuperServiceOperation().isReturnTypePresent(); } /** * True is the operation is static (only a single instance can be instantiated). * @see OperationFacade#isStatic() */ public boolean isStatic() { return this.getSuperServiceOperation().isStatic(); } /** * UML2 only: for Collection return type, is the type unique within the collection. * Unique+Ordered determines the returned CollectionType. Default=false. * @see OperationFacade#isUnique() */ public boolean isUnique() { return this.getSuperServiceOperation().isUnique(); } /** * The destination for any incoming messages. * @see ServiceOperation#getIncomingDestination() */ public Destination getIncomingDestination() { return this.getSuperServiceOperation().getIncomingDestination(); } /** * The destination for any outgoing messages. * @see ServiceOperation#getOutgoingDestination() */ public Destination getOutgoingDestination() { return this.getSuperServiceOperation().getOutgoingDestination(); } /** * The users of the service operation, these are the actor's that can access this operation. * @see ServiceOperation#getRoles() */ public Collection<Role> getRoles() { return this.getSuperServiceOperation().getRoles(); } /** * The service which owns the service operation. * @see ServiceOperation#getService() */ public Service getService() { return this.getSuperServiceOperation().getService(); } /** * Whether or not this operation represents an "incoming" message operation (i.e. it receives * messages from Queues or Topics). * @see ServiceOperation#isIncomingMessageOperation() */ public boolean isIncomingMessageOperation() { return this.getSuperServiceOperation().isIncomingMessageOperation(); } /** * Whether or not this is operation accepts incoming or outgoing messages. * @see ServiceOperation#isMessageOperation() */ public boolean isMessageOperation() { return this.getSuperServiceOperation().isMessageOperation(); } /** * Whether or not this service operation represents an "outgoing" messaging operation (i.e. it * sends messages to Queues or Topics). * @see ServiceOperation#isOutgoingMessageOperation() */ public boolean isOutgoingMessageOperation() { return this.getSuperServiceOperation().isOutgoingMessageOperation(); } /** * @see org.andromda.core.metafacade.MetafacadeBase#initialize() */ @Override public void initialize() { this.getSuperServiceOperation().initialize(); } /** * @return Object getSuperServiceOperation().getValidationOwner() * @see org.andromda.core.metafacade.MetafacadeBase#getValidationOwner() */ @Override public Object getValidationOwner() { Object owner = this.getSuperServiceOperation().getValidationOwner(); return owner; } /** * @return String getSuperServiceOperation().getValidationName() * @see org.andromda.core.metafacade.MetafacadeBase#getValidationName() */ @Override public String getValidationName() { String name = this.getSuperServiceOperation().getValidationName(); return name; } /** * @param validationMessages Collection<ModelValidationMessage> * @see org.andromda.core.metafacade.MetafacadeBase#validateInvariants(Collection validationMessages) */ @Override public void validateInvariants(Collection<ModelValidationMessage> validationMessages) { this.getSuperServiceOperation().validateInvariants(validationMessages); } /** * The property that stores the name of the metafacade. */ private static final String NAME_PROPERTY = "name"; private static final String FQNAME_PROPERTY = "fullyQualifiedName"; /** * @see Object#toString() */ @Override public String toString() { final StringBuilder toString = new StringBuilder(this.getClass().getName()); toString.append("["); try { toString.append(Introspector.instance().getProperty(this, FQNAME_PROPERTY)); } catch (final Throwable tryAgain) { try { toString.append(Introspector.instance().getProperty(this, NAME_PROPERTY)); } catch (final Throwable ignore) { // - just ignore when the metafacade doesn't have a name or fullyQualifiedName property } } toString.append("]"); return toString.toString(); } } |
File | Line |
---|---|
org\andromda\cartridges\ejb3\metafacades\EJB3FinderMethodArgumentFacadeLogic.java | 269 |
org\andromda\cartridges\ejb3\metafacades\EJB3SessionOperationParameterFacadeLogic.java | 211 |
} /** * @return true * @see ParameterFacade */ public boolean isParameterFacadeMetaType() { return true; } /** * @return true * @see ModelElementFacade */ public boolean isModelElementFacadeMetaType() { return true; } // ----------- delegates to ParameterFacade ------------ /** * Copies all tagged values from the given ModelElementFacade to this model element facade. * @see ModelElementFacade#copyTaggedValues(ModelElementFacade element) */ public void copyTaggedValues(ModelElementFacade element) { this.getSuperParameterFacade().copyTaggedValues(element); } /** * Finds the tagged value with the specified 'tagName'. In case there are more values the first * one found will be returned. * @see ModelElementFacade#findTaggedValue(String tagName) */ public Object findTaggedValue(String tagName) { return this.getSuperParameterFacade().findTaggedValue(tagName); } /** * Returns all the values for the tagged value with the specified name. The returned collection * will contains only String instances, or will be empty. Never null. * @see ModelElementFacade#findTaggedValues(String tagName) */ public Collection<Object> findTaggedValues(String tagName) { return this.getSuperParameterFacade().findTaggedValues(tagName); } /** * Returns the fully qualified name of the model element. The fully qualified name includes * complete package qualified name of the underlying model element. The templates parameter will * be replaced by the correct one given the binding relation of the parameter to this element. * @see ModelElementFacade#getBindedFullyQualifiedName(ModelElementFacade bindedElement) */ public String getBindedFullyQualifiedName(ModelElementFacade bindedElement) { return this.getSuperParameterFacade().getBindedFullyQualifiedName(bindedElement); } /** * Gets all constraints belonging to the model element. * @see ModelElementFacade#getConstraints() */ public Collection<ConstraintFacade> getConstraints() { return this.getSuperParameterFacade().getConstraints(); } /** * Returns the constraints of the argument kind that have been placed onto this model. Typical * kinds are "inv", "pre" and "post". Other kinds are possible. * @see ModelElementFacade#getConstraints(String kind) */ public Collection<ConstraintFacade> getConstraints(String kind) { return this.getSuperParameterFacade().getConstraints(kind); } /** * Gets the documentation for the model element, The indent argument is prefixed to each line. * By default this method wraps lines after 64 characters. * This method is equivalent to <code>getDocumentation(indent, 64)</code>. * @see ModelElementFacade#getDocumentation(String indent) */ public String getDocumentation(String indent) { return this.getSuperParameterFacade().getDocumentation(indent); } /** * This method returns the documentation for this model element, with the lines wrapped after * the specified number of characters, values of less than 1 will indicate no line wrapping is * required. By default paragraphs are returned as HTML. * This method is equivalent to <code>getDocumentation(indent, lineLength, true)</code>. * @see ModelElementFacade#getDocumentation(String indent, int lineLength) */ public String getDocumentation(String indent, int lineLength) { return this.getSuperParameterFacade().getDocumentation(indent, lineLength); } /** * This method returns the documentation for this model element, with the lines wrapped after * the specified number of characters, values of less than 1 will indicate no line wrapping is * required. HTML style determines if HTML Escaping is applied. * @see ModelElementFacade#getDocumentation(String indent, int lineLength, boolean htmlStyle) */ public String getDocumentation(String indent, int lineLength, boolean htmlStyle) { return this.getSuperParameterFacade().getDocumentation(indent, lineLength, htmlStyle); } /** * The fully qualified name of this model element. * @see ModelElementFacade#getFullyQualifiedName() */ public String getFullyQualifiedName() { return this.getSuperParameterFacade().getFullyQualifiedName(); } /** * Returns the fully qualified name of the model element. The fully qualified name includes * complete package qualified name of the underlying model element. If modelName is true, then * the original name of the model element (the name contained within the model) will be the name * returned, otherwise a name from a language mapping will be returned. * @see ModelElementFacade#getFullyQualifiedName(boolean modelName) */ public String getFullyQualifiedName(boolean modelName) { return this.getSuperParameterFacade().getFullyQualifiedName(modelName); } /** * Returns the fully qualified name as a path, the returned value always starts with out a slash * '/'. * @see ModelElementFacade#getFullyQualifiedNamePath() */ public String getFullyQualifiedNamePath() { return this.getSuperParameterFacade().getFullyQualifiedNamePath(); } /** * Gets the unique identifier of the underlying model element. * @see ModelElementFacade#getId() */ public String getId() { return this.getSuperParameterFacade().getId(); } /** * UML2: Retrieves the keywords for this element. Used to modify implementation properties which * are not represented by other properties, i.e. native, transient, volatile, synchronized, * (added annotations) override, deprecated. Can also be used to suppress compiler warnings: * (added annotations) unchecked, fallthrough, path, serial, finally, all. Annotations require * JDK5 compiler level. * @see ModelElementFacade#getKeywords() */ public Collection<String> getKeywords() { return this.getSuperParameterFacade().getKeywords(); } /** * UML2: Retrieves a localized label for this named element. * @see ModelElementFacade#getLabel() */ public String getLabel() { return this.getSuperParameterFacade().getLabel(); } /** * The language mappings that have been set for this model element. * @see ModelElementFacade#getLanguageMappings() */ public TypeMappings getLanguageMappings() { return this.getSuperParameterFacade().getLanguageMappings(); } /** * Return the model containing this model element (multiple models may be loaded and processed * at the same time). * @see ModelElementFacade#getModel() */ public ModelFacade getModel() { return this.getSuperParameterFacade().getModel(); } /** * The name of the model element. * @see ModelElementFacade#getName() */ public String getName() { return this.getSuperParameterFacade().getName(); } /** * Gets the package to which this model element belongs. * @see ModelElementFacade#getPackage() */ public ModelElementFacade getPackage() { return this.getSuperParameterFacade().getPackage(); } /** * The name of this model element's package. * @see ModelElementFacade#getPackageName() */ public String getPackageName() { return this.getSuperParameterFacade().getPackageName(); } /** * Gets the package name (optionally providing the ability to retrieve the model name and not * the mapped name). * @see ModelElementFacade#getPackageName(boolean modelName) */ public String getPackageName(boolean modelName) { return this.getSuperParameterFacade().getPackageName(modelName); } /** * Returns the package as a path, the returned value always starts with out a slash '/'. * @see ModelElementFacade#getPackagePath() */ public String getPackagePath() { return this.getSuperParameterFacade().getPackagePath(); } /** * UML2: Returns the value of the 'Qualified Name' attribute. A name which allows the * NamedElement to be identified within a hierarchy of nested Namespaces. It is constructed from * the names of the containing namespaces starting at the root of the hierarchy and ending with * the name of the NamedElement itself. * @see ModelElementFacade#getQualifiedName() */ public String getQualifiedName() { return this.getSuperParameterFacade().getQualifiedName(); } /** * Gets the root package for the model element. * @see ModelElementFacade#getRootPackage() */ public PackageFacade getRootPackage() { return this.getSuperParameterFacade().getRootPackage(); } /** * Gets the dependencies for which this model element is the source. * @see ModelElementFacade#getSourceDependencies() */ public Collection<DependencyFacade> getSourceDependencies() { return this.getSuperParameterFacade().getSourceDependencies(); } /** * If this model element is the context of an activity graph, this represents that activity * graph. * @see ModelElementFacade#getStateMachineContext() */ public StateMachineFacade getStateMachineContext() { return this.getSuperParameterFacade().getStateMachineContext(); } /** * The collection of ALL stereotype names for this model element. * @see ModelElementFacade#getStereotypeNames() */ public Collection<String> getStereotypeNames() { return this.getSuperParameterFacade().getStereotypeNames(); } /** * Gets all stereotypes for this model element. * @see ModelElementFacade#getStereotypes() */ public Collection<StereotypeFacade> getStereotypes() { return this.getSuperParameterFacade().getStereotypes(); } /** * Return the TaggedValues associated with this model element, under all stereotypes. * @see ModelElementFacade#getTaggedValues() */ public Collection<TaggedValueFacade> getTaggedValues() { return this.getSuperParameterFacade().getTaggedValues(); } /** * Gets the dependencies for which this model element is the target. * @see ModelElementFacade#getTargetDependencies() */ public Collection<DependencyFacade> getTargetDependencies() { return this.getSuperParameterFacade().getTargetDependencies(); } /** * Get the template parameter for this model element having the parameterName * @see ModelElementFacade#getTemplateParameter(String parameterName) */ public Object getTemplateParameter(String parameterName) { return this.getSuperParameterFacade().getTemplateParameter(parameterName); } /** * Get the template parameters for this model element * @see ModelElementFacade#getTemplateParameters() */ public Collection<TemplateParameterFacade> getTemplateParameters() { return this.getSuperParameterFacade().getTemplateParameters(); } /** * The visibility (i.e. public, private, protected or package) of the model element, will * attempt a lookup for these values in the language mappings (if any). * @see ModelElementFacade#getVisibility() */ public String getVisibility() { return this.getSuperParameterFacade().getVisibility(); } /** * Returns true if the model element has the exact stereotype (meaning no stereotype inheritance * is taken into account when searching for the stereotype), false otherwise. * @see ModelElementFacade#hasExactStereotype(String stereotypeName) */ public boolean hasExactStereotype(String stereotypeName) { return this.getSuperParameterFacade().hasExactStereotype(stereotypeName); } /** * Does the UML Element contain the named Keyword? Keywords can be separated by space, comma, * pipe, semicolon, or << >> * @see ModelElementFacade#hasKeyword(String keywordName) */ public boolean hasKeyword(String keywordName) { return this.getSuperParameterFacade().hasKeyword(keywordName); } /** * Returns true if the model element has the specified stereotype. If the stereotype itself * does not match, then a search will be made up the stereotype inheritance hierarchy, and if * one of the stereotype's ancestors has a matching name this method will return true, false * otherwise. * For example, if we have a certain stereotype called <<exception>> and a model element has a * stereotype called <<applicationException>> which extends <<exception>>, when calling this * method with 'stereotypeName' defined as 'exception' the method would return true since * <<applicationException>> inherits from <<exception>>. If you want to check if the model * element has the exact stereotype, then use the method 'hasExactStereotype' instead. * @see ModelElementFacade#hasStereotype(String stereotypeName) */ public boolean hasStereotype(String stereotypeName) { return this.getSuperParameterFacade().hasStereotype(stereotypeName); } /** * True if there are target dependencies from this element that are instances of BindingFacade. * Deprecated in UML2: Use TemplateBinding parameters instead of dependencies. * @see ModelElementFacade#isBindingDependenciesPresent() */ public boolean isBindingDependenciesPresent() { return this.getSuperParameterFacade().isBindingDependenciesPresent(); } /** * Indicates if any constraints are present on this model element. * @see ModelElementFacade#isConstraintsPresent() */ public boolean isConstraintsPresent() { return this.getSuperParameterFacade().isConstraintsPresent(); } /** * Indicates if any documentation is present on this model element. * @see ModelElementFacade#isDocumentationPresent() */ public boolean isDocumentationPresent() { return this.getSuperParameterFacade().isDocumentationPresent(); } /** * True if this element name is a reserved word in Java, C#, ANSI or ISO C, C++, JavaScript. * @see ModelElementFacade#isReservedWord() */ public boolean isReservedWord() { return this.getSuperParameterFacade().isReservedWord(); } /** * True is there are template parameters on this model element. For UML2, applies to Class, * Operation, Property, and Parameter. * @see ModelElementFacade#isTemplateParametersPresent() */ public boolean isTemplateParametersPresent() { return this.getSuperParameterFacade().isTemplateParametersPresent(); } /** * True if this element name is a valid identifier name in Java, C#, ANSI or ISO C, C++, * JavaScript. Contains no spaces, special characters etc. Constraint always applied on * Enumerations and Interfaces, optionally applies on other model elements. * @see ModelElementFacade#isValidIdentifierName() */ public boolean isValidIdentifierName() { return this.getSuperParameterFacade().isValidIdentifierName(); } /** * Searches for the constraint with the specified 'name' on this model element, and if found * translates it using the specified 'translation' from a translation library discovered by the * framework. * @see ModelElementFacade#translateConstraint(String name, String translation) */ public String translateConstraint(String name, String translation) { return this.getSuperParameterFacade().translateConstraint(name, translation); } /** * Translates all constraints belonging to this model element with the given 'translation'. * @see ModelElementFacade#translateConstraints(String translation) */ public String[] translateConstraints(String translation) { return this.getSuperParameterFacade().translateConstraints(translation); } /** * Translates the constraints of the specified 'kind' belonging to this model element. * @see ModelElementFacade#translateConstraints(String kind, String translation) */ public String[] translateConstraints(String kind, String translation) { return this.getSuperParameterFacade().translateConstraints(kind, translation); } /** * TODO: Model Documentation for ParameterFacade.defaultValue * @see ParameterFacade#getDefaultValue() */ public String getDefaultValue() { return this.getSuperParameterFacade().getDefaultValue(); } /** * UML2: A representation of the literals of the enumeration 'Parameter Effect Kind': CREATE, * READ, UPDATE, DELETE. The datatype ParameterEffectKind is an enumeration that indicates the * effect of a behavior on values passed in or out of its parameters. * @see ParameterFacade#getEffect() */ public String getEffect() { return this.getSuperParameterFacade().getEffect(); } /** * If this parameter is located on an event, this will represent that event. * @see ParameterFacade#getEvent() */ public EventFacade getEvent() { return this.getSuperParameterFacade().getEvent(); } /** * The name to use for accessors getting this parameter from a bean. * @see ParameterFacade#getGetterName() */ public String getGetterName() { return this.getSuperParameterFacade().getGetterName(); } /** * Fully Qualified TypeName, determined in part by multiplicity (for UML2). For UML14, same as * getterName. * @see ParameterFacade#getGetterSetterTypeName() */ public String getGetterSetterTypeName() { return this.getSuperParameterFacade().getGetterSetterTypeName(); } /** * Fully Qualified implementation class of TypeName, determined in part by multiplicity (for * UML2). If upper multiplicity =1, same as getterSetterTypeName. * @see ParameterFacade#getGetterSetterTypeNameImpl() */ public String getGetterSetterTypeNameImpl() { return this.getSuperParameterFacade().getGetterSetterTypeNameImpl(); } /** * the lower value for the multiplicity * -only applicable for UML2 * @see ParameterFacade#getLower() */ public int getLower() { return this.getSuperParameterFacade().getLower(); } /** * If this parameter is located on an operation, this will represent that operation. * @see ParameterFacade#getOperation() */ public OperationFacade getOperation() { return this.getSuperParameterFacade().getOperation(); } /** * The name to use for accessors getting this parameter in a bean. * @see ParameterFacade#getSetterName() */ public String getSetterName() { return this.getSuperParameterFacade().getSetterName(); } /** * A Classifier is a classification of instances - it describes a set of instances that have * features * in common. Can specify a generalization hierarchy by referencing its general classifiers. It * may be * a Class, DataType, PrimitiveType, Association, Collaboration, UseCase, etc. Can specify a * generalization hierarchy by referencing its general classifiers. Has the capability to own * collaboration uses. These collaboration uses link a collaboration with the classifier to give * a * description of the workings of the classifier. Classifier is defined to be a kind of * templateable * element so that a classifier can be parameterized. It is also defined to be a kind of * parameterable * element so that a classifier can be a formal template parameter. * @see ParameterFacade#getType() */ public ClassifierFacade getType() { return this.getSuperParameterFacade().getType(); } /** * the upper value of the multiplicity (will be -1 for *) * -only applicable for UML2 * @see ParameterFacade#getUpper() */ public int getUpper() { return this.getSuperParameterFacade().getUpper(); } /** * Indicates if the default value is present. * @see ParameterFacade#isDefaultValuePresent() */ public boolean isDefaultValuePresent() { return this.getSuperParameterFacade().isDefaultValuePresent(); } /** * UML2: Returns the value of the 'Is Exception' attribute. The default value is "false". Tells * whether an output parameter may emit a value to the exclusion of the other outputs. * @see ParameterFacade#isException() */ public boolean isException() { return this.getSuperParameterFacade().isException(); } /** * True if this parameter is an 'in' parameter. * @see ParameterFacade#isInParameter() */ public boolean isInParameter() { return this.getSuperParameterFacade().isInParameter(); } /** * True if this parameter is an inout parameter. * @see ParameterFacade#isInoutParameter() */ public boolean isInoutParameter() { return this.getSuperParameterFacade().isInoutParameter(); } /** * If upper>1 or upper==unlimited. Only applies to UML2. For UML14, always false. * @see ParameterFacade#isMany() */ public boolean isMany() { return this.getSuperParameterFacade().isMany(); } /** * UML2 Only: Is parameter ordered within the Collection type. Ordered+Unique determines the * implementation Collection Type. For UML14, always false. * @see ParameterFacade#isOrdered() */ public boolean isOrdered() { return this.getSuperParameterFacade().isOrdered(); } /** * True if this parameter is an 'out' parameter. * @see ParameterFacade#isOutParameter() */ public boolean isOutParameter() { return this.getSuperParameterFacade().isOutParameter(); } /** * True if this parameter is readable, aka an in-parameter, or this feature is unspecified. * @see ParameterFacade#isReadable() */ public boolean isReadable() { return this.getSuperParameterFacade().isReadable(); } /** * Whether or not this parameter is considered required (i.e must a non-empty value). * @see ParameterFacade#isRequired() */ public boolean isRequired() { return this.getSuperParameterFacade().isRequired(); } /** * Whether or not this parameter represents a return parameter. * @see ParameterFacade#isReturn() */ public boolean isReturn() { return this.getSuperParameterFacade().isReturn(); } /** * If Parameter type isMany (UML2), is the parameter unique within the Collection. Unique+Sorted * determines pareter implementation type. For UML14, always false. * @see ParameterFacade#isUnique() */ public boolean isUnique() { return this.getSuperParameterFacade().isUnique(); } /** * True if this parameter is writable, aka an out-parameter, or this feature is unspecified. * @see ParameterFacade#isWritable() */ public boolean isWritable() { return this.getSuperParameterFacade().isWritable(); } /** * @see org.andromda.core.metafacade.MetafacadeBase#initialize() */ @Override public void initialize() { this.getSuperParameterFacade().initialize(); } /** * @return Object getSuperParameterFacade().getValidationOwner() * @see org.andromda.core.metafacade.MetafacadeBase#getValidationOwner() */ @Override public Object getValidationOwner() { Object owner = this.getSuperParameterFacade().getValidationOwner(); return owner; } /** * @return String getSuperParameterFacade().getValidationName() * @see org.andromda.core.metafacade.MetafacadeBase#getValidationName() */ @Override public String getValidationName() { String name = this.getSuperParameterFacade().getValidationName(); return name; } /** * @param validationMessages Collection<ModelValidationMessage> * @see org.andromda.core.metafacade.MetafacadeBase#validateInvariants(Collection validationMessages) */ @Override public void validateInvariants(Collection<ModelValidationMessage> validationMessages) { this.getSuperParameterFacade().validateInvariants(validationMessages); } /** * The property that stores the name of the metafacade. */ private static final String NAME_PROPERTY = "name"; private static final String FQNAME_PROPERTY = "fullyQualifiedName"; /** * @see Object#toString() */ @Override public String toString() { final StringBuilder toString = new StringBuilder(this.getClass().getName()); toString.append("["); try { toString.append(Introspector.instance().getProperty(this, FQNAME_PROPERTY)); } catch (final Throwable tryAgain) { try { toString.append(Introspector.instance().getProperty(this, NAME_PROPERTY)); } catch (final Throwable ignore) { // - just ignore when the metafacade doesn't have a name or fullyQualifiedName property } } toString.append("]"); return toString.toString(); } } |
File | Line |
---|---|
org\andromda\cartridges\ejb3\metafacades\EJB3SessionFacadeLogicImpl.java | 927 |
org\andromda\cartridges\ejb3\metafacades\EJB3SessionOperationFacadeLogicImpl.java | 320 |
return getPersistenceContainer().equalsIgnoreCase(EJB3Globals.PERSISTENCE_CONTAINER_WEBLOGIC); } /** * @see EJB3SessionFacadeLogic#handleGetRolesAllowed() */ @Override protected String handleGetRolesAllowed() { StringBuilder rolesAllowed = null; String separator = ""; for (final Iterator iter = this.getNonRunAsRoles().iterator(); iter.hasNext(); ) { if (rolesAllowed == null) { rolesAllowed = new StringBuilder(); } rolesAllowed.append(separator); Role role = (Role)iter.next(); rolesAllowed.append('"'); rolesAllowed.append(role.getName()); rolesAllowed.append('"'); separator = ", "; } return rolesAllowed != null ? rolesAllowed.toString() : null; } /** * @see EJB3SessionFacadeLogic#handleIsPermitAll() */ @Override protected boolean handleIsPermitAll() { boolean permitAll = false; String permitAllStr = (String)this.findTaggedValue(EJB3Profile.TAGGEDVALUE_EJB_SECURITY_PERMIT_ALL); if (StringUtils.isNotBlank(permitAllStr)) { permitAll = BooleanUtils.toBoolean(permitAllStr); } return permitAll; } /** * @see EJB3SessionFacadeLogic#handleIsDenyAll() */ @Override protected boolean handleIsDenyAll() { boolean denyAll = false; String denyAllStr = (String)this.findTaggedValue(EJB3Profile.TAGGEDVALUE_EJB_SECURITY_DENY_ALL); if (StringUtils.isNotBlank(denyAllStr)) { denyAll = BooleanUtils.toBoolean(denyAllStr); } return denyAll; } /** * @see EJB3SessionFacadeLogic#handleGetSecurityRealm() */ @Override protected String handleGetSecurityRealm() |
File | Line |
---|---|
org\andromda\cartridges\ejb3\metafacades\EJB3MessageDrivenFacadeLogicImpl.java | 505 |
org\andromda\cartridges\ejb3\metafacades\EJB3SessionFacadeLogicImpl.java | 1118 |
} /** * @see EJB3MessageDrivenFacadeLogic#handleGetInterceptorReferences() */ protected Collection<DependencyFacade> handleGetInterceptorReferences() { Collection<DependencyFacade> references = this.getSourceDependencies(); CollectionUtils.filter( references, new Predicate() { public boolean evaluate(Object object) { DependencyFacade dependency = (DependencyFacade)object; ModelElementFacade targetElement = dependency.getTargetElement(); return (targetElement != null && targetElement.hasStereotype(EJB3Profile.STEREOTYPE_INTERCEPTOR)); } }); CollectionUtils.transform( references, new Transformer() { public Object transform(final Object object) { return ((DependencyFacade)object).getTargetElement(); } }); final Collection<DependencyFacade> interceptors = new LinkedHashSet<DependencyFacade>(references); CollectionUtils.forAllDo( references, new Closure() { public void execute(Object object) { if (object instanceof EJB3InterceptorFacade) { interceptors.addAll(((EJB3InterceptorFacade)object).getInterceptorReferences()); } } }); return interceptors; } |
File | Line |
---|---|
org\andromda\cartridges\ejb3\metafacades\EJB3EntityFacadeLogicImpl.java | 1717 |
org\andromda\cartridges\ejb3\metafacades\EJB3SessionFacadeLogicImpl.java | 1168 |
Collection<DependencyFacade> roles = this.getTargetDependencies(); CollectionUtils.filter( roles, new Predicate() { public boolean evaluate(final Object object) { DependencyFacade dependency = (DependencyFacade)object; return dependency != null && dependency.getSourceElement() != null && dependency.getSourceElement() instanceof Role && !dependency.hasStereotype(EJB3Profile.STEREOTYPE_SECURITY_RUNAS); } }); CollectionUtils.transform( roles, new Transformer() { public Object transform(final Object object) { return ((DependencyFacade)object).getSourceElement(); } }); final Collection allRoles = new LinkedHashSet(roles); // add all roles which are generalizations of this one CollectionUtils.forAllDo( roles, new Closure() { public void execute(final Object object) { allRoles.addAll(((Role)object).getAllSpecializations()); } }); return allRoles; } /** * @see EJB3EntityFacadeLogic#handleIsUseQueryCache() */ @Override protected boolean handleIsUseQueryCache() |
File | Line |
---|---|
org\andromda\cartridges\ejb3\metafacades\EJB3AssociationEndFacadeLogic.java | 2030 |
org\andromda\cartridges\ejb3\metafacades\EJB3AssociationFacadeLogic.java | 849 |
org\andromda\cartridges\ejb3\metafacades\EJB3DependencyFacadeLogic.java | 1021 |
org\andromda\cartridges\ejb3\metafacades\EJB3EmbeddedValueFacadeLogic.java | 1360 |
org\andromda\cartridges\ejb3\metafacades\EJB3EntityAttributeFacadeLogic.java | 1864 |
org\andromda\cartridges\ejb3\metafacades\EJB3EnumerationFacadeLogic.java | 1367 |
org\andromda\cartridges\ejb3\metafacades\EJB3FinderMethodArgumentFacadeLogic.java | 1004 |
org\andromda\cartridges\ejb3\metafacades\EJB3FinderMethodFacadeLogic.java | 1226 |
org\andromda\cartridges\ejb3\metafacades\EJB3InterceptorFacadeLogic.java | 1476 |
org\andromda\cartridges\ejb3\metafacades\EJB3ManageableEntityAssociationEndFacadeLogic.java | 1415 |
org\andromda\cartridges\ejb3\metafacades\EJB3ManageableEntityAttributeFacadeLogic.java | 1329 |
org\andromda\cartridges\ejb3\metafacades\EJB3ManageableEntityFacadeLogic.java | 3155 |
org\andromda\cartridges\ejb3\metafacades\EJB3MessageDrivenFacadeLogic.java | 2309 |
org\andromda\cartridges\ejb3\metafacades\EJB3MessageDrivenOperationFacadeLogic.java | 1167 |
org\andromda\cartridges\ejb3\metafacades\EJB3OperationFacadeLogic.java | 1490 |
org\andromda\cartridges\ejb3\metafacades\EJB3PersistenceContextFacadeLogic.java | 1365 |
org\andromda\cartridges\ejb3\metafacades\EJB3SessionAttributeFacadeLogic.java | 1425 |
org\andromda\cartridges\ejb3\metafacades\EJB3SessionFacadeLogic.java | 3913 |
org\andromda\cartridges\ejb3\metafacades\EJB3SessionOperationFacadeLogic.java | 3088 |
org\andromda\cartridges\ejb3\metafacades\EJB3SessionOperationParameterFacadeLogic.java | 946 |
org\andromda\cartridges\ejb3\metafacades\EJB3TypeFacadeLogic.java | 1300 |
org\andromda\cartridges\ejb3\metafacades\EJB3ValueObjectFacadeLogic.java | 1381 |
this.getSuperEntityAssociationEnd().validateInvariants(validationMessages); } /** * The property that stores the name of the metafacade. */ private static final String NAME_PROPERTY = "name"; private static final String FQNAME_PROPERTY = "fullyQualifiedName"; /** * @see Object#toString() */ @Override public String toString() { final StringBuilder toString = new StringBuilder(this.getClass().getName()); toString.append("["); try { toString.append(Introspector.instance().getProperty(this, FQNAME_PROPERTY)); } catch (final Throwable tryAgain) { try { toString.append(Introspector.instance().getProperty(this, NAME_PROPERTY)); } catch (final Throwable ignore) { // - just ignore when the metafacade doesn't have a name or fullyQualifiedName property } } toString.append("]"); return toString.toString(); } } |
File | Line |
---|---|
org\andromda\cartridges\ejb3\metafacades\EJB3MessageDrivenFacadeLogicImpl.java | 258 |
org\andromda\cartridges\ejb3\metafacades\EJB3SessionFacadeLogicImpl.java | 1006 |
return (String)this.findTaggedValue(EJB3Profile.TAGGEDVALUE_EJB_MDB_SELECTOR); } /** * @see EJB3MessageDrivenFacade#getRunAs() */ @Override protected String handleGetRunAs() { String runAsRole = null; DependencyFacade dependency = (DependencyFacade)CollectionUtils.find( this.getTargetDependencies(), new Predicate() { public boolean evaluate(final Object object) { DependencyFacade dependency = (DependencyFacade)object; return dependency != null && dependency.getSourceElement() != null && dependency.getSourceElement() instanceof Role && dependency.hasStereotype(EJB3Profile.STEREOTYPE_SECURITY_RUNAS); } }); if (dependency != null) { Role role = (Role)dependency.getSourceElement(); runAsRole = role.getName(); } return runAsRole; } /** * @see EJB3MessageDrivenFacade#getSubscriptionDurability() */ @Override protected String handleGetSubscriptionDurability() |
File | Line |
---|---|
org\andromda\cartridges\ejb3\metafacades\EJB3AssociationEndFacadeLogic.java | 2031 |
org\andromda\cartridges\ejb3\metafacades\EJB3AssociationFacadeLogic.java | 850 |
org\andromda\cartridges\ejb3\metafacades\EJB3DependencyFacadeLogic.java | 1022 |
org\andromda\cartridges\ejb3\metafacades\EJB3EmbeddedValueFacadeLogic.java | 1361 |
org\andromda\cartridges\ejb3\metafacades\EJB3EntityAttributeFacadeLogic.java | 1865 |
org\andromda\cartridges\ejb3\metafacades\EJB3EntityFacadeLogic.java | 4212 |
org\andromda\cartridges\ejb3\metafacades\EJB3EnumerationFacadeLogic.java | 1368 |
org\andromda\cartridges\ejb3\metafacades\EJB3FinderMethodArgumentFacadeLogic.java | 1005 |
org\andromda\cartridges\ejb3\metafacades\EJB3FinderMethodFacadeLogic.java | 1227 |
org\andromda\cartridges\ejb3\metafacades\EJB3InterceptorFacadeLogic.java | 1477 |
org\andromda\cartridges\ejb3\metafacades\EJB3ManageableEntityAssociationEndFacadeLogic.java | 1416 |
org\andromda\cartridges\ejb3\metafacades\EJB3ManageableEntityAttributeFacadeLogic.java | 1330 |
org\andromda\cartridges\ejb3\metafacades\EJB3ManageableEntityFacadeLogic.java | 3156 |
org\andromda\cartridges\ejb3\metafacades\EJB3MessageDrivenFacadeLogic.java | 2310 |
org\andromda\cartridges\ejb3\metafacades\EJB3MessageDrivenOperationFacadeLogic.java | 1168 |
org\andromda\cartridges\ejb3\metafacades\EJB3OperationFacadeLogic.java | 1491 |
org\andromda\cartridges\ejb3\metafacades\EJB3PersistenceContextFacadeLogic.java | 1366 |
org\andromda\cartridges\ejb3\metafacades\EJB3SessionAttributeFacadeLogic.java | 1426 |
org\andromda\cartridges\ejb3\metafacades\EJB3SessionFacadeLogic.java | 3914 |
org\andromda\cartridges\ejb3\metafacades\EJB3SessionOperationFacadeLogic.java | 3089 |
org\andromda\cartridges\ejb3\metafacades\EJB3SessionOperationParameterFacadeLogic.java | 947 |
org\andromda\cartridges\ejb3\metafacades\EJB3TypeFacadeLogic.java | 1301 |
org\andromda\cartridges\ejb3\metafacades\EJB3ValueObjectFacadeLogic.java | 1382 |
} /** * The property that stores the name of the metafacade. */ private static final String NAME_PROPERTY = "name"; private static final String FQNAME_PROPERTY = "fullyQualifiedName"; /** * @see Object#toString() */ @Override public String toString() { final StringBuilder toString = new StringBuilder(this.getClass().getName()); toString.append("["); try { toString.append(Introspector.instance().getProperty(this, FQNAME_PROPERTY)); } catch (final Throwable tryAgain) { try { toString.append(Introspector.instance().getProperty(this, NAME_PROPERTY)); } catch (final Throwable ignore) { // - just ignore when the metafacade doesn't have a name or fullyQualifiedName property } } toString.append("]"); return toString.toString(); } } |
File | Line |
---|---|
org\andromda\cartridges\ejb3\metafacades\EJB3EntityFacadeLogicImpl.java | 1669 |
org\andromda\cartridges\ejb3\metafacades\EJB3SessionFacadeLogicImpl.java | 927 |
org\andromda\cartridges\ejb3\metafacades\EJB3SessionOperationFacadeLogicImpl.java | 320 |
return StringUtils.isNotBlank(this.getSecurityRealm()); } /** * @see EJB3EntityFacadeLogic#handleGetRolesAllowed() */ @Override protected String handleGetRolesAllowed() { StringBuilder rolesAllowed = null; String separator = ""; for (final Iterator iter = this.getNonRunAsRoles().iterator(); iter.hasNext(); ) { if (rolesAllowed == null) { rolesAllowed = new StringBuilder(); } rolesAllowed.append(separator); Role role = (Role)iter.next(); rolesAllowed.append('"'); rolesAllowed.append(role.getName()); rolesAllowed.append('"'); separator = ", "; } return rolesAllowed != null ? rolesAllowed.toString() : null; } /** * @see EJB3EntityFacadeLogic#handleGetSecurityRealm() */ @Override protected String handleGetSecurityRealm() |
File | Line |
---|---|
org\andromda\cartridges\ejb3\metafacades\EJB3EmbeddedValueFacadeLogic.java | 72 |
org\andromda\cartridges\ejb3\metafacades\EJB3PersistenceContextFacadeLogic.java | 72 |
org\andromda\cartridges\ejb3\metafacades\EJB3TypeFacadeLogic.java | 72 |
} return context; } private ClassifierFacade superClassifierFacade; private boolean superClassifierFacadeInitialized = false; /** * Gets the ClassifierFacade parent instance. * @return this.superClassifierFacade ClassifierFacade */ private ClassifierFacade getSuperClassifierFacade() { if (!this.superClassifierFacadeInitialized) { ((MetafacadeBase)this.superClassifierFacade).setMetafacadeContext(this.getMetafacadeContext()); this.superClassifierFacadeInitialized = true; } return this.superClassifierFacade; } /** Reset context only for non-root metafacades * @param context * @see org.andromda.core.metafacade.MetafacadeBase#resetMetafacadeContext(String context) */ @Override public void resetMetafacadeContext(String context) { if (!this.contextRoot) // reset context only for non-root metafacades { context = getContext(context); // to have same value as in original constructor call setMetafacadeContext (context); if (this.superClassifierFacadeInitialized) { ((MetafacadeBase)this.superClassifierFacade).resetMetafacadeContext(context); } } } /** * @return boolean true always * @see EJB3EmbeddedValueFacade */ public boolean isEJB3EmbeddedValueFacadeMetaType() |
File | Line |
---|---|
org\andromda\cartridges\ejb3\metafacades\EJB3FinderMethodArgumentFacadeLogic.java | 69 |
org\andromda\cartridges\ejb3\metafacades\EJB3SessionOperationParameterFacadeLogic.java | 70 |
} return context; } private ParameterFacade superParameterFacade; private boolean superParameterFacadeInitialized = false; /** * Gets the ParameterFacade parent instance. * @return this.superParameterFacade ParameterFacade */ private ParameterFacade getSuperParameterFacade() { if (!this.superParameterFacadeInitialized) { ((MetafacadeBase)this.superParameterFacade).setMetafacadeContext(this.getMetafacadeContext()); this.superParameterFacadeInitialized = true; } return this.superParameterFacade; } /** Reset context only for non-root metafacades * @param context * @see org.andromda.core.metafacade.MetafacadeBase#resetMetafacadeContext(String context) */ @Override public void resetMetafacadeContext(String context) { if (!this.contextRoot) // reset context only for non-root metafacades { context = getContext(context); // to have same value as in original constructor call setMetafacadeContext (context); if (this.superParameterFacadeInitialized) { ((MetafacadeBase)this.superParameterFacade).resetMetafacadeContext(context); } } } /** * @return boolean true always * @see EJB3FinderMethodArgumentFacade */ public boolean isEJB3FinderMethodArgumentFacadeMetaType() |
File | Line |
---|---|
org\andromda\cartridges\ejb3\metafacades\EJB3InterceptorFacadeLogic.java | 75 |
org\andromda\cartridges\ejb3\metafacades\EJB3MessageDrivenFacadeLogic.java | 75 |
org\andromda\cartridges\ejb3\metafacades\EJB3SessionFacadeLogic.java | 81 |
} return context; } private Service superService; private boolean superServiceInitialized = false; /** * Gets the Service parent instance. * @return this.superService Service */ private Service getSuperService() { if (!this.superServiceInitialized) { ((MetafacadeBase)this.superService).setMetafacadeContext(this.getMetafacadeContext()); this.superServiceInitialized = true; } return this.superService; } /** Reset context only for non-root metafacades * @param context * @see org.andromda.core.metafacade.MetafacadeBase#resetMetafacadeContext(String context) */ @Override public void resetMetafacadeContext(String context) { if (!this.contextRoot) // reset context only for non-root metafacades { context = getContext(context); // to have same value as in original constructor call setMetafacadeContext (context); if (this.superServiceInitialized) { ((MetafacadeBase)this.superService).resetMetafacadeContext(context); } } } /** * @return boolean true always * @see EJB3InterceptorFacade */ public boolean isEJB3InterceptorFacadeMetaType() |
File | Line |
---|---|
org\andromda\cartridges\ejb3\metafacades\EJB3MessageDrivenOperationFacadeLogic.java | 73 |
org\andromda\cartridges\ejb3\metafacades\EJB3SessionOperationFacadeLogic.java | 79 |
} return context; } private ServiceOperation superServiceOperation; private boolean superServiceOperationInitialized = false; /** * Gets the ServiceOperation parent instance. * @return this.superServiceOperation ServiceOperation */ private ServiceOperation getSuperServiceOperation() { if (!this.superServiceOperationInitialized) { ((MetafacadeBase)this.superServiceOperation).setMetafacadeContext(this.getMetafacadeContext()); this.superServiceOperationInitialized = true; } return this.superServiceOperation; } /** Reset context only for non-root metafacades * @param context * @see org.andromda.core.metafacade.MetafacadeBase#resetMetafacadeContext(String context) */ @Override public void resetMetafacadeContext(String context) { if (!this.contextRoot) // reset context only for non-root metafacades { context = getContext(context); // to have same value as in original constructor call setMetafacadeContext (context); if (this.superServiceOperationInitialized) { ((MetafacadeBase)this.superServiceOperation).resetMetafacadeContext(context); } } } /** * @return boolean true always * @see EJB3MessageDrivenOperationFacade */ public boolean isEJB3MessageDrivenOperationFacadeMetaType() |
File | Line |
---|---|
org\andromda\cartridges\ejb3\metafacades\EJB3AssociationEndFacadeLogicImpl.java | 353 |
org\andromda\cartridges\ejb3\metafacades\EJB3EntityAttributeFacadeLogicImpl.java | 114 |
} /** * @see EJB3AssociationEndFacadeLogic#handleIsEager() */ @Override protected boolean handleIsEager() { boolean isEager = false; if (StringUtils.isNotBlank(this.getFetchType())) { if (EJB3Globals.FETCH_TYPE_EAGER.equalsIgnoreCase(this.getFetchType())) { isEager = true; } } return isEager; } /** * @see EJB3AssociationEndFacadeLogic#handleIsLazy() */ @Override protected boolean handleIsLazy() { boolean isLazy = false; if (StringUtils.isNotBlank(this.getFetchType())) { if (EJB3Globals.FETCH_TYPE_LAZY.equalsIgnoreCase(this.getFetchType())) { isLazy = true; } } return isLazy; } /** * @see EJB3AssociationEndFacadeLogic#handleIsOwning() */ @Override protected boolean handleIsOwning() |