aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-model
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-model')
-rw-r--r--catalog-model/src/main/java/org/openecomp/sdc/be/model/Resource.java11
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/ResourceTest.java22
2 files changed, 0 insertions, 33 deletions
diff --git a/catalog-model/src/main/java/org/openecomp/sdc/be/model/Resource.java b/catalog-model/src/main/java/org/openecomp/sdc/be/model/Resource.java
index e15f1159ba..766cae4432 100644
--- a/catalog-model/src/main/java/org/openecomp/sdc/be/model/Resource.java
+++ b/catalog-model/src/main/java/org/openecomp/sdc/be/model/Resource.java
@@ -47,8 +47,6 @@ public class Resource extends Component {
private List<String> defaultCapabilities;
- private Map<String, InterfaceOperationDataDefinition> interfaceOperations;
-
public Resource() {
super(new ResourceMetadataDefinition());
this.getComponentMetadataDefinition().getMetadataDataDefinition().setComponentType(ComponentTypeEnum.RESOURCE);
@@ -152,14 +150,6 @@ public class Resource extends Component {
.setLicenseType(licenseType);
}
- public Map<String, InterfaceOperationDataDefinition> getInterfaceOperations() {
- return interfaceOperations;
- }
-
- public void setInterfaceOperations(Map<String, InterfaceOperationDataDefinition> interfaceOperations) {
- this.interfaceOperations = interfaceOperations;
- }
-
@Override
public int hashCode() {
final int prime = 31;
@@ -214,7 +204,6 @@ public class Resource extends Component {
return false;
} else if (!properties.equals(other.properties))
return false;
-
return super.equals(obj);
}
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/ResourceTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ResourceTest.java
index cf4ee08043..2ecb4b444c 100644
--- a/catalog-model/src/test/java/org/openecomp/sdc/be/model/ResourceTest.java
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ResourceTest.java
@@ -222,28 +222,6 @@ public class ResourceTest extends ModelConfDependentTest{
@Test
- public void testGetInterfaceOperations() throws Exception {
- Resource testSubject;
- Map<String, InterfaceOperationDataDefinition> result;
-
- // default test
- testSubject = createTestSubject();
- result = testSubject.getInterfaceOperations();
- }
-
-
- @Test
- public void testSetInterfaceOperations() throws Exception {
- Resource testSubject;
- Map<String, InterfaceOperationDataDefinition> interfaceOperations = null;
-
- // default test
- testSubject = createTestSubject();
- testSubject.setInterfaceOperations(interfaceOperations);
- }
-
-
- @Test
public void testHashCode() throws Exception {
Resource testSubject;
int result;