ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 1 | <?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 |
| 11 | |
| 12 | http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | |
| 14 | 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> |
| 30 | |
| 31 | <properties name="uk_vfmodule" unique="true"> |
| 32 | <property name="type" type="string" > |
| 33 | <column name="TYPE" not-null="true" length="200"/> |
| 34 | </property> |
| 35 | <property name="version" type="string" > |
| 36 | <column name="ASDC_SERVICE_MODEL_VERSION" not-null="true" length="20"/> |
| 37 | </property> |
| 38 | </properties> |
| 39 | |
| 40 | <property name="modelName" type="string" > |
| 41 | <column name="MODEL_NAME" not-null="true" length="200"/> |
| 42 | </property> |
| 43 | <property name="modelVersion" type="string" > |
| 44 | <column name="MODEL_VERSION" not-null="true" length="20"/> |
| 45 | </property> |
| 46 | |
| 47 | <property name="asdcUuid" type="java.lang.String" > |
| 48 | <column name="ASDC_UUID" not-null="false" length="255"/> |
| 49 | </property> |
| 50 | <property name="volEnvironmentId" type="java.lang.Integer" > |
| 51 | <column name="VOL_ENVIRONMENT_ID" not-null="false"/> |
| 52 | </property> |
| 53 | <property name="templateId" type="java.lang.Integer" > |
| 54 | <column name="TEMPLATE_ID" not-null="false"/> |
| 55 | </property> |
| 56 | <property name="isBase" type="int"> |
| 57 | <column name="IS_BASE" not-null="true"/> |
| 58 | </property> |
| 59 | |
| 60 | <property name="created" type="timestamp" generated="insert" update="false" insert="false" > |
| 61 | <column name="CREATION_TIMESTAMP" not-null="true"/> |
| 62 | </property> |
| 63 | |
| 64 | <property name="description" type="java.lang.String" > |
| 65 | <column name="DESCRIPTION" not-null="false" length="255"/> |
| 66 | </property> |
| 67 | <property name="volTemplateId" type="java.lang.Integer" > |
| 68 | <column name="VOL_TEMPLATE_ID" not-null="false"/> |
| 69 | </property> |
| 70 | <property name="vnfResourceId" type="java.lang.Integer" > |
| 71 | <column name="VNF_RESOURCE_ID" not-null="true"/> |
| 72 | </property> |
| 73 | <property name="environmentId" type="java.lang.Integer" > |
| 74 | <column name="ENVIRONMENT_ID" not-null="false"/> |
| 75 | </property> |
| 76 | <property name="modelInvariantUuid" type="java.lang.String" > |
| 77 | <column name="MODEL_INVARIANT_UUID" not-null="false" length="255"/> |
| 78 | </property> |
| 79 | |
| 80 | </class> |
| 81 | </hibernate-mapping> |