blob: 7e458a36eb10ea42158e3b12129f4b51c517988e [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.core.internal.resource.java;
import org.eclipse.jpt.core.resource.java.AttributeOverrideAnnotation;
import org.eclipse.jpt.core.resource.java.ColumnAnnotation;
/**
* javax.persistence.Column
*/
public class NullAttributeOverrideColumnAnnotation
extends NullColumnAnnotation
{
public NullAttributeOverrideColumnAnnotation(AttributeOverrideAnnotation parent) {
super(parent);
}
private AttributeOverrideAnnotation getAttributeOverrideAnnotation() {
return (AttributeOverrideAnnotation) this.parent;
}
@Override
protected ColumnAnnotation addAnnotation() {
return this.getAttributeOverrideAnnotation().addColumn();
}
}