Package com.aquima.interactions.profile
Class ProfileFactory
java.lang.Object
com.aquima.interactions.profile.ProfileFactory
- All Implemented Interfaces:
IProfileFactory
Factory class that may be used to create an instance of IProfile.
- Since:
- 5.0
- Author:
- O. Kerpershoek, Jon van Leuven
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(IMetaModel model) This method creates a profile for the specified meta model.static IProfileFactory
Get an instance of IProfileFactory.
-
Field Details
-
Constructor Details
-
Method Details
-
getInstance
Get an instance of IProfileFactory. If there is an implementation register via the ClassFactory (with key 'profile-factory'), an instance of this class is returned. Note: keep in mind that the instance returned is kept in a static member, so once this method is called always the same instance is returned.- Returns:
- IProfileFactory implementation.
-
create
Description copied from interface:IProfileFactory
This method creates a profile for the specified meta model.- Specified by:
create
in interfaceIProfileFactory
- Parameters:
model
- The meta model for which the profile should be created.- Returns:
- The profile instance for the specified meta model.
-