[JBIDE-15399] ensure we're not failing on unknown link param type

turned LinkParameterType enum to a class and added a test in ResourceDTOFactoryTest