Code Review
/
aai
/
aai-common.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Integrate aai-schema-ingest library into aai-core
[aai/aai-common.git]
/
aai-core
/
src
/
main
/
java
/
org
/
onap
/
aai
/
domain
/
model
/
AAIResourceKeys.java
diff --git
a/aai-core/src/main/java/org/onap/aai/db/schema/Named.java
b/aai-core/src/main/java/org/onap/aai/domain/model/AAIResourceKeys.java
similarity index 71%
rename from
aai-core/src/main/java/org/onap/aai/db/schema/Named.java
rename to
aai-core/src/main/java/org/onap/aai/domain/model/AAIResourceKeys.java
index
f12699b
..
a863eb4
100644
(file)
--- a/
aai-core/src/main/java/org/onap/aai/db/schema/Named.java
+++ b/
aai-core/src/main/java/org/onap/aai/domain/model/AAIResourceKeys.java
@@
-17,14
+17,23
@@
* limitations under the License.
* ============LICENSE_END=========================================================
*/
* limitations under the License.
* ============LICENSE_END=========================================================
*/
-package org.onap.aai.d
b.schema
;
+package org.onap.aai.d
omain.model
;
-public interface Named {
+import java.util.ArrayList;
+import java.util.List;
+
+public class AAIResourceKeys {
+ private List<AAIResourceKey> aaiResourceKey;
/**
/**
- * Gets the
name
.
+ * Gets the
aai resource key
.
*
*
- * @return the
name
+ * @return the
aai resource key
*/
*/
- public String getName();
+ public List<AAIResourceKey> getAaiResourceKey() {
+ if (aaiResourceKey == null) {
+ aaiResourceKey = new ArrayList<AAIResourceKey>();
+ }
+ return aaiResourceKey;
+ }
}
}