blob: 8e86c584d57c3173fae0b959422356a16b5e5660 [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 Aug 6, 2015 1:11:38 PM by Hibernate Tools 3.4.0.CR1 -->
25<hibernate-mapping>
26 <class name="org.openecomp.mso.db.catalog.beans.HeatEnvironment" table="HEAT_ENVIRONMENT">
27 <meta attribute="class-description">
28 This class describes a HEAT Environment
29 </meta>
xg353yb6b7bef2017-04-11 13:30:42 +020030
ChrisC025301d2017-01-31 11:40:03 +010031 <id name="id" type="int" column="id">
32 <generator class="native"/>
33 </id>
34 <properties name="uk_heatenv" unique="true">
35 <property name="name" type="string" >
36 <column name="NAME" length="100" not-null="true"/>
37 </property>
38 <property name="version" type="string" >
39 <column name="VERSION" length="20" not-null="true"/>
40 </property>
41 <property name="asdcResourceName" type="string" >
42 <column name="ASDC_RESOURCE_NAME" length="100" default="'MANUAL RECORD'" not-null="true"/>
43 </property>
xg353yb6b7bef2017-04-11 13:30:42 +020044 <property name="asdcUuid" type="string">
45 <column name="ASDC_UUID" length="200" default="'MANUAL RECORD'" not-null="true"/>
46 </property>
ChrisC025301d2017-01-31 11:40:03 +010047 </properties>
48 <property name="description" column="DESCRIPTION" type="string" length="1200"/>
49 <property name="environment" type="text">
50 <column name="ENVIRONMENT" not-null="true"/>
51 </property>
52 <property name="created" type="timestamp" generated="insert" insert="false" update="false">
53 <column name="CREATION_TIMESTAMP" not-null="true"/>
54 </property>
ChrisC025301d2017-01-31 11:40:03 +010055 <property name="asdcLabel" column="ASDC_LABEL" type="string" length="200"/>
xg353yb6b7bef2017-04-11 13:30:42 +020056 <property name="artifactChecksum" type="string">
57 <column name="ARTIFACT_CHECKSUM" length="200" default="'MANUAL RECORD'" not-null="true"/>
58 </property>
59
ChrisC025301d2017-01-31 11:40:03 +010060 </class>
61</hibernate-mapping>