Dali Provisional API
Release 3.2

org.eclipse.jpt.jpa.core.context
Interface ReadOnlyNamedDiscriminatorColumn

All Superinterfaces:
IAdaptable, JpaContextNode, JpaNode, JptResourceTypeReference, Model, ReadOnlyNamedColumn
All Known Subinterfaces:
DiscriminatorColumn, JavaDiscriminatorColumn, JavaTenantDiscriminatorColumn2_3, NamedDiscriminatorColumn, OrmDiscriminatorColumn, OrmTenantDiscriminatorColumn2_3, ReadOnlyTenantDiscriminatorColumn2_3, TenantDiscriminatorColumn2_3, VirtualNamedDiscriminatorColumn, VirtualTenantDiscriminatorColumn2_3

public interface ReadOnlyNamedDiscriminatorColumn
extends ReadOnlyNamedColumn

common interface for discriminator columns

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
static interface ReadOnlyNamedDiscriminatorColumn.Owner
          interface allowing discriminator columns to be used in multiple places (but pretty much just entities)
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
JptResourceTypeReference.ResourceTypeTransformer
 
Field Summary
static DiscriminatorType DEFAULT_DISCRIMINATOR_TYPE
           
static String DEFAULT_DISCRIMINATOR_TYPE_PROPERTY
           
static int DEFAULT_LENGTH
           
static String DEFAULT_LENGTH_PROPERTY
           
static String SPECIFIED_DISCRIMINATOR_TYPE_PROPERTY
           
static String SPECIFIED_LENGTH_PROPERTY
           
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.ReadOnlyNamedColumn
COLUMN_DEFINITION_PROPERTY, DB_TABLE_PROPERTY, DEFAULT_NAME_PROPERTY, SPECIFIED_NAME_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
RESOURCE_TYPE_TRANSFORMER
 
Method Summary
 DiscriminatorType getDefaultDiscriminatorType()
           
 int getDefaultLength()
           
 DiscriminatorType getDiscriminatorType()
          Return the specified discriminator type if present, otherwise return the default discriminator type.
 int getLength()
          Return the specified length if present, otherwise return the default length.
 DiscriminatorType getSpecifiedDiscriminatorType()
           
 Integer getSpecifiedLength()
           
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.ReadOnlyNamedColumn
getColumnDefinition, getDbTable, getDefaultName, getName, getNameValidationTextRange, getSpecifiedName, getTableName, isResolved, isVirtual
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextNode
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getParent, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate
 
Methods inherited from interface org.eclipse.jpt.jpa.core.JpaNode
getJpaPlatform, getJpaProject, getJpaProjectManager, getResource, stateChanged
 
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.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
getResourceType
 

Field Detail

SPECIFIED_DISCRIMINATOR_TYPE_PROPERTY

static final String SPECIFIED_DISCRIMINATOR_TYPE_PROPERTY
See Also:
Constant Field Values

DEFAULT_DISCRIMINATOR_TYPE_PROPERTY

static final String DEFAULT_DISCRIMINATOR_TYPE_PROPERTY
See Also:
Constant Field Values

DEFAULT_DISCRIMINATOR_TYPE

static final DiscriminatorType DEFAULT_DISCRIMINATOR_TYPE

SPECIFIED_LENGTH_PROPERTY

static final String SPECIFIED_LENGTH_PROPERTY
See Also:
Constant Field Values

DEFAULT_LENGTH_PROPERTY

static final String DEFAULT_LENGTH_PROPERTY
See Also:
Constant Field Values

DEFAULT_LENGTH

static final int DEFAULT_LENGTH
See Also:
Constant Field Values
Method Detail

getDiscriminatorType

DiscriminatorType getDiscriminatorType()
Return the specified discriminator type if present, otherwise return the default discriminator type.


getSpecifiedDiscriminatorType

DiscriminatorType getSpecifiedDiscriminatorType()

getDefaultDiscriminatorType

DiscriminatorType getDefaultDiscriminatorType()

getLength

int getLength()
Return the specified length if present, otherwise return the default length.


getSpecifiedLength

Integer getSpecifiedLength()

getDefaultLength

int getDefaultLength()

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.