blob: c35e60ca8e119d0f288dea9e184f1367c3fb46a8 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2007, 2009 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.eclipselink.core.internal.resource.java;
import org.eclipse.jpt.core.internal.resource.java.NullColumnAnnotation;
import org.eclipse.jpt.core.resource.java.ColumnAnnotation;
import org.eclipse.jpt.eclipselink.core.resource.java.EclipseLinkWriteTransformerAnnotation;
/**
* javax.persistence.Column
*/
public class NullEclipseLinkWriteTransformerColumnAnnotation
extends NullColumnAnnotation
{
public NullEclipseLinkWriteTransformerColumnAnnotation(EclipseLinkWriteTransformerAnnotation parent) {
super(parent);
}
private EclipseLinkWriteTransformerAnnotation getWriteTransformerAnnotation() {
return (EclipseLinkWriteTransformerAnnotation) this.parent;
}
@Override
protected ColumnAnnotation addAnnotation() {
return this.getWriteTransformerAnnotation().addColumn();
}
}