Moving to new is model
This commit is contained in:
parent
df300b5af7
commit
81507a0bdb
|
@ -1,2 +1,3 @@
|
|||
/org.eclipse.core.resources.prefs
|
||||
/org.eclipse.jdt.core.prefs
|
||||
/org.eclipse.m2e.core.prefs
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -33,7 +33,7 @@
|
|||
<dependency>
|
||||
<groupId>org.gcube.distribution</groupId>
|
||||
<artifactId>gcube-bom</artifactId>
|
||||
<version>2.0.0-SNAPSHOT</version>
|
||||
<version>2.1.0</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
package org.gcube.parthenosentities.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.gcube.informationsystem.utils.discovery.RegistrationProvider;
|
||||
import org.gcube.informationsystem.discovery.RegistrationProvider;
|
||||
import org.gcube.parthenosentities.model.reference.entity.facet.cidoc.E51_Contact_Point;
|
||||
import org.gcube.parthenosentities.model.reference.entity.facet.parthenos.E30_Right;
|
||||
import org.gcube.parthenosentities.model.reference.entity.resource.cidoc.D1_Digital_Object;
|
||||
|
@ -15,8 +16,10 @@ import org.gcube.parthenosentities.model.reference.relation.isrelatedto.partheno
|
|||
|
||||
public class PARTHENOSEntitiesRegistrationProvider implements RegistrationProvider {
|
||||
|
||||
public static final String PARTHENOS_ENTITIES_MODEL_NAME = "PARTHENOS Entities";
|
||||
|
||||
@Override
|
||||
public List<Package> getPackagesToRegister() {
|
||||
public Collection<Package> getPackagesToRegister() {
|
||||
List<Package> packages = new ArrayList<>();
|
||||
packages.add(E51_Contact_Point.class.getPackage());
|
||||
packages.add(E30_Right.class.getPackage());
|
||||
|
@ -28,5 +31,10 @@ public class PARTHENOSEntitiesRegistrationProvider implements RegistrationProvid
|
|||
packages.add(PP1_currently_offers.class.getPackage());
|
||||
return packages;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getModelName() {
|
||||
return PARTHENOS_ENTITIES_MODEL_NAME;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue