| /******************************************************************************* |
| * Copyright (c) 2006, 2007 Oracle. All rights reserved. |
| * This program and the accompanying materials are made available under the |
| * terms of the Eclipse Public License v1.0, which accompanies this distribution |
| * and is available at http://www.eclipse.org/legal/epl-v10.html. |
| * |
| * Contributors: |
| * Oracle - initial API and implementation |
| ******************************************************************************/ |
| package org.eclipse.jpt.core.internal.content.orm; |
| |
| import org.eclipse.emf.ecore.EClass; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Xml Null Attribute Mapping</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * |
| * @see org.eclipse.jpt.core.internal.content.orm.OrmPackage#getXmlNullAttributeMapping() |
| * @model kind="class" |
| * @generated |
| */ |
| public class XmlNullAttributeMapping extends XmlAttributeMapping |
| { |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| protected XmlNullAttributeMapping() { |
| super(); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| @Override |
| protected EClass eStaticClass() { |
| return OrmPackage.Literals.XML_NULL_ATTRIBUTE_MAPPING; |
| } |
| |
| @Override |
| public int xmlSequence() { |
| return -1; |
| } |
| |
| @Override |
| protected void initializeOn(XmlAttributeMapping newMapping) { |
| newMapping.initializeFromXmlAttributeMapping(this); |
| } |
| |
| public String getKey() { |
| return null; |
| } |
| } |