private static Translator createRelationshipRoleSourceTranslator14() { GenericTranslator result = new GenericTranslator(RELATIONSHIP_ROLE_SOURCE, EJB_PKG.getEJBRelationshipRole_Source()); result.setChildren( new Translator[] { IDTranslator.INSTANCE, CommonTranslators.createDescriptionTranslator(EJB_PKG.getRoleSource_Descriptions()), ROLE_SOURCE_EJB_NAME_SOURCELINK_TRANSLATOR }); return result; }
public static Translator createExcludesListTranslator14() { GenericTranslator result = new GenericTranslator(EXCLUDE_LIST, EJB_PKG.getAssemblyDescriptor_ExcludeList()); result.setChildren( new Translator[] { IDTranslator.INSTANCE, CommonTranslators.createDescriptionTranslator(EJB_PKG.getExcludeList_Descriptions()), createMethodElementTranslators14(EJB_PKG.getExcludeList_MethodElements()) }); return result; }
public static Translator createRelationshipsTranslator13() { GenericTranslator result = new GenericTranslator(RELATIONSHIPS, EJB_PKG.getEJBJar_RelationshipList()); result.setChildren( new Translator[] { IDTranslator.INSTANCE, new Translator(DESCRIPTION, EJB_PKG.getRelationships_Description()), createEJBRelationsTranslator13(), }); return result; }
// TODO: NEED TO FIGURE OUT SECURITY PATH public static Translator createSecurityRoleTranslator13() { GenericTranslator result = new GenericTranslator(SECURITY_ROLE, EJB_PKG.getAssemblyDescriptor_SecurityRoles()); result.setChildren( new Translator[] { IDTranslator.INSTANCE, new Translator(DESCRIPTION, CommonPackage.eINSTANCE.getSecurityRole_Description()), SEC_ROLE_NAME_TRANSLATOR }); return result; }
private static Translator createCMRFieldTranslator13() { GenericTranslator result = new GenericTranslator(CMR_FIELD, EJB_PKG.getEJBRelationshipRole_CmrField()); result.setChildren( new Translator[] { IDTranslator.INSTANCE, new Translator(DESCRIPTION, EJB_PKG.getCMPAttribute_Description()), CMR_FIELD_NAME_TRANSLATOR, CMR_FIELD_TYPE_TRANSLATOR }); return result; }
private static Translator createEJBRelationsTranslator13() { GenericTranslator result = new GenericTranslator(EJB_RELATION, EJB_PKG.getRelationships_EjbRelations()); result.setChildren( new Translator[] { IDTranslator.INSTANCE, new Translator(DESCRIPTION, EJB_PKG.getEJBRelation_Description()), EJB_RELATION_NAME_TRANSLATOR, createEJBRelationshipRoleTranslator13(), }); return result; }
public static Translator createMethodElementTranslators14(EStructuralFeature eFeature) { GenericTranslator result = new GenericTranslator(METHOD, eFeature); result.setChildren( new Translator[] { IDTranslator.INSTANCE, CommonTranslators.createDescriptionTranslator(EJB_PKG.getMethodElement_Descriptions()), METHOD_ELEMENT_EJB_NAME_SOURCELINK_TRANSLATOR, METHOD_ELEMENT_KIND_TRANSLATOR, METHOD_NAME_TRANSLATOR, METHOD_PARAM_TRANSLATOR }); return result; }
/* * <= J2EE 1.3 Assembly Descriptor */ public static Translator createAssemblyDescriptorTranslator13() { GenericTranslator result = new GenericTranslator(ASSEMBLY_DESCRIPTOR, EJB_PKG.getEJBJar_AssemblyDescriptor()); result.setChildren( new Translator[] { IDTranslator.INSTANCE, createSecurityRoleTranslator13(), createMethodPermissionTranslator13(), createMethodTransactionTranslator13(), createExcludesListTranslator13(), }); return result; }
/** J2EE 1.4 Relationship */ public static Translator createRelationshipsTranslator14() { GenericTranslator result = new GenericTranslator(RELATIONSHIPS, EJB_PKG.getEJBJar_RelationshipList()); result.setChildren( new Translator[] { IDTranslator.INSTANCE, CommonTranslators.createDescriptionTranslator(EJB_PKG.getRelationships_Descriptions()), createEJBRelationsTranslator14(), // // CommonTranslators.createDeploymentExtensionTranslator(EJB_PKG.getRelationships_Extensions()) }); return result; }
public static Translator createMethodPermissionTranslator14() { GenericTranslator result = new GenericTranslator(METHOD_PERMISSION, EJB_PKG.getAssemblyDescriptor_MethodPermissions()); result.setChildren( new Translator[] { IDTranslator.INSTANCE, CommonTranslators.createDescriptionTranslator(EJB_PKG.getMethodPermission_Descriptions()), UNCHECKED_TRANSLATOR, METHOD_PERMISSION_ROLE_NAME_SOURCELINK_TRANSLATOR, createMethodElementTranslators14(EJB_PKG.getMethodPermission_MethodElements()) }); return result; }
public static Translator createMethodTransactionTranslator13() { GenericTranslator result = new GenericTranslator( CONTAINER_TRANSACTION, EJB_PKG.getAssemblyDescriptor_MethodTransactions()); result.setChildren( new Translator[] { IDTranslator.INSTANCE, new Translator(DESCRIPTION, EJB_PKG.getMethodTransaction_Description()), createMethodElementTranslators13(EJB_PKG.getMethodTransaction_MethodElements()), TRANS_ATTRIBUTE_TRANSLATOR }); return result; }
private static Translator createCMRFieldTranslator14() { GenericTranslator result = new GenericTranslator(CMR_FIELD, EJB_PKG.getEJBRelationshipRole_CmrField()); result.setChildren( new Translator[] { IDTranslator.INSTANCE, CommonTranslators.createDescriptionTranslator(EJB_PKG.getCMPAttribute_Descriptions()), CMR_FIELD_NAME_TRANSLATOR, CMR_FIELD_TYPE_TRANSLATOR, // // CommonTranslators.createDeploymentExtensionTranslator(EJB_PKG.getCMPAttribute_Extensions()) }); return result; }
private static Translator createEJBRelationsTranslator14() { GenericTranslator result = new GenericTranslator(EJB_RELATION, EJB_PKG.getRelationships_EjbRelations()); result.setChildren( new Translator[] { IDTranslator.INSTANCE, CommonTranslators.createDescriptionTranslator(EJB_PKG.getEJBRelation_Descriptions()), EJB_RELATION_NAME_TRANSLATOR, createEJBRelationshipRoleTranslator14(), // // CommonTranslators.createDeploymentExtensionTranslator(EJB_PKG.getEJBRelation_Extensions()) }); return result; }
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; }
/* * J2EE 1.4 Assembly Descriptor */ public static Translator createAssemblyDescriptorTranslator14() { GenericTranslator result = new GenericTranslator(ASSEMBLY_DESCRIPTOR, EJB_PKG.getEJBJar_AssemblyDescriptor()); result.setChildren( new Translator[] { IDTranslator.INSTANCE, createSecurityRoleTranslator14(), createMethodPermissionTranslator14(), createMethodTransactionTranslator14(), CommonTranslators.createMessageDestinationTranslator( EJB_PKG.getAssemblyDescriptor_MessageDestinations()), createExcludesListTranslator14(), // // CommonTranslators.createDeploymentExtensionTranslator(EJB_PKG.getAssemblyDescriptor_Extensions()) }); return result; }
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; }