Class ISModelRegistrationProvider
- java.lang.Object
-
- org.gcube.informationsystem.discovery.ISModelRegistrationProvider
-
- All Implemented Interfaces:
RegistrationProvider
public class ISModelRegistrationProvider extends Object implements RegistrationProvider
ARegistrationProviderfor the core Information System (IS) model.This class identifies the packages containing the core IS model types that need to be registered.
- Author:
- Luca Frosini (ISTI - CNR)
-
-
Field Summary
Fields Modifier and Type Field Description static StringIS_MODEL_NAMEThe name of the Information System model.
-
Constructor Summary
Constructors Constructor Description ISModelRegistrationProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetModelName()Returns the name of the model.Collection<Package>getPackagesToRegister()Returns a collection of packages that contain the model's type definitions.
-
-
-
Field Detail
-
IS_MODEL_NAME
public static final String IS_MODEL_NAME
The name of the Information System model.- See Also:
- Constant Field Values
-
-
Method Detail
-
getPackagesToRegister
public Collection<Package> getPackagesToRegister()
Returns a collection of packages that contain the model's type definitions.- Specified by:
getPackagesToRegisterin interfaceRegistrationProvider- Returns:
- A collection of packages to be registered.
-
getModelName
public String getModelName()
Returns the name of the model.- Specified by:
getModelNamein interfaceRegistrationProvider- Returns:
- The model name.
-
-