コード例 #1
0
 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;
 }
コード例 #2
0
 /** 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;
 }