public class EJBScriptHelper extends Object
| Constructor and Description |
|---|
EJBScriptHelper() |
| Modifier and Type | Method and Description |
|---|---|
Collection |
filterByVisibility(Collection list,
String visibility)
Filter a list of model elements by visibility.
|
String |
getAttributesAsList(Collection attributes,
boolean includeTypes,
boolean includeNames)
Create a comma separated list of attributes.
|
public EJBScriptHelper()
public String getAttributesAsList(Collection attributes, boolean includeTypes, boolean includeNames)
This method can be used to generated e.g. argument lists for constructors, method calls etc.
attributes - a collection of AttributeFacade objectsincludeTypes - if true, the type names of the attributes are included.includeNames - if true, the names of the attributes are includedpublic Collection filterByVisibility(Collection list, String visibility)
list - the original listvisibility - the visibility - "public" "protected", "private" or the empty string (for package visibility)Copyright © 2003–2014 AndroMDA.org. All rights reserved.