Class ParsedDeployments

    • Constructor Detail

      • ParsedDeployments

        public ParsedDeployments​(YTypeSystem system)
      • ParsedDeployments

        public ParsedDeployments​(YTypeSystem system,
                                 java.util.Set<YExtension> hideExtensions)
    • Method Detail

      • getBeanIDs

        public java.util.Set<java.lang.String> getBeanIDs()
        Returns all deployment names.
        Specified by:
        getBeanIDs in interface DeploymentImpl
        Returns:
        all item deployment names available in this deployment
      • getColumnDefinition

        public final java.lang.String getColumnDefinition​(java.lang.String database,
                                                          java.lang.String attributeClassName)
        Specified by:
        getColumnDefinition in interface DeploymentImpl
        attributeClassName - the cmp field class of a given cmp field attribute
        Returns:
        the sql column defintion for the current database
      • getItemDeployment

        public ItemDeployment getItemDeployment​(java.lang.String beanID)
        Specified by:
        getItemDeployment in interface DeploymentImpl
        Parameters:
        beanID - the deployment name of an item - should be package name + bean name from ejb-jar-xsl.xml
        Returns:
        a item deployment info object
      • getJavaTypeMapping

        public java.util.Map<java.lang.String,​java.lang.String> getJavaTypeMapping​(java.lang.String database)
        Specified by:
        getJavaTypeMapping in interface DeploymentImpl
        Returns:
        a map { java class name -> column type as string } for the currently configured database ( see param 'database.name' )