Added generated Generated Serial Version UID

This commit is contained in:
Luca Frosini 2019-10-24 11:34:41 +02:00
parent d52f4bb0a9
commit 4f90ecb6b3
42 changed files with 197 additions and 11 deletions

View File

@ -15,13 +15,14 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
@JsonTypeName(value=EnumStringProperty.NAME)
public class EnumStringPropertyImpl extends GCubePropertyImpl implements EnumStringProperty {
private Set<String> type;
private String value;
/**
*
* Generated Serial Version UID
*/
private static final long serialVersionUID = 5453875438782091672L;
private Set<String> type;
private String value;
@Override
public String getValue() {
return this.value;

View File

@ -13,6 +13,9 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
@JsonTypeName(value=RegexProperty.NAME)
public class RegexPropertyImpl extends GCubePropertyImpl implements RegexProperty {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = -8279692341196771526L;
private String value;

View File

@ -18,6 +18,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public class HasActionImpl<Out extends Service, In extends ActionFacet>
extends ConsistsOfImpl<Out, In> implements HasAction<Out, In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = -1028958506776410453L;
protected HasActionImpl() {
super();
}

View File

@ -17,6 +17,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public class HasAddActionImpl<Out extends Service, In extends ActionFacet>
extends HasActionImpl<Out, In> implements HasAddAction<Out, In>{
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = -1255378439187531889L;
protected HasAddActionImpl() {
super();
}

View File

@ -15,6 +15,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public abstract class HasContactImpl<Out extends Resource, In extends ContactFacet>
extends ConsistsOfImpl<Out, In> implements HasContact<Out, In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = 6576049793532371473L;
protected HasContactImpl() {
super();
}

View File

@ -14,6 +14,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public class HasContributorImpl<Out extends Resource, In extends ContactFacet>
extends HasContactImpl<Out, In> implements HasContributor<Out, In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = -3024614025389570960L;
protected HasContributorImpl() {
super();
}

View File

@ -15,6 +15,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public abstract class HasCoverageImpl<Out extends Resource, In extends CoverageFacet>
extends ConsistsOfImpl<Out, In> implements HasCoverage<Out, In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = 4822679979500182850L;
protected HasCoverageImpl() {
super();
}

View File

@ -14,6 +14,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public class HasCreatorImpl<Out extends Resource, In extends ContactFacet>
extends HasContactImpl<Out, In> implements HasCreator<Out, In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = -7216613965814407960L;
protected HasCreatorImpl() {
super();
}

View File

@ -14,6 +14,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public class HasCuratorImpl<Out extends Resource, In extends ContactFacet>
extends HasContactImpl<Out, In> implements HasCurator<Out, In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = 3557928110486108164L;
protected HasCuratorImpl() {
super();
}

View File

@ -14,6 +14,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public class HasDeveloperImpl<Out extends Resource, In extends ContactFacet>
extends HasContactImpl<Out, In> implements HasDeveloper<Out, In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = -4206418259355685096L;
protected HasDeveloperImpl() {
super();
}

View File

@ -14,6 +14,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public class HasMaintainerImpl<Out extends Resource, In extends ContactFacet>
extends HasContactImpl<Out, In> implements HasMaintainer<Out, In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = 3529906340392722967L;
protected HasMaintainerImpl() {
super();
}

View File

@ -14,6 +14,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public class HasManagerImpl<Out extends Resource, In extends ContactFacet>
extends HasContactImpl<Out, In> implements HasManager<Out, In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = -7136048435035542411L;
protected HasManagerImpl() {
super();
}

View File

@ -15,6 +15,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public abstract class HasMemoryImpl<Out extends Resource, In extends MemoryFacet>
extends ConsistsOfImpl<Out, In> implements HasMemory<Out, In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = 1950184335132510402L;
protected HasMemoryImpl() {
super();
}

View File

@ -14,6 +14,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public class HasOwnerImpl<Out extends Resource, In extends ContactFacet>
extends HasContactImpl<Out, In> implements HasOwner<Out, In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = -7980790874053216568L;
protected HasOwnerImpl() {
super();
}

View File

@ -14,6 +14,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public class HasPersistentMemoryImpl<Out extends Resource, In extends MemoryFacet>
extends HasMemoryImpl<Out, In> implements HasPersistentMemory<Out, In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = 1964884925310764638L;
protected HasPersistentMemoryImpl() {
super();
}

View File

@ -14,6 +14,11 @@ import org.gcube.resourcemanagement.model.reference.relations.consistsof.HasAddA
public class HasRemoveActionImpl<Out extends Service, In extends ActionFacet>
extends HasActionImpl<Out, In> implements HasAddAction<Out, In>{
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = 5038048537520695788L;
protected HasRemoveActionImpl() {
super();
}

View File

@ -14,6 +14,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public class HasSpatialCoverageImpl<Out extends Resource, In extends CoverageFacet>
extends HasCoverageImpl<Out, In> implements HasSpatialCoverage<Out, In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = -6379008183604723927L;
protected HasSpatialCoverageImpl() {
super();
}

View File

@ -15,6 +15,11 @@ public class HasTemporalCoverageImpl<Out extends Resource, In extends CoverageFa
extends HasCoverageImpl<Out, In> implements
HasTemporalCoverage<Out, In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = -2842361366214219615L;
protected HasTemporalCoverageImpl() {
super();
}

View File

@ -14,6 +14,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public class HasVolatileMemoryImpl<Out extends Resource, In extends MemoryFacet>
extends HasMemoryImpl<Out, In> implements HasVolatileMemory<Out, In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = -3419282968469134859L;
protected HasVolatileMemoryImpl() {
super();
}

View File

@ -14,6 +14,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public class ActivatesImpl<Out extends Service, In extends Service> extends
IsRelatedToImpl<Out, In> implements Activates<Out, In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = -2770215400873228920L;
protected ActivatesImpl() {
super();
}

View File

@ -15,6 +15,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public class BelongsToImpl<Out extends Person, In extends LegalBody> extends
IsRelatedToImpl<Out, In> implements BelongsTo<Out, In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = -656383853602099681L;
protected BelongsToImpl() {
super();
}

View File

@ -14,6 +14,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public class CallsForImpl<Out extends Service, In extends Service> extends
IsRelatedToImpl<Out, In> implements CallsFor<Out, In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = 1207199725579272666L;
protected CallsForImpl() {
super();
}

View File

@ -15,6 +15,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public class DemandsImpl<Out extends VirtualService, In extends Software>
extends IsRelatedToImpl<Out, In> implements Demands<Out, In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = 3303237315961154863L;
protected DemandsImpl() {
super();
}

View File

@ -14,6 +14,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public class DependsOnImpl<Out extends Software, In extends Software> extends
IsRelatedToImpl<Out, In> implements DependsOn<Out, In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = 6518567937425809896L;
protected DependsOnImpl() {
super();
}

View File

@ -13,6 +13,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public class DiscoversImpl<Out extends EService, In extends EService> extends
CallsForImpl<Out, In> implements Discovers<Out, In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = -1457307319196528691L;
protected DiscoversImpl() {
super();
}

View File

@ -15,6 +15,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public class EnablesImpl<Out extends Service, In extends Software> extends
IsRelatedToImpl<Out, In> implements Enables<Out, In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = 3528290328413872086L;
protected EnablesImpl() {
super();
}

View File

@ -15,6 +15,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public class HostsImpl<Out extends Site, In extends Service> extends
IsRelatedToImpl<Out, In> implements Hosts<Out, In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = 9214228861851071392L;
protected HostsImpl() {
super();
}

View File

@ -15,6 +15,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public class InvolvesImpl<Out extends Dataset, In extends Actor> extends
IsRelatedToImpl<Out, In> implements Involves<Out, In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = 9146386734851684864L;
protected InvolvesImpl() {
super();
}

View File

@ -18,6 +18,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public class IsCompliantWithImpl<Out extends Dataset, In extends Schema>
extends IsRelatedToImpl<Out, In> implements IsCompliantWith<Out, In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = -3940951202209802935L;
protected IsCompliantWithImpl() {
super();
}

View File

@ -18,6 +18,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public class IsConfiguredByImpl<Out extends Software, In extends ConfigurationTemplate>
extends IsRelatedToImpl<Out, In> implements IsConfiguredBy<Out, In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = -1819083557550259454L;
protected IsConfiguredByImpl() {
super();
}

View File

@ -14,6 +14,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public class IsCorrelatedToImpl<Out extends Dataset, In extends Dataset>
extends IsRelatedToImpl<Out, In> implements IsCorrelatedTo<Out, In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = -794936403415195012L;
protected IsCorrelatedToImpl() {
super();
}

View File

@ -15,6 +15,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public class IsCustomizedByImpl<Out extends Service, In extends ConfigurationTemplate>
extends IsRelatedToImpl<Out, In> implements IsCustomizedBy<Out, In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = 1240330292571521L;
protected IsCustomizedByImpl() {
super();
}

View File

@ -15,6 +15,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public class IsDerivationOfImpl<Out extends Configuration, In extends ConfigurationTemplate>
extends IsRelatedToImpl<Out, In> implements IsDerivationOf<Out, In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = 1249832537598284450L;
protected IsDerivationOfImpl() {
super();
}

View File

@ -15,6 +15,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public class IsOwnedByImpl<Out extends Site, In extends Actor> extends
IsRelatedToImpl<Out, In> implements IsOwnedBy<Out, In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = 8322983678141617096L;
protected IsOwnedByImpl() {
super();
}

View File

@ -14,6 +14,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public class IsPartOfImpl<Out extends ConcreteDataset, In extends Dataset>
extends IsCorrelatedToImpl<Out, In> implements IsPartOf<Out, In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = 322461779749769277L;
protected IsPartOfImpl() {
super();
}

View File

@ -14,6 +14,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public class IsPluginOfImpl<Out extends Plugin, In extends Software> extends DependsOnImpl<Out,In>
implements IsPluginOf<Out,In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = 6552488952251949334L;
protected IsPluginOfImpl() {
super();
}

View File

@ -15,6 +15,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public class ManagesImpl<Out extends Service, In extends Dataset> extends
IsRelatedToImpl<Out, In> implements Manages<Out, In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = -6919183339684717044L;
protected ManagesImpl() {
super();
}

View File

@ -15,6 +15,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public class RequiresImpl<Out extends Software, In extends Service> extends
IsRelatedToImpl<Out, In> implements Requires<Out, In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = -8258259681079991928L;
protected RequiresImpl() {
super();
}

View File

@ -13,6 +13,11 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
public class UsesImpl<Out extends EService, In extends EService> extends
CallsForImpl<Out, In> implements Uses<Out, In> {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = 6454443849562485949L;
protected UsesImpl() {
super();
}

View File

@ -6,7 +6,7 @@ package org.gcube.resourcemanagement.model.reference.entities.facets;
import java.net.URI;
import java.util.Date;
import org.gcube.informationsystem.model.reference.ISConstants;
import org.gcube.informationsystem.base.reference.ISConstants;
import org.gcube.informationsystem.model.reference.entities.Facet;
import org.gcube.informationsystem.types.annotations.ISProperty;
import org.gcube.resourcemanagement.model.impl.entities.facets.EventFacetImpl;

View File

@ -6,10 +6,10 @@ package org.gcube.resourcemanagement.model.reference.entities.facets;
import java.util.List;
import java.util.UUID;
import org.gcube.informationsystem.model.impl.properties.HeaderImpl;
import org.gcube.informationsystem.base.impl.properties.HeaderImpl;
import org.gcube.informationsystem.base.reference.properties.Header;
import org.gcube.informationsystem.model.reference.entities.Facet;
import org.gcube.informationsystem.model.reference.entities.Resource;
import org.gcube.informationsystem.model.reference.properties.Header;
import org.gcube.informationsystem.model.reference.relations.ConsistsOf;
import org.gcube.informationsystem.utils.ISMapper;
import org.gcube.resourcemanagement.model.impl.entities.resources.EServiceImpl;

View File

@ -6,8 +6,8 @@ import java.io.StringWriter;
import java.util.ArrayList;
import java.util.List;
import org.gcube.informationsystem.context.reference.entities.Context;
import org.gcube.informationsystem.model.impl.relations.ConsistsOfImpl;
import org.gcube.informationsystem.model.reference.entities.Context;
import org.gcube.informationsystem.model.reference.entities.Facet;
import org.gcube.informationsystem.model.reference.entities.Resource;
import org.gcube.informationsystem.model.reference.relations.ConsistsOf;
@ -16,9 +16,6 @@ import org.gcube.informationsystem.utils.ISMapper;
import org.gcube.resourcemanagement.model.impl.entities.facets.CPUFacetImpl;
import org.gcube.resourcemanagement.model.impl.entities.facets.ContactFacetImpl;
import org.gcube.resourcemanagement.model.impl.entities.resources.HostingNodeImpl;
import org.gcube.resourcemanagement.model.reference.entities.facets.AccessPointFacet;
import org.gcube.resourcemanagement.model.reference.entities.facets.CPUFacet;
import org.gcube.resourcemanagement.model.reference.entities.facets.ContactFacet;
import org.gcube.resourcemanagement.model.reference.entities.resources.HostingNode;
import org.junit.Test;
import org.slf4j.Logger;