Restructure for authorative models
[policy/models.git] / models-tosca / src / main / java / org / onap / policy / models / tosca / simple / concepts / JpaToscaConstraintLogicalString.java
@@ -47,7 +47,7 @@ import org.onap.policy.models.base.PfValidationResult.ValidationResult;
 @Table(name = "ToscaConstraintLogicalString")
 @Inheritance(strategy = InheritanceType.SINGLE_TABLE)
 @EqualsAndHashCode(callSuper = false)
-public class ToscaConstraintLogicalString extends ToscaConstraintLogical {
+public class JpaToscaConstraintLogicalString extends JpaToscaConstraintLogical {
     private static final long serialVersionUID = 8167550632122339195L;
 
     @Column
@@ -56,24 +56,24 @@ public class ToscaConstraintLogicalString extends ToscaConstraintLogical {
     private final String compareToString;
 
     /**
-     * The Default Constructor creates a {@link ToscaConstraintLogicalString} object with a null key.
+     * The Default Constructor creates a {@link JpaToscaConstraintLogicalString} object with a null key.
      */
-    public ToscaConstraintLogicalString() {
+    public JpaToscaConstraintLogicalString() {
         this(new PfReferenceKey());
     }
 
     /**
-     * The Key Constructor creates a {@link ToscaConstraintLogicalString} object with the given concept
+     * The Key Constructor creates a {@link JpaToscaConstraintLogicalString} object with the given concept
      * key.
      *
      * @param key the key of the constraint
      */
-    public ToscaConstraintLogicalString(final PfReferenceKey key) {
+    public JpaToscaConstraintLogicalString(final PfReferenceKey key) {
         this(key, Operation.EQ, "");
     }
 
     /**
-     * The Key Constructor creates a {@link ToscaConstraintLogicalString} object with the given concept
+     * The Key Constructor creates a {@link JpaToscaConstraintLogicalString} object with the given concept
      * key, operation, and compare string.
      *
      * @param key the key of the constraint
@@ -81,7 +81,7 @@ public class ToscaConstraintLogicalString extends ToscaConstraintLogical {
      * @param compareToString the key of the object to which the object that owns this constraint will
      *        be compared
      */
-    public ToscaConstraintLogicalString(final PfReferenceKey key, @NonNull final Operation operation,
+    public JpaToscaConstraintLogicalString(final PfReferenceKey key, @NonNull final Operation operation,
             @NonNull final String compareToString) {
         super(key, operation);
         this.compareToString = compareToString.trim();
@@ -92,7 +92,7 @@ public class ToscaConstraintLogicalString extends ToscaConstraintLogical {
      *
      * @param copyConcept the concept to copy from
      */
-    public ToscaConstraintLogicalString(@NonNull final ToscaConstraintLogical copyConcept) {
+    public JpaToscaConstraintLogicalString(@NonNull final JpaToscaConstraintLogical copyConcept) {
         throw new PfModelRuntimeException(Response.Status.INTERNAL_SERVER_ERROR, "cannot copy an immutable constraint");
     }
 
@@ -120,7 +120,7 @@ public class ToscaConstraintLogicalString extends ToscaConstraintLogical {
             return this.hashCode() - otherConcept.hashCode();
         }
 
-        final ToscaConstraintLogicalString other = (ToscaConstraintLogicalString) otherConcept;
+        final JpaToscaConstraintLogicalString other = (JpaToscaConstraintLogicalString) otherConcept;
 
         int result = super.compareTo(other);
         if (result != 0) {