diff options
Diffstat (limited to 'catalog-be/src/main/java/org/openecomp/sdc/be/tosca/model/ToscaInterfaceNodeType.java')
-rw-r--r-- | catalog-be/src/main/java/org/openecomp/sdc/be/tosca/model/ToscaInterfaceNodeType.java | 74 |
1 files changed, 35 insertions, 39 deletions
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/tosca/model/ToscaInterfaceNodeType.java b/catalog-be/src/main/java/org/openecomp/sdc/be/tosca/model/ToscaInterfaceNodeType.java index 89e0b07cae..d76c2d2fe0 100644 --- a/catalog-be/src/main/java/org/openecomp/sdc/be/tosca/model/ToscaInterfaceNodeType.java +++ b/catalog-be/src/main/java/org/openecomp/sdc/be/tosca/model/ToscaInterfaceNodeType.java @@ -22,54 +22,50 @@ import java.util.Objects; * @author KATYR * @since March 26, 2018 */ - public class ToscaInterfaceNodeType { - private String derived_from; - private String description; - private Map<String, Object> operations; - - - public String getDerived_from() { - return derived_from; - } + private String derived_from; + private String description; + private Map<String, Object> operations; - public void setDerived_from(String derived_from) { - this.derived_from = derived_from; - } - - public String getDescription() { - return description; - } + public String getDerived_from() { + return derived_from; + } - public void setDescription(String description) { - this.description = description; - } + public void setDerived_from(String derived_from) { + this.derived_from = derived_from; + } - @Override - public boolean equals(Object o) { - if (this == o) { - return true; + public String getDescription() { + return description; } - if (o == null || getClass() != o.getClass()) { - return false; + + public void setDescription(String description) { + this.description = description; } - ToscaInterfaceNodeType that = (ToscaInterfaceNodeType) o; - return Objects.equals(derived_from, that.derived_from) && - Objects.equals(description, that.description); - } - @Override - public int hashCode() { + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ToscaInterfaceNodeType that = (ToscaInterfaceNodeType) o; + return Objects.equals(derived_from, that.derived_from) && Objects.equals(description, that.description); + } - return Objects.hash(derived_from, description); - } + @Override + public int hashCode() { + return Objects.hash(derived_from, description); + } - public Map<String, Object> getOperations() { - return operations; - } + public Map<String, Object> getOperations() { + return operations; + } - public void setOperations(Map<String, Object> operations) { - this.operations = operations; - } + public void setOperations(Map<String, Object> operations) { + this.operations = operations; + } } |