Class ProjectProfileProvider
- java.lang.Object
-
- org.modelversioning.emfprofile.registry.internal.ProjectProfileProvider
-
- All Implemented Interfaces:
IProfileProvider
public class ProjectProfileProvider extends Object implements IProfileProvider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.modelversioning.emfprofile.registry.IProfileProvider
IProfileProvider.ProfileLocationType
-
-
Constructor Summary
Constructors Constructor Description ProjectProfileProvider(IProject project, Resource profileResource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Profile
getProfile()
Returns the provided profile.IProfileProvider.ProfileLocationType
getProfileLocationType()
Returns the location type of the provided profile.String
getProfileName()
Returns the name of the profile.String
getProfileNsURI()
Returns the namespace URI of the profile.IProject
getProject()
-
-
-
Method Detail
-
getProject
public IProject getProject()
-
getProfile
public Profile getProfile()
Description copied from interface:IProfileProvider
Returns the provided profile.- Specified by:
getProfile
in interfaceIProfileProvider
- Returns:
- the provided profile.
-
getProfileNsURI
public String getProfileNsURI()
Description copied from interface:IProfileProvider
Returns the namespace URI of the profile.- Specified by:
getProfileNsURI
in interfaceIProfileProvider
- Returns:
- the namespace URI.
-
getProfileName
public String getProfileName()
Description copied from interface:IProfileProvider
Returns the name of the profile.- Specified by:
getProfileName
in interfaceIProfileProvider
- Returns:
- the name.
-
getProfileLocationType
public IProfileProvider.ProfileLocationType getProfileLocationType()
Description copied from interface:IProfileProvider
Returns the location type of the provided profile.- Specified by:
getProfileLocationType
in interfaceIProfileProvider
- Returns:
- the location type.
-
-