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