mil.dod.th.ose.sdk/src/mil/dod/th/ose/sdk/those/ProjectGenerator.java
private static String determineProxyType(final ProjectType projType, final PhysicalLinkTypeEnum plType)
    {
        switch (projType)
        {
            case PROJECT_ASSET:
                return Asset.class.getSimpleName();
            case PROJECT_LINKLAYER:
                return LinkLayer.class.getSimpleName();
            case PROJECT_PHYLINK:
                switch (plType)
                {
                    case SERIAL_PORT:
                        return plType.value();
                    default:
                        return PhysicalLink.class.getSimpleName();
                }

            case PROJECT_TRANSPORTLAYER:
                return TransportLayer.class.getSimpleName();
            default:
                return null;
        }
    }
/**
     * Determine the correct proxy type class for a plug-in based on a project type. If project type is of a physical
     * link type then a physical link type must be passed as well.
     * 
     * @param projType
     *            the type of plug-in project that is to be created
     * @param plType
     *            the physical link type of the project. set only if the project type is a physical link project
     * @return the string value of the proxy class needed for the given
     */
Determine the correct proxy type class for a plug-in based on a project type. If project type is of a physical
link type then a physical link type must be passed as well.

@param projType
the type of plug-in project that is to be created
@param plType
the physical link type of the project. set only if the project type is a physical link project
@return the string value of the proxy class needed for the given
Determine the correct proxy type class for a plug - in based on a project type . If project type is of a physical link type then a physical link type must be passed as well . @param projType the type of plug - in project that is to be created @param plType the physical link type of the project . set only if the project type is a physical link project @return the string value of the proxy class needed for the given
private static String determineProxyType(final ProjectType projType, final PhysicalLinkTypeEnum plType)
    {
        switch (projType)
        {
            case PROJECT_ASSET:
                return Asset.class.getSimpleName();
            case PROJECT_LINKLAYER:
                return LinkLayer.class.getSimpleName();
            case PROJECT_PHYLINK:
                switch (plType)
                {
                    case SERIAL_PORT:
                        return plType.value();
                    default:
                        return PhysicalLink.class.getSimpleName();
                }
            case PROJECT_TRANSPORTLAYER:
                return TransportLayer.class.getSimpleName();
            default:
                return null;
        }
    }
private static String determineProxyType ( final ProjectType projType , final PhysicalLinkTypeEnum plType ) { switch ( projType ) { case PROJECT_ASSET : return Asset . class . getSimpleName ( ) ; case PROJECT_LINKLAYER : return LinkLayer . class . getSimpleName ( ) ; case PROJECT_PHYLINK : switch ( plType ) { case SERIAL_PORT : return plType . value ( ) ; default : return PhysicalLink . class . getSimpleName ( ) ; } case PROJECT_TRANSPORTLAYER : return TransportLayer . class . getSimpleName ( ) ; default : return null ; } }
Determine the correct proxy type class for a plug-in based on a project type.
Determine the correct proxy type class for a plug - in based on a project type .