Dali Provisional API
Release 3.2

org.eclipse.jpt.jpa.eclipselink.core.resource.java
Interface EclipseLinkTenantDiscriminatorColumnAnnotation2_3

All Superinterfaces:
Annotation, DiscriminatorColumnAnnotation, JavaResourceNode, Model, NamedColumnAnnotation, NestableAnnotation

public interface EclipseLinkTenantDiscriminatorColumnAnnotation2_3
extends DiscriminatorColumnAnnotation, NestableAnnotation

Corresponds to the EclipseLink annotation org.eclipse.persistence.annotations.TenantDiscriminatorColumn

Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

Since:
3.1

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceNode
JavaResourceNode.FileTransformer, JavaResourceNode.Root
 
Field Summary
static String ANNOTATION_NAME
           
static String CONTEXT_PROPERTY_PROPERTY
           
static String PRIMARY_KEY_PROPERTY
           
static String TABLE_PROPERTY
           
 
Fields inherited from interface org.eclipse.jpt.jpa.core.resource.java.DiscriminatorColumnAnnotation
DISCRIMINATOR_TYPE_PROPERTY, LENGTH_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.jpa.core.resource.java.NamedColumnAnnotation
COLUMN_DEFINITION_PROPERTY, NAME_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceNode
FILE_TRANSFORMER
 
Method Summary
 String getContextProperty()
          Corresponds to the 'contextProperty' element of the TenantDiscriminatorColumn annotation.
 TextRange getContextPropertyTextRange()
          Return the TextRange for the 'contextProperty' element.
 Boolean getPrimaryKey()
          Corresponds to the 'primaryKey' element of the TenantDiscriminatorColumn annotation.
 TextRange getPrimaryKeyTextRange()
          Return the TextRange for the 'primaryKey' element.
 String getTable()
          Corresponds to the 'table' element of the TenantDiscriminatorColumn annotation.
 TextRange getTableTextRange()
          Return the TextRange for the 'table' element.
 void setContextProperty(String contextProperty)
          Corresponds to the 'contextProperty' element of the TenantDiscriminatorColumn annotation.
 void setPrimaryKey(Boolean primaryKey)
          Corresponds to the 'primaryKey' element of the TenantDiscriminatorColumn annotation.
 void setTable(String table)
          Corresponds to the 'table' element of the TenantDiscriminatorColumn annotation.
 boolean tableTouches(int pos)
          Return whether the specified position touches the 'table' element.
 
Methods inherited from interface org.eclipse.jpt.jpa.core.resource.java.DiscriminatorColumnAnnotation
getDiscriminatorType, getLength, setDiscriminatorType, setLength
 
Methods inherited from interface org.eclipse.jpt.jpa.core.resource.java.NamedColumnAnnotation
getColumnDefinition, getColumnDefinitionTextRange, getName, getNameTextRange, getNameValidationTextRange, isSpecified, nameTouches, nameValidationTouches, setColumnDefinition, setName
 
Methods inherited from interface org.eclipse.jpt.common.core.resource.java.Annotation
getAnnotationName, getAstAnnotation, initialize, initialize, isUnset, newAnnotation, removeAnnotation, synchronizeWith, synchronizeWith
 
Methods inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceNode
getFile, getJavaResourceCompilationUnit, getParent, getRoot, getTextRange
 
Methods inherited from interface org.eclipse.jpt.common.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener
 
Methods inherited from interface org.eclipse.jpt.common.core.resource.java.NestableAnnotation
moveAnnotation
 

Field Detail

ANNOTATION_NAME

static final String ANNOTATION_NAME
See Also:
Constant Field Values

CONTEXT_PROPERTY_PROPERTY

static final String CONTEXT_PROPERTY_PROPERTY
See Also:
Constant Field Values

TABLE_PROPERTY

static final String TABLE_PROPERTY
See Also:
Constant Field Values

PRIMARY_KEY_PROPERTY

static final String PRIMARY_KEY_PROPERTY
See Also:
Constant Field Values
Method Detail

getContextProperty

String getContextProperty()
Corresponds to the 'contextProperty' element of the TenantDiscriminatorColumn annotation. Return null if the element does not exist in Java.


setContextProperty

void setContextProperty(String contextProperty)
Corresponds to the 'contextProperty' element of the TenantDiscriminatorColumn annotation. Set to null to remove the element.


getContextPropertyTextRange

TextRange getContextPropertyTextRange()
Return the TextRange for the 'contextProperty' element. If the element does not exist return the TextRange for the TenantDiscriminatorColumn annotation.


getTable

String getTable()
Corresponds to the 'table' element of the TenantDiscriminatorColumn annotation. Return null if the element does not exist in Java.


setTable

void setTable(String table)
Corresponds to the 'table' element of the TenantDiscriminatorColumn annotation. Set to null to remove the element.


getTableTextRange

TextRange getTableTextRange()
Return the TextRange for the 'table' element. If the element does not exist return the TextRange for the TenantDiscriminatorColumn annotation.


tableTouches

boolean tableTouches(int pos)
Return whether the specified position touches the 'table' element. Return false if the element does not exist.


getPrimaryKey

Boolean getPrimaryKey()
Corresponds to the 'primaryKey' element of the TenantDiscriminatorColumn annotation. Return null if the element does not exist in Java.


setPrimaryKey

void setPrimaryKey(Boolean primaryKey)
Corresponds to the 'primaryKey' element of the TenantDiscriminatorColumn annotation. Set to null to remove the element.


getPrimaryKeyTextRange

TextRange getPrimaryKeyTextRange()
Return the TextRange for the 'primaryKey' element. If the element does not exist return the TextRange for the TenantDiscriminatorColumn annotation.


Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.