|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.andromda.cartridges.ejb.EJBScriptHelper
public class EJBScriptHelper
Transform class for the EJB cartridge.
| Constructor Summary | |
|---|---|
EJBScriptHelper()
|
|
| Method Summary | |
|---|---|
java.util.Collection |
filterByVisibility(java.util.Collection list,
java.lang.String visibility)
Filter a list of model elements by visibility. |
java.lang.String |
getAttributesAsList(java.util.Collection attributes,
boolean includeTypes,
boolean includeNames)
Create a comma seperated list of attributes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EJBScriptHelper()
| Method Detail |
|---|
public java.lang.String getAttributesAsList(java.util.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 Attribute objectsincludeTypes - if true, the type names of the attributes are included.includeNames - if true, the names of the attributes are included
public java.util.Collection filterByVisibility(java.util.Collection list,
java.lang.String visibility)
list - the original listvisibility - the visibility - "public" "protected", "private" or the empty string (for package visibility)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||