From: Vance K. <va...@us...> - 2006-06-14 04:58:20
|
User: vancek Date: 06/06/13 21:58:19 Modified: andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3/metafacades EJB3SessionAttributeFacadeLogicImpl.java Log: added initial JBoss Seam support Revision Changes Path 1.2 +65 -0 cartridges/andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3/metafacades/EJB3SessionAttributeFacadeLogicImpl.java Index: EJB3SessionAttributeFacadeLogicImpl.java =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3/metafacades/EJB3SessionAttributeFacadeLogicImpl.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -w -r1.1 -r1.2 --- EJB3SessionAttributeFacadeLogicImpl.java 28 Dec 2005 00:32:55 -0000 1.1 +++ EJB3SessionAttributeFacadeLogicImpl.java 14 Jun 2006 04:58:19 -0000 1.2 @@ -29,4 +29,69 @@ return (String)this.findTaggedValue(EJB3Profile.TAGGEDVALUE_EJB_TRANSACTION_TYPE, true); } + /** + * @see org.andromda.cartridges.ejb3.metafacades.EJB3SessionAttributeFacadeLogic#handleIsSeamComponentIn() + */ + protected boolean handleIsSeamComponentIn() + { + boolean isSeamComponentIn = false; + if (this.hasStereotype(EJB3Profile.STEREOTYPE_SEAM_COMPONENT_IN)) + { + isSeamComponentIn = true; + } + return isSeamComponentIn; + } + + /** + * @see org.andromda.cartridges.ejb3.metafacades.EJB3SessionAttributeFacadeLogic#handleIsSeamComponentOut() + */ + protected boolean handleIsSeamComponentOut() + { + boolean isSeamComponentOut = false; + if (this.hasStereotype(EJB3Profile.STEREOTYPE_SEAM_COMPONENT_OUT)) + { + isSeamComponentOut = true; + } + return isSeamComponentOut; + } + + /** + * @see org.andromda.cartridges.ejb3.metafacades.EJB3SessionAttributeFacadeLogic#handleIsSeamLifecyleCreate() + */ + protected boolean handleIsSeamLifecyleCreate() + { + boolean isSeamLifecycleCreate = false; + if (this.hasStereotype(EJB3Profile.STEREOTYPE_SEAM_LIFECYCLE_CREATE)) + { + isSeamLifecycleCreate = true; + } + return isSeamLifecycleCreate; + } + + /** + * @see org.andromda.cartridges.ejb3.metafacades.EJB3SessionAttributeFacadeLogic#handleIsSeamLifecycleDestroy() + */ + protected boolean handleIsSeamLifecycleDestroy() + { + boolean isSeamLifecycleCreate = false; + if (this.hasStereotype(EJB3Profile.STEREOTYPE_SEAM_LIFECYCLE_DESTROY)) + { + isSeamLifecycleCreate = true; + } + return isSeamLifecycleCreate; + } + + /** + * @see org.andromda.cartridges.ejb3.metafacades.EJB3SessionAttributeFacadeLogic#handleIsSeamValidationValid() + */ + protected boolean handleIsSeamValidationValid() + { + boolean isSeamValidComponent = false; + if (this.hasStereotype(EJB3Profile.STEREOTYPE_SEAM_VALIDATION_VALID)) + { + isSeamValidComponent = true; + } + return isSeamValidComponent; + } + } \ No newline at end of file |