Restructure for authorative models
[policy/models.git] / models-tosca / src / main / java / org / onap / policy / models / tosca / simple / concepts / JpaToscaConstraintLogical.java
@@ -37,7 +37,7 @@ import org.onap.policy.models.base.PfReferenceKey;
  */
 @EqualsAndHashCode(callSuper = false)
 @ToString
-public class ToscaConstraintLogical extends ToscaConstraint {
+public class JpaToscaConstraintLogical extends JpaToscaConstraint {
     private static final long serialVersionUID = 2562306457768745444L;
 
     public enum Operation {
@@ -54,29 +54,29 @@ public class ToscaConstraintLogical extends ToscaConstraint {
     private final Operation operation;
 
     /**
-     * The Default Constructor creates a {@link ToscaConstraintLogical} object with a null key.
+     * The Default Constructor creates a {@link JpaToscaConstraintLogical} object with a null key.
      */
-    public ToscaConstraintLogical() {
+    public JpaToscaConstraintLogical() {
         this(new PfReferenceKey());
     }
 
     /**
-     * The Key Constructor creates a {@link ToscaConstraintLogical} object with the given concept key.
+     * The Key Constructor creates a {@link JpaToscaConstraintLogical} object with the given concept key.
      *
      * @param key the key of the constraint
      */
-    public ToscaConstraintLogical(final PfReferenceKey key) {
+    public JpaToscaConstraintLogical(final PfReferenceKey key) {
         this(key, Operation.EQ);
     }
 
     /**
-     * The Key Constructor creates a {@link ToscaConstraintLogical} object with the given concept key and operation.
+     * The Key Constructor creates a {@link JpaToscaConstraintLogical} object with the given concept key and operation.
      *
      * @param key the key of the constraint
      * @param operation the logical operation of the constraint
      *
      */
-    public ToscaConstraintLogical(final PfReferenceKey key, @NonNull final Operation operation) {
+    public JpaToscaConstraintLogical(final PfReferenceKey key, @NonNull final Operation operation) {
         super(key);
         this.operation = operation;
     }
@@ -86,7 +86,7 @@ public class ToscaConstraintLogical extends ToscaConstraint {
      *
      * @param copyConcept the concept to copy from
      */
-    public ToscaConstraintLogical(@NonNull final ToscaConstraintLogical copyConcept) {
+    public JpaToscaConstraintLogical(@NonNull final JpaToscaConstraintLogical copyConcept) {
         throw new PfModelRuntimeException(Response.Status.INTERNAL_SERVER_ERROR, "cannot copy an immutable constraint");
     }
 
@@ -102,7 +102,7 @@ public class ToscaConstraintLogical extends ToscaConstraint {
             return this.hashCode() - otherConcept.hashCode();
         }
 
-        final ToscaConstraintLogical other = (ToscaConstraintLogical) otherConcept;
+        final JpaToscaConstraintLogical other = (JpaToscaConstraintLogical) otherConcept;
 
         int result = super.compareTo(other);
         if (result != 0) {