blob: 2243813b9dfc0ada6a0fc35283a97fff5c942600 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2011, 2012 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.jpa.eclipselink.core.internal.resource.java;
import org.eclipse.jpt.common.core.resource.java.JavaResourceAnnotatedElement;
import org.eclipse.jpt.common.core.utility.TextRange;
import org.eclipse.jpt.jpa.core.internal.resource.java.NullBaseDiscriminatorColumnAnnotation;
import org.eclipse.jpt.jpa.eclipselink.core.resource.java.EclipseLinkTenantDiscriminatorColumnAnnotation2_3;
/**
* <code>org.eclipse.persistence.annotations.TenantDiscriminatorColumn</code>
*/
public final class NullEclipseLinkTenantDiscriminatorColumnAnnotation2_3
extends NullBaseDiscriminatorColumnAnnotation<EclipseLinkTenantDiscriminatorColumnAnnotation2_3>
implements EclipseLinkTenantDiscriminatorColumnAnnotation2_3
{
public NullEclipseLinkTenantDiscriminatorColumnAnnotation2_3(JavaResourceAnnotatedElement parent) {
super(parent);
}
public String getAnnotationName() {
return EclipseLinkTenantDiscriminatorColumnAnnotation2_3.ANNOTATION_NAME;
}
// ***** context property
public String getContextProperty() {
return null;
}
public void setContextProperty(String contextProperty) {
if (contextProperty != null) {
this.addAnnotation().setContextProperty(contextProperty);
}
}
public TextRange getContextPropertyTextRange() {
return null;
}
// ***** table
public String getTable() {
return null;
}
public void setTable(String table) {
if (table != null) {
this.addAnnotation().setTable(table);
}
}
public TextRange getTableTextRange() {
return null;
}
public boolean tableTouches(int pos) {
return false;
}
// ***** primary key
public Boolean getPrimaryKey() {
return null;
}
public void setPrimaryKey(Boolean primaryKey) {
if (primaryKey != null) {
this.addAnnotation().setPrimaryKey(primaryKey);
}
}
public TextRange getPrimaryKeyTextRange() {
return null;
}
}