* ONAP Policy Models
* ================================================================================
* Copyright (C) 2019, 2021 AT&T Intellectual Property. All rights reserved.
- * Modifications Copyright (C) 2020-2021 Nordix Foundation.
+ * Modifications Copyright (C) 2020-2021, 2025 OpenInfra Foundation Europe. All rights reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
package org.onap.policy.models.tosca.authorative.concepts;
+import java.io.Serial;
import java.io.Serializable;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
@NoArgsConstructor
public class ToscaConceptIdentifier extends ToscaNameVersion
implements Serializable, Comparable<ToscaConceptIdentifier> {
+
+ @Serial
private static final long serialVersionUID = 8010649773816325786L;
* ONAP Policy Models
* ================================================================================
* Copyright (C) 2021 AT&T Intellectual Property. All rights reserved.
+ * Modifications Copyright (C) 2025 OpenInfra Foundation Europe. All rights reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
package org.onap.policy.models.tosca.authorative.concepts;
+import java.io.Serial;
+import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@AllArgsConstructor
-public class ToscaNameVersion {
+public class ToscaNameVersion implements Serializable {
+
+ @Serial
+ private static final long serialVersionUID = 8010649773816325786L;
private String name;
}
/**
- * Create a PfConcceptKey from the TOSCA identifier.
+ * Create a PfConceptKey from the TOSCA identifier.
*
* @return the key
*/