blob: b2c94e877610fd728c4794afebaaff9f81e351ef [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"
Jim Hahn20e60c82017-10-12 11:32:34 -040023"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
ChrisC025301d2017-01-31 11:40:03 +010024<!-- 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>
Arthur Martella62cd6aa2017-09-08 13:27:46 -040030 <id name="artifactUuid" type="string" column="ARTIFACT_UUID" length="200">
31 <generator class="assigned" />
ChrisC025301d2017-01-31 11:40:03 +010032 </id>
ChrisC025301d2017-01-31 11:40:03 +010033 <property name="name" type="string" >
34 <column name="NAME" length="100" not-null="true"/>
35 </property>
36 <property name="version" type="string" >
37 <column name="VERSION" length="20" not-null="true"/>
38 </property>
ChrisC025301d2017-01-31 11:40:03 +010039 <property name="description" column="DESCRIPTION" type="string" length="1200"/>
40 <property name="environment" type="text">
Arthur Martella62cd6aa2017-09-08 13:27:46 -040041 <column name="BODY" not-null="true"/>
ChrisC025301d2017-01-31 11:40:03 +010042 </property>
Jim Hahn20e60c82017-10-12 11:32:34 -040043 <property name="created" type="timestamp" generated="insert" insert="false" update="false" not-null="true">
44 <column name="CREATION_TIMESTAMP" default="CURRENT_TIMESTAMP"/>
45 </property>
xg353yb6b7bef2017-04-11 13:30:42 +020046 <property name="artifactChecksum" type="string">
Arthur Martella62cd6aa2017-09-08 13:27:46 -040047 <column name="ARTIFACT_CHECKSUM" length="200" default="'MANUAL RECORD'" not-null="false"/>
xg353yb6b7bef2017-04-11 13:30:42 +020048 </property>
ChrisC025301d2017-01-31 11:40:03 +010049 </class>
Arthur Martella62cd6aa2017-09-08 13:27:46 -040050</hibernate-mapping>