Arthur Martella | 62cd6aa | 2017-09-08 13:27:46 -0400 | [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 | <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
|
Jim Hahn | 20e60c8 | 2017-10-12 11:32:34 -0400 | [diff] [blame] | 22 | "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
|
Arthur Martella | 62cd6aa | 2017-09-08 13:27:46 -0400 | [diff] [blame] | 23 | <hibernate-mapping package="org.openecomp.mso.db.catalog.beans">
|
| 24 | <class name="VfModuleCustomization" table="VF_MODULE_CUSTOMIZATION">
|
| 25 |
|
| 26 | <id name="modelCustomizationUuid" type="string" column="MODEL_CUSTOMIZATION_UUID" length="200">
|
| 27 | </id>
|
| 28 |
|
| 29 | <property name="vfModuleModelUuid" column="VF_MODULE_MODEL_UUID" type="java.lang.String" length="200" not-null="true"/>
|
| 30 |
|
| 31 | <property name="volEnvironmentArtifactUuid" type="java.lang.String">
|
| 32 | <column name="VOL_ENVIRONMENT_ARTIFACT_UUID" length="200" not-null="false" />
|
| 33 | </property>
|
| 34 |
|
Jim Hahn | 20e60c8 | 2017-10-12 11:32:34 -0400 | [diff] [blame] | 35 | <property name="created" type="timestamp" generated="insert" update="false" insert="false" not-null="true">
|
| 36 | <column name="CREATION_TIMESTAMP" default="CURRENT_TIMESTAMP"/>
|
| 37 | </property>
|
Arthur Martella | 62cd6aa | 2017-09-08 13:27:46 -0400 | [diff] [blame] | 38 |
|
| 39 | <property name="heatEnvironmentArtifactUuid" type="java.lang.String">
|
| 40 | <column name="HEAT_ENVIRONMENT_ARTIFACT_UUID" length="200" not-null="false" />
|
| 41 | </property>
|
| 42 | <property name="minInstances" type="java.lang.Integer" >
|
| 43 | <column name="MIN_INSTANCES" not-null="false"/>
|
| 44 | </property>
|
| 45 | <property name="maxInstances" type="java.lang.Integer" >
|
| 46 | <column name="MAX_INSTANCES" not-null="false"/>
|
| 47 | </property>
|
| 48 | <property name="initialCount" type="java.lang.Integer" >
|
| 49 | <column name="INITIAL_COUNT" not-null="false"/>
|
| 50 | </property>
|
| 51 | <property name="availabilityZoneCount" type="java.lang.Integer" >
|
| 52 | <column name="AVAILABILITY_ZONE_COUNT" not-null="false"/>
|
| 53 | </property>
|
| 54 | <property name="label" type="java.lang.String" >
|
| 55 | <column name="LABEL" not-null="false" length="200"/>
|
| 56 | </property>
|
| 57 |
|
| 58 | </class>
|
| 59 | </hibernate-mapping>
|