1 // license-header java merge-point 2 // 3 // Attention: generated code (by Metafacade.vsl) - do not modify! 4 // 5 package org.andromda.cartridges.hibernate.metafacades; 6 7 import org.andromda.metafacades.uml.Service; 8 9 /** 10 * Represents a service facade for hibernate java objects. 11 * 12 * Metafacade interface to be used by AndroMDA cartridges. 13 */ 14 public interface HibernateService 15 extends Service 16 { 17 /** 18 * Indicates the metafacade type (used for metafacade mappings). 19 * 20 * @return boolean always <code>true</code> 21 */ 22 public boolean isHibernateServiceMetaType(); 23 24 /** 25 * The JNDI name to which this entity EJB is bound. 26 * @return String 27 */ 28 public String getEjbJndiName(); 29 30 /** 31 * The view type for the service ('remote' vs. 'local'). 32 * @return String 33 */ 34 public String getEjbViewType(); 35 36 /** 37 * Indicates whether or not the interfaces for this service are remote. 38 * @return boolean 39 */ 40 public boolean isEjbRemoteView(); 41 42 /** 43 * Indicates whether or not if the service is an EJB it's stateful. 44 * @return boolean 45 */ 46 public boolean isEjbStateful(); 47 }