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 |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 11 | |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 12 | http://www.apache.org/licenses/LICENSE-2.0 |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 13 | |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 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" |
Jim Hahn | 20e60c8 | 2017-10-12 11:32:34 -0400 | [diff] [blame] | 23 | "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd"> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 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"> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 27 | |
Arthur Martella | 62cd6aa | 2017-09-08 13:27:46 -0400 | [diff] [blame] | 28 | <id name="modelUUID" type="string" column="MODEL_UUID" length="200" /> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 29 | |
Arthur Martella | 62cd6aa | 2017-09-08 13:27:46 -0400 | [diff] [blame] | 30 | <property name="vnfResourceModelUUId" type="string" column="VNF_RESOURCE_MODEL_UUID" length="200" /> |
| 31 | <property name="modelInvariantUUID" type="string" column="MODEL_INVARIANT_UUID" length="200"/> |
| 32 | <property name="version" type="string" column="MODEL_VERSION" length="20" not-null="true"/> |
| 33 | <property name="modelName" type="string" column="MODEL_NAME" length="200" not-null="true" /> |
| 34 | <property name="description" type="string" column="DESCRIPTION" length="1200"/> |
| 35 | <property name="isBase" type="int" column="IS_BASE" not-null="true"/> |
| 36 | <property name="heatTemplateArtifactUUId" type="string" column="HEAT_TEMPLATE_ARTIFACT_UUID" length="200" not-null="true" /> |
| 37 | <property name="volHeatTemplateArtifactUUId" type="string" column="VOL_HEAT_TEMPLATE_ARTIFACT_UUID" length="200" /> |
| 38 | |
Jim Hahn | 20e60c8 | 2017-10-12 11:32:34 -0400 | [diff] [blame] | 39 | <property name="created" type="timestamp" generated="insert" update="false" insert="false" not-null="true"> |
| 40 | <column name="CREATION_TIMESTAMP" default="CURRENT_TIMESTAMP"/> |
| 41 | </property> |
Arthur Martella | 62cd6aa | 2017-09-08 13:27:46 -0400 | [diff] [blame] | 42 | |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 43 | </class> |
Arthur Martella | 62cd6aa | 2017-09-08 13:27:46 -0400 | [diff] [blame] | 44 | </hibernate-mapping> |