xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [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" |
| 22 | "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> |
| 23 | <!-- Generated Dec 14, 2016 10:57:53 AM by Hibernate Tools 3.4.0.CR1 --> |
| 24 | <hibernate-mapping> |
| 25 | <class name="org.openecomp.mso.db.catalog.beans.AllottedResourceCustomization" |
| 26 | table="ALLOTTED_RESOURCE_CUSTOMIZATION"> |
| 27 | <id name="modelCustomizationUuid" type="java.lang.String"> |
| 28 | <column name="MODEL_CUSTOMIZATION_UUID" length="200" not-null="true"/> |
| 29 | <generator class="assigned" /> |
| 30 | </id> |
| 31 | <property name="version"> |
| 32 | <column name="MODEL_VERSION" length="20" not-null="true"/> |
| 33 | </property> |
| 34 | <property name="modelVersion" update="false" insert="false"> |
| 35 | <column name="MODEL_VERSION" /> |
| 36 | </property> |
| 37 | <property name="modelUuid" type="java.lang.String"> |
| 38 | <column name="MODEL_UUID" length="200" not-null="true"/> |
| 39 | </property> |
| 40 | <property name="modelName" type="java.lang.String"> |
| 41 | <column name="MODEL_NAME" length="200" not-null="true"/> |
| 42 | </property> |
| 43 | <property name="modelInstanceName" type="java.lang.String"> |
| 44 | <column name="MODEL_INSTANCE_NAME" length="200" not-null="true"/> |
| 45 | </property> |
| 46 | <!-- <property name="created" type="java.sql.Timestamp"> |
| 47 | <column name="CREATION_TIMESTAMP" /> |
| 48 | </property> --> |
| 49 | <property name="created" type="timestamp" generated="insert" update="false" insert="false" > |
| 50 | <column name="CREATION_TIMESTAMP" not-null="true"/> |
| 51 | </property> |
| 52 | <property name="description" type="java.lang.String"> |
| 53 | <column name="DESCRIPTION" length="200" not-null="false" default="null"/> |
| 54 | </property> |
| 55 | <property name="modelInvariantUuid" type="java.lang.String"> |
| 56 | <column name="MODEL_INVARIANT_UUID" length="200" not-null="true"/> |
| 57 | </property> |
| 58 | </class> |
| 59 | </hibernate-mapping> |