From 70eff4b3249c8267f0bab568198cd8d4ce75b096 Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Thu, 5 Dec 2019 17:18:55 +0100 Subject: [PATCH] Fixing javadoc warning --- .../impl/entities/facets/LicenseFacetImpl.java | 4 ++-- .../facets/SimplePropertyFacetImpl.java | 2 +- .../relations/consistsof/HasManagerImpl.java | 5 ----- .../consistsof/HasRemoveActionImpl.java | 18 ++++++++++-------- .../isrelatedto/IsCompliantWithImpl.java | 5 ----- .../isrelatedto/IsConfiguredByImpl.java | 5 ----- .../isrelatedto/IsCorrelatedToImpl.java | 5 ----- .../reference/entities/facets/ActionFacet.java | 6 +----- 8 files changed, 14 insertions(+), 36 deletions(-) diff --git a/src/main/java/org/gcube/resourcemanagement/model/impl/entities/facets/LicenseFacetImpl.java b/src/main/java/org/gcube/resourcemanagement/model/impl/entities/facets/LicenseFacetImpl.java index f6521f7..efd46d5 100644 --- a/src/main/java/org/gcube/resourcemanagement/model/impl/entities/facets/LicenseFacetImpl.java +++ b/src/main/java/org/gcube/resourcemanagement/model/impl/entities/facets/LicenseFacetImpl.java @@ -25,7 +25,7 @@ public class LicenseFacetImpl extends FacetImpl implements LicenseFacet { protected URL textURL; /** - * @return the value + * @return the name */ @Override public String getName() { @@ -33,7 +33,7 @@ public class LicenseFacetImpl extends FacetImpl implements LicenseFacet { } /** - * @param value the value to set + * @param name the name to set */ public void setName(String name) { this.name = name; diff --git a/src/main/java/org/gcube/resourcemanagement/model/impl/entities/facets/SimplePropertyFacetImpl.java b/src/main/java/org/gcube/resourcemanagement/model/impl/entities/facets/SimplePropertyFacetImpl.java index a2c4120..50609e7 100644 --- a/src/main/java/org/gcube/resourcemanagement/model/impl/entities/facets/SimplePropertyFacetImpl.java +++ b/src/main/java/org/gcube/resourcemanagement/model/impl/entities/facets/SimplePropertyFacetImpl.java @@ -31,7 +31,7 @@ public class SimplePropertyFacetImpl extends FacetImpl implements SimpleProperty } /** - * @param value the value to set + * @param name the name to set */ @Override public void setName(String name) { diff --git a/src/main/java/org/gcube/resourcemanagement/model/impl/relations/consistsof/HasManagerImpl.java b/src/main/java/org/gcube/resourcemanagement/model/impl/relations/consistsof/HasManagerImpl.java index bd4a0b5..648c493 100644 --- a/src/main/java/org/gcube/resourcemanagement/model/impl/relations/consistsof/HasManagerImpl.java +++ b/src/main/java/org/gcube/resourcemanagement/model/impl/relations/consistsof/HasManagerImpl.java @@ -23,11 +23,6 @@ public class HasManagerImpl super(); } - /** - * @param source - * @param target - * @param relationProperty - */ public HasManagerImpl(Out source, In target, PropagationConstraint propagationConstraint) { super(source, target, propagationConstraint); diff --git a/src/main/java/org/gcube/resourcemanagement/model/impl/relations/consistsof/HasRemoveActionImpl.java b/src/main/java/org/gcube/resourcemanagement/model/impl/relations/consistsof/HasRemoveActionImpl.java index b70b390..c55ab54 100644 --- a/src/main/java/org/gcube/resourcemanagement/model/impl/relations/consistsof/HasRemoveActionImpl.java +++ b/src/main/java/org/gcube/resourcemanagement/model/impl/relations/consistsof/HasRemoveActionImpl.java @@ -3,28 +3,30 @@ package org.gcube.resourcemanagement.model.impl.relations.consistsof; import org.gcube.informationsystem.model.reference.properties.PropagationConstraint; import org.gcube.resourcemanagement.model.reference.entities.facets.ActionFacet; import org.gcube.resourcemanagement.model.reference.entities.resources.Service; -import org.gcube.resourcemanagement.model.reference.relations.consistsof.HasAddAction; +import org.gcube.resourcemanagement.model.reference.relations.consistsof.HasRemoveAction; + +import com.fasterxml.jackson.annotation.JsonTypeName; /** * An implementation of the {@link HasRemoveAction} relation. * * @author Manuele Simi (ISTI CNR) - * + * */ -public class HasRemoveActionImpl - extends HasActionImpl implements HasAddAction{ +@JsonTypeName(value = HasRemoveAction.NAME) +public class HasRemoveActionImpl extends HasActionImpl + implements HasRemoveAction { /** * Generated Serial Version UID */ private static final long serialVersionUID = 5038048537520695788L; - + protected HasRemoveActionImpl() { super(); } - - public HasRemoveActionImpl(Out source, In target, - PropagationConstraint propagationConstraint) { + + public HasRemoveActionImpl(Out source, In target, PropagationConstraint propagationConstraint) { super(source, target, propagationConstraint); } } diff --git a/src/main/java/org/gcube/resourcemanagement/model/impl/relations/isrelatedto/IsCompliantWithImpl.java b/src/main/java/org/gcube/resourcemanagement/model/impl/relations/isrelatedto/IsCompliantWithImpl.java index 5e31a1d..941ffb1 100644 --- a/src/main/java/org/gcube/resourcemanagement/model/impl/relations/isrelatedto/IsCompliantWithImpl.java +++ b/src/main/java/org/gcube/resourcemanagement/model/impl/relations/isrelatedto/IsCompliantWithImpl.java @@ -27,11 +27,6 @@ public class IsCompliantWithImpl super(); } - /** - * @param source - * @param target - * @param relationProperty - */ public IsCompliantWithImpl(Out source, In target, PropagationConstraint propagationConstraint) { super(source, target, propagationConstraint); diff --git a/src/main/java/org/gcube/resourcemanagement/model/impl/relations/isrelatedto/IsConfiguredByImpl.java b/src/main/java/org/gcube/resourcemanagement/model/impl/relations/isrelatedto/IsConfiguredByImpl.java index c24d003..4ec8fc1 100644 --- a/src/main/java/org/gcube/resourcemanagement/model/impl/relations/isrelatedto/IsConfiguredByImpl.java +++ b/src/main/java/org/gcube/resourcemanagement/model/impl/relations/isrelatedto/IsConfiguredByImpl.java @@ -27,11 +27,6 @@ public class IsConfiguredByImpl super(); } - /** - * @param source - * @param target - * @param relationProperty - */ public IsCorrelatedToImpl(Out source, In target, PropagationConstraint propagationConstraint) { super(source, target, propagationConstraint); diff --git a/src/main/java/org/gcube/resourcemanagement/model/reference/entities/facets/ActionFacet.java b/src/main/java/org/gcube/resourcemanagement/model/reference/entities/facets/ActionFacet.java index a5deb00..a6588f5 100644 --- a/src/main/java/org/gcube/resourcemanagement/model/reference/entities/facets/ActionFacet.java +++ b/src/main/java/org/gcube/resourcemanagement/model/reference/entities/facets/ActionFacet.java @@ -28,15 +28,11 @@ public interface ActionFacet extends Facet, NameProperty { /** * Type of action. - * @return an instance of {@link TYPE} + * @return an instance of {@link EnumStringProperty} */ @ISProperty(name=TYPE_PROPERTY, mandatory=true, nullable=false) public EnumStringProperty getType(); - /** - * - * @param type - */ public void setType(EnumStringProperty type); /**