diff options
Diffstat (limited to 'model/engine-model/src/main/java/org')
2 files changed, 34 insertions, 78 deletions
diff --git a/model/engine-model/src/main/java/org/onap/policy/apex/model/enginemodel/concepts/AxEngineModel.java b/model/engine-model/src/main/java/org/onap/policy/apex/model/enginemodel/concepts/AxEngineModel.java index 785845532..79c5d89d6 100644 --- a/model/engine-model/src/main/java/org/onap/policy/apex/model/enginemodel/concepts/AxEngineModel.java +++ b/model/engine-model/src/main/java/org/onap/policy/apex/model/enginemodel/concepts/AxEngineModel.java @@ -157,10 +157,8 @@ public class AxEngineModel extends AxContextModel { this.stats = stats; } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.model.contextmodel.concepts.AxContextModel#getKeys() + /** + * {@inheritDoc}. */ @Override public List<AxKey> getKeys() { @@ -234,12 +232,8 @@ public class AxEngineModel extends AxContextModel { this.stats = stats; } - /* - * (non-Javadoc) - * - * @see - * org.onap.policy.apex.model.contextmodel.concepts.AxContextModel#validate(org.onap.policy.apex - * .model .basicmodel.concepts.AxValidationResult) + /** + * {@inheritDoc}. */ @Override public AxValidationResult validate(final AxValidationResult resultIn) { @@ -260,10 +254,8 @@ public class AxEngineModel extends AxContextModel { return result; } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.model.contextmodel.concepts.AxContextModel#clean() + /** + * {@inheritDoc}. */ @Override public void clean() { @@ -271,10 +263,8 @@ public class AxEngineModel extends AxContextModel { stats.clean(); } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.model.contextmodel.concepts.AxContextModel#toString() + /** + * {@inheritDoc}. */ @Override public String toString() { @@ -292,12 +282,8 @@ public class AxEngineModel extends AxContextModel { return builder.toString(); } - /* - * (non-Javadoc) - * - * @see - * org.onap.policy.apex.model.basicmodel.concepts.AxConcept#copyTo(org.onap.policy.apex.model. - * basicmodel.concepts.AxConcept) + /** + * {@inheritDoc}. */ @Override public AxConcept copyTo(final AxConcept targetObject) { @@ -315,10 +301,8 @@ public class AxEngineModel extends AxContextModel { return copy; } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.model.contextmodel.concepts.AxContextModel#hashCode() + /** + * {@inheritDoc}. */ @Override public int hashCode() { @@ -331,10 +315,8 @@ public class AxEngineModel extends AxContextModel { return result; } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.model.contextmodel.concepts.AxContextModel#equals(java.lang.Object) + /** + * {@inheritDoc}. */ @Override public boolean equals(final Object obj) { @@ -363,12 +345,8 @@ public class AxEngineModel extends AxContextModel { return stats.equals(other.stats); } - /* - * (non-Javadoc) - * - * @see - * org.onap.policy.apex.model.contextmodel.concepts.AxContextModel#compareTo(org.onap.policy. - * apex.model.basicmodel.concepts.AxConcept) + /** + * {@inheritDoc}. */ @Override public int compareTo(final AxConcept otherObj) { diff --git a/model/engine-model/src/main/java/org/onap/policy/apex/model/enginemodel/concepts/AxEngineStats.java b/model/engine-model/src/main/java/org/onap/policy/apex/model/enginemodel/concepts/AxEngineStats.java index adda0c1f3..a66274431 100644 --- a/model/engine-model/src/main/java/org/onap/policy/apex/model/enginemodel/concepts/AxEngineStats.java +++ b/model/engine-model/src/main/java/org/onap/policy/apex/model/enginemodel/concepts/AxEngineStats.java @@ -152,20 +152,16 @@ public class AxEngineStats extends AxConcept { this.lastStart = lastStart; } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.model.basicmodel.concepts.AxConcept#getKey() + /** + * {@inheritDoc}. */ @Override public AxReferenceKey getKey() { return key; } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.model.basicmodel.concepts.AxConcept#getKeys() + /** + * {@inheritDoc}. */ @Override public List<AxKey> getKeys() { @@ -363,12 +359,8 @@ public class AxEngineStats extends AxConcept { this.setLastStart(0); } - /* - * (non-Javadoc) - * - * @see - * org.onap.policy.apex.model.basicmodel.concepts.AxConcept#validate(org.onap.policy.apex.model. - * basicmodel.concepts.AxValidationResult) + /** + * {@inheritDoc}. */ @Override public AxValidationResult validate(final AxValidationResult result) { @@ -380,20 +372,16 @@ public class AxEngineStats extends AxConcept { return key.validate(result); } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.model.basicmodel.concepts.AxConcept#clean() + /** + * {@inheritDoc}. */ @Override public void clean() { key.clean(); } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.model.basicmodel.concepts.AxConcept#toString() + /** + * {@inheritDoc}. */ @Override public String toString() { @@ -416,12 +404,8 @@ public class AxEngineStats extends AxConcept { return builder.toString(); } - /* - * (non-Javadoc) - * - * @see - * org.onap.policy.apex.model.basicmodel.concepts.AxConcept#copyTo(org.onap.policy.apex.model. - * basicmodel.concepts.AxConcept) + /** + * {@inheritDoc}. */ @Override public AxConcept copyTo(final AxConcept targetObject) { @@ -442,10 +426,8 @@ public class AxEngineStats extends AxConcept { return copy; } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.model.basicmodel.concepts.AxConcept#hashCode() + /** + * {@inheritDoc}. */ @Override public int hashCode() { @@ -461,10 +443,8 @@ public class AxEngineStats extends AxConcept { return result; } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.model.basicmodel.concepts.AxConcept#equals(java.lang.Object) + /** + * {@inheritDoc}. */ @Override public boolean equals(final Object obj) { @@ -501,10 +481,8 @@ public class AxEngineStats extends AxConcept { return getLastStart() == other.getLastStart(); } - /* - * (non-Javadoc) - * - * @see java.lang.Comparable#compareTo(java.lang.Object) + /** + * {@inheritDoc}. */ @Override public int compareTo(final AxConcept otherObj) { |