diff options
Diffstat (limited to 'openecomp-be/tools/zusammen-tools/src/main/java/org/openecomp/core/tools/store/zusammen/datatypes/ElementEntity.java')
-rw-r--r-- | openecomp-be/tools/zusammen-tools/src/main/java/org/openecomp/core/tools/store/zusammen/datatypes/ElementEntity.java | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/openecomp-be/tools/zusammen-tools/src/main/java/org/openecomp/core/tools/store/zusammen/datatypes/ElementEntity.java b/openecomp-be/tools/zusammen-tools/src/main/java/org/openecomp/core/tools/store/zusammen/datatypes/ElementEntity.java index f4f450db70..d1fd93dd71 100644 --- a/openecomp-be/tools/zusammen-tools/src/main/java/org/openecomp/core/tools/store/zusammen/datatypes/ElementEntity.java +++ b/openecomp-be/tools/zusammen-tools/src/main/java/org/openecomp/core/tools/store/zusammen/datatypes/ElementEntity.java @@ -1,3 +1,19 @@ +/* +* Copyright © 2016-2018 European Support Limited +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + package org.openecomp.core.tools.store.zusammen.datatypes; import com.datastax.driver.mapping.annotations.Column; @@ -26,7 +42,7 @@ import java.util.Set; */ @Table( keyspace = "zusammen_dox", - name = "version" + name = "element" ) public class ElementEntity { @Column( name = "space" ) @@ -43,7 +59,7 @@ public class ElementEntity { @Column(name = "element_id") @PartitionKey(3) - private String element_id; + private String elementId; @Column(name = "data") private ByteBuffer data; @@ -94,12 +110,12 @@ public class ElementEntity { this.versionId = versionId; } - public String getElement_id() { - return element_id; + public String getElementId() { + return elementId; } - public void setElement_id(String element_id) { - this.element_id = element_id; + public void setElementId(String elementId) { + this.elementId = elementId; } public ByteBuffer getData() { |