ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 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 | |
| 22 | <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD//EN" "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd"> |
| 23 | |
| 24 | <hibernate-mapping package="org.openecomp.mso.db.catalog.beans"> |
| 25 | <class name="VnfComponent" table="VNF_COMPONENTS"> |
| 26 | <meta attribute="class-description"> |
| 27 | VnfComponent describes a table of components for a VNF_RESOURCE |
| 28 | </meta> |
| 29 | |
| 30 | <composite-id> |
| 31 | <key-property name="vnfId" column="VNF_ID" type="int" /> |
| 32 | <key-property name="componentType" column="COMPONENT_TYPE" type="string" length="20"/> |
| 33 | </composite-id> |
| 34 | |
| 35 | <property name="heatTemplateId" column="HEAT_TEMPLATE_ID" type="int" /> |
| 36 | <property name="heatEnvironmentId" column="HEAT_ENVIRONMENT_ID" type="int" /> |
| 37 | <property name="created" type="timestamp" generated="insert" update="false" insert="false" > |
| 38 | <column name="CREATION_TIMESTAMP" not-null="true"/> |
| 39 | </property> |
| 40 | |
| 41 | </class> |
| 42 | |
| 43 | </hibernate-mapping> |