@MappedSuperclass
@Data
@EqualsAndHashCode(callSuper = false)
-public class ToscaEntityType extends PfConcept {
+public class JpaToscaEntityType extends PfConcept {
private static final long serialVersionUID = -1330661834220739393L;
@EmbeddedId
// @formatter:on
/**
- * The Default Constructor creates a {@link ToscaEntityType} object with a null key.
+ * The Default Constructor creates a {@link JpaToscaEntityType} object with a null key.
*/
- public ToscaEntityType() {
+ public JpaToscaEntityType() {
this(new PfConceptKey());
}
/**
- * The Key Constructor creates a {@link ToscaEntityType} object with the given concept key.
+ * The Key Constructor creates a {@link JpaToscaEntityType} object with the given concept key.
*
* @param key the key
*/
- public ToscaEntityType(@NonNull final PfConceptKey key) {
+ public JpaToscaEntityType(@NonNull final PfConceptKey key) {
this.key = key;
}
*
* @param copyConcept the concept to copy from
*/
- public ToscaEntityType(final ToscaEntityType copyConcept) {
+ public JpaToscaEntityType(final JpaToscaEntityType copyConcept) {
super(copyConcept);
}
return this.hashCode() - otherConcept.hashCode();
}
- final ToscaEntityType other = (ToscaEntityType) otherConcept;
+ final JpaToscaEntityType other = (JpaToscaEntityType) otherConcept;
if (!key.equals(other.key)) {
return key.compareTo(other.key);
}
final Object copyObject = target;
Assertions.instanceOf(copyObject, PfConcept.class);
- final ToscaEntityType copy = ((ToscaEntityType) copyObject);
+ final JpaToscaEntityType copy = ((JpaToscaEntityType) copyObject);
copy.setKey(new PfConceptKey(key));
copy.setDerivedFrom(derivedFrom != null ? new PfConceptKey(derivedFrom) : null);