net.sf.nakeduml.seamgeneration.jsf.AbstractBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of metamodel Show documentation
Show all versions of metamodel Show documentation
A uml code generator and execution engine
The newest version!
package net.sf.nakeduml.seamgeneration.jsf;
import java.util.Properties;
import net.sf.nakeduml.seamgeneration.UserInteractionElementVisitor;
import net.sf.nakeduml.userinteractionmetamodel.ClassifierUserInteraction;
import net.sf.nakeduml.userinteractionmetamodel.UserInteractionKind;
public class AbstractBuilder extends UserInteractionElementVisitor {
public static final String VIEW_DIR = "gen-view";
protected Properties namespaceProperties;
protected boolean isFromList(ClassifierUserInteraction ui) {
return ui.getOriginatingPropertyNavigation() != null
&& ui.getOriginatingPropertyNavigation().getResultingUserInteraction().getUserInteractionKind() == UserInteractionKind.LIST;
}
}