blob: 2f38916f91ab56a071f4687fadae2f6d3dcc3e0b [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010, 2013 Oracle. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0, which accompanies this distribution
* and is available at https://www.eclipse.org/legal/epl-2.0/.
*
* Contributors:
* Oracle - initial API and implementation
******************************************************************************/
package org.eclipse.jpt.jpa.core.internal.jpa1.context.orm;
import org.eclipse.jpt.common.core.utility.TextRange;
import org.eclipse.jpt.jpa.core.context.Converter;
import org.eclipse.jpt.jpa.core.context.orm.OrmAttributeMapping;
import org.eclipse.jpt.jpa.core.context.orm.OrmConverter;
import org.eclipse.jpt.jpa.core.internal.context.orm.AbstractOrmXmlContextModel;
public class NullOrmConverter
extends AbstractOrmXmlContextModel<OrmAttributeMapping>
implements OrmConverter
{
public NullOrmConverter(OrmAttributeMapping parent) {
super(parent);
}
public void initialize() {
// NOP
}
public Class<? extends Converter> getConverterType() {
return null;
}
public TextRange getValidationTextRange() {
return this.parent.getValidationTextRange();
}
}