src/main/java/eu/periclesproject/pet2lrm/MapperLRM.java
/**
	 * Maps one parsed Profile into the ontology.
	 * 
	 * @param parsedProfile
	 */
Maps one parsed Profile into the ontology.

@param parsedProfile
Maps one parsed Profile into the ontology . @param parsedProfile
public void mapProfile(ParsedProfile parsedProfile) {
		Individual profile = createProfileResource(parsedProfile.profile);
		if (parsedProfile.environment!=null) {
			profile.addProperty(ontology.hasPETVersion,
					parsedProfile.environment.petVersion);
			Individual environment = createEnvironmentResource(parsedProfile.environment);
			profile.addProperty(ontology.hasEnvironment, environment);
		}
		for (Part part : parsedProfile.parts) {
			Individual file = createPartResource(part);
			profile.addProperty(ontology.hasFile, file);
		}
	}
public void mapProfile ( ParsedProfile parsedProfile ) { Individual profile = createProfileResource ( parsedProfile . profile ) ; if ( parsedProfile . environment != null ) { profile . addProperty ( ontology . hasPETVersion , parsedProfile . environment . petVersion ) ; Individual environment = createEnvironmentResource ( parsedProfile . environment ) ; profile . addProperty ( ontology . hasEnvironment , environment ) ; } for ( Part part : parsedProfile . parts ) { Individual file = createPartResource ( part ) ; profile . addProperty ( ontology . hasFile , file ) ; } }
Maps one parsed Profile into the ontology.
Maps one parsed Profile into the ontology .