blob: 1631057bfd504882708ca010a8404e8c5b505126 [file] [log] [blame]
ChrisC025301d2017-01-31 11:40:03 +01001<?xml version="1.0"?>
2<!--
3 ============LICENSE_START=======================================================
4 ECOMP MSO
5 ================================================================================
6 Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
7 ================================================================================
8 Licensed under the Apache License, Version 2.0 (the "License");
9 you may not use this file except in compliance with the License.
10 You may obtain a copy of the License at
xg353yb6b7bef2017-04-11 13:30:42 +020011
ChrisC025301d2017-01-31 11:40:03 +010012 http://www.apache.org/licenses/LICENSE-2.0
xg353yb6b7bef2017-04-11 13:30:42 +020013
ChrisC025301d2017-01-31 11:40:03 +010014 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19 ============LICENSE_END=========================================================
20 -->
21
22<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
23"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
24<!-- Generated Apr 28, 2016 2:44:06 PM by Hibernate Tools 3.4.0.CR1 -->
25<hibernate-mapping package="org.openecomp.mso.db.catalog.beans">
26 <class name="VfModule" table="VF_MODULE">
27 <id name="id" type="int" column="id">
28 <generator class="native"/>
29 </id>
xg353yb6b7bef2017-04-11 13:30:42 +020030 <property name="asdcUuid" type="java.lang.String" >
31 <column name="ASDC_UUID" not-null="false" length="200" default="null"/>
32 </property>
33 <property name="volEnvironmentId" type="java.lang.Integer" >
34 <column name="VOL_ENVIRONMENT_ID" not-null="false" length="11" default="null"/>
35 </property>
ChrisC025301d2017-01-31 11:40:03 +010036 <properties name="uk_vfmodule" unique="true">
37 <property name="type" type="string" >
38 <column name="TYPE" not-null="true" length="200"/>
39 </property>
xg353yb6b7bef2017-04-11 13:30:42 +020040 <property name="version" type="string">
ChrisC025301d2017-01-31 11:40:03 +010041 <column name="ASDC_SERVICE_MODEL_VERSION" not-null="true" length="20"/>
42 </property>
43 </properties>
xg353yb6b7bef2017-04-11 13:30:42 +020044 <property name="modelCustomizationUuid" type="java.lang.String" >
45 <column name="MODEL_CUSTOMIZATION_UUID" not-null="false" length="200"/>
46 </property>
ChrisC025301d2017-01-31 11:40:03 +010047 <property name="modelName" type="string" >
48 <column name="MODEL_NAME" not-null="true" length="200"/>
49 </property>
50 <property name="modelVersion" type="string" >
51 <column name="MODEL_VERSION" not-null="true" length="20"/>
52 </property>
ChrisC025301d2017-01-31 11:40:03 +010053
54 <property name="created" type="timestamp" generated="insert" update="false" insert="false" >
55 <column name="CREATION_TIMESTAMP" not-null="true"/>
56 </property>
ChrisC025301d2017-01-31 11:40:03 +010057 <property name="description" type="java.lang.String" >
xg353yb6b7bef2017-04-11 13:30:42 +020058 <column name="DESCRIPTION" not-null="false" length="255" default="null"/>
ChrisC025301d2017-01-31 11:40:03 +010059 </property>
60 <property name="volTemplateId" type="java.lang.Integer" >
xg353yb6b7bef2017-04-11 13:30:42 +020061 <column name="VOL_TEMPLATE_ID" not-null="false" default="null" length="11"/>
62 </property>
63 <property name="templateId" type="java.lang.Integer" >
64 <column name="TEMPLATE_ID" not-null="false" length="11" default="null"/>
ChrisC025301d2017-01-31 11:40:03 +010065 </property>
66 <property name="vnfResourceId" type="java.lang.Integer" >
xg353yb6b7bef2017-04-11 13:30:42 +020067 <column name="VNF_RESOURCE_ID" not-null="true" length="11"/>
68 </property>
69 <property name="isBase" type="int">
70 <column name="IS_BASE" not-null="true" length="11"/>
ChrisC025301d2017-01-31 11:40:03 +010071 </property>
72 <property name="environmentId" type="java.lang.Integer" >
73 <column name="ENVIRONMENT_ID" not-null="false"/>
74 </property>
75 <property name="modelInvariantUuid" type="java.lang.String" >
xg353yb6b7bef2017-04-11 13:30:42 +020076 <column name="MODEL_INVARIANT_UUID" not-null="false" length="200" default="null"/>
ChrisC025301d2017-01-31 11:40:03 +010077 </property>
78
xg353yb6b7bef2017-04-11 13:30:42 +020079 <property name="minInstances" type="java.lang.Integer" >
80 <column name="MIN_INSTANCES" not-null="false" length="11" default="0"/>
81 </property>
82 <property name="maxInstances" type="java.lang.Integer" >
83 <column name="MAX_INSTANCES" not-null="false" length="11" default="null"/>
84 </property>
85 <property name="initialCount" type="java.lang.Integer" >
86 <column name="INITIAL_COUNT" not-null="false" length="11" default="0"/>
87 </property>
88 <property name="label" type="java.lang.String" >
89 <column name="LABEL" not-null="false" length="200" default="null"/>
90 </property>
ChrisC025301d2017-01-31 11:40:03 +010091 </class>
92</hibernate-mapping>