예제 #1
0
 private static Translator createEJBRelationshipRoleTranslator13() {
   GenericTranslator result =
       new GenericTranslator(EJB_RELATIONSHIP_ROLE, EJB_PKG.getEJBRelation_RelationshipRoles());
   result.setChildren(
       new Translator[] {
         IDTranslator.INSTANCE,
         new Translator(DESCRIPTION, EJB_PKG.getEJBRelationshipRole_Description()),
         EJB_RELATIONSHIP_ROLE_NAME_TRANSLATOR,
         MULTIPLICITY_TRANSLATOR,
         CASCADE_DELETE_TRANSLATOR,
         createRelationshipRoleSourceTranslator13(),
         createCMRFieldTranslator13(),
       });
   return result;
 }
예제 #2
0
 private static Translator createEJBRelationshipRoleTranslator14() {
   GenericTranslator result =
       new GenericTranslator(EJB_RELATIONSHIP_ROLE, EJB_PKG.getEJBRelation_RelationshipRoles());
   result.setChildren(
       new Translator[] {
         IDTranslator.INSTANCE,
         CommonTranslators.createDescriptionTranslator(
             EJB_PKG.getEJBRelationshipRole_Descriptions()),
         EJB_RELATIONSHIP_ROLE_NAME_TRANSLATOR,
         MULTIPLICITY_TRANSLATOR,
         CASCADE_DELETE_TRANSLATOR,
         createRelationshipRoleSourceTranslator14(),
         createCMRFieldTranslator14(),
         //
         //	CommonTranslators.createDeploymentExtensionTranslator(EJB_PKG.getEJBRelationshipRole_Extensions())
       });
   return result;
 }