| java.lang.Object org.andromda.cartridges.ejb.EJBScriptHelper
EJBScriptHelper | public class EJBScriptHelper (Code) | | Transform class for the EJB cartridge.
author: Richard Kunze author: Chad Brandon |
filterByVisibility | public Collection filterByVisibility(Collection list, String visibility)(Code) | | Filter a list of model elements by visibility.
Parameters: list - the original list Parameters: visibility - the visibility - "public" "protected", "private" or the empty string (for package visibility) a list with all elements from the original list that have a matching visibility. |
getAttributesAsList | public String getAttributesAsList(Collection attributes, boolean includeTypes, boolean includeNames)(Code) | | Create a comma seperated list of attributes.
This method can be used to generated e.g. argument lists for constructors, method calls etc.
Parameters: attributes - a collection of Attribute objects Parameters: includeTypes - if true , the type names of the attributes are included. Parameters: includeNames - if true , the names of the attributes are included |
|
|