public boolean belongsToProject(JPAPersistenceUnitModel model, ProjectModel projectModel) { return model.getJPAConfigurationFileModel().belongsToProject(projectModel); } }
public boolean belongsToProject(JPANamedQueryModel model, ProjectModel projectModel) { return model.getJpaEntity().belongsToProject(projectModel); } }
public boolean belongsToProject(HibernateSessionFactoryModel model, ProjectModel projectModel) { return model.getHibernateConfigurationFileModel().belongsToProject(projectModel); } }
public void perform(GraphRewrite event, EvaluationContext context, EjbSessionBeanModel payload) { if (payload.getEjbRemote() != null) { EjbRemoteServiceModelService service = new EjbRemoteServiceModelService(event.getGraphContext()); service.getOrCreate(payload.getApplications(), payload.getEjbRemote(), payload.getEjbClass()); } } }
public List<ProjectModel> getApplications(JPANamedQueryModel model) { return model.getJpaEntity().getApplications(); }
public List<ProjectModel> getApplications(JPAPersistenceUnitModel model) { return model.getJPAConfigurationFileModel().getApplications(); }
public String toString() { return name(); } }
/** * Creates a new instance with the given name, or converts an existing instance at this location if one already exists */ public JmsDestinationModel createUnique(Set<ProjectModel> applications, String jndiName, JmsDestinationType destinationType) { JmsDestinationModel model = createUnique(applications, jndiName); model.setDestinationType(destinationType); return model; }
/** * Indicates whether this {@link JNDIResourceModel} is associated with the given application. */ default boolean isAssociatedWithApplication(ProjectModel application) { for (ProjectModel existing : getApplications()) { if (existing.equals(application)) return true; } return false; } }
/** * Indicates whether this {@link JNDIResourceModel} is associated with the given application. */ default boolean isAssociatedWithApplication(ProjectModel application) { boolean alreadyExists = false; for (ProjectModel existing : getApplications()) { if (existing.equals(application)) { alreadyExists = true; break; } } return alreadyExists; }
public void perform(GraphRewrite event, EvaluationContext context, EjbSessionBeanModel payload) { if (payload.getEjbRemote() != null) { EjbRemoteServiceModelService service = new EjbRemoteServiceModelService(event.getGraphContext()); service.getOrCreate(payload.getApplications(), payload.getEjbRemote(), payload.getEjbClass()); } } }
public boolean belongsToProject(JPAPersistenceUnitModel model, ProjectModel projectModel) { return model.getJPAConfigurationFileModel().belongsToProject(projectModel); } }
public boolean belongsToProject(JPANamedQueryModel model, ProjectModel projectModel) { return model.getJpaEntity().belongsToProject(projectModel); } }
public boolean belongsToProject(HibernateSessionFactoryModel model, ProjectModel projectModel) { return model.getHibernateConfigurationFileModel().belongsToProject(projectModel); } }
public List<ProjectModel> getApplications(JPANamedQueryModel model) { return model.getJpaEntity().getApplications(); }
public List<ProjectModel> getApplications(JPAPersistenceUnitModel model) { return model.getJPAConfigurationFileModel().getApplications(); }
public String toString() { return name(); } }
/** * Creates a new instance with the given name, or converts an existing instance at this location if one already exists */ public JmsDestinationModel createUnique(Set<ProjectModel> applications, String jndiName, JmsDestinationType destinationType) { JmsDestinationModel model = createUnique(applications, jndiName); model.setDestinationType(destinationType); return model; }
/** * Indicates whether this {@link JNDIResourceModel} is associated with the given application. */ default boolean isAssociatedWithApplication(ProjectModel application) { for (ProjectModel existing : getApplications()) { if (existing.equals(application)) return true; } return false; } }
/** * Indicates whether this {@link JNDIResourceModel} is associated with the given application. */ default boolean isAssociatedWithApplication(ProjectModel application) { boolean alreadyExists = false; for (ProjectModel existing : getApplications()) { if (existing.equals(application)) { alreadyExists = true; break; } } return alreadyExists; }