mil.dod.th.ose.sdk/src/mil/dod/th/ose/sdk/those/ProjectGenerator.java
private static String determineAttributeType(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();
                    case GPIO:
                        return Gpio.class.getSimpleName();
                    default:
                        return PhysicalLink.class.getSimpleName();
                }

            case PROJECT_TRANSPORTLAYER:
                return TransportLayer.class.getSimpleName();
            default:
                return null;
        }
    }
/**
     * Determines the attribute type for the plug-in project.
     * 
     * @param projType
     *            the type of plug-in project
     * @param plType
     *            the type of physical link being created.
     * @return the string base type that is required for the given type of physical link
     */
Determines the attribute type for the plug-in project.

@param projType
the type of plug-in project
@param plType
the type of physical link being created.
@return the string base type that is required for the given type of physical link
Determines the attribute type for the plug - in project . @param projType the type of plug - in project @param plType the type of physical link being created . @return the string base type that is required for the given type of physical link
private static String determineAttributeType(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();
                    case GPIO:
                        return Gpio.class.getSimpleName();
                    default:
                        return PhysicalLink.class.getSimpleName();
                }
            case PROJECT_TRANSPORTLAYER:
                return TransportLayer.class.getSimpleName();
            default:
                return null;
        }
    }
private static String determineAttributeType ( 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 ( ) ; case GPIO : return Gpio . class . getSimpleName ( ) ; default : return PhysicalLink . class . getSimpleName ( ) ; } case PROJECT_TRANSPORTLAYER : return TransportLayer . class . getSimpleName ( ) ; default : return null ; } }
Determines the attribute type for the plug-in project.
Determines the attribute type for the plug - in project .