org.eclipse.jpt.jpa.core.context
Interface DiscriminatorColumn
- All Superinterfaces:
- org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, Model, NamedColumn, ReadOnlyNamedColumn
- All Known Subinterfaces:
- JavaDiscriminatorColumn, OrmDiscriminatorColumn
public interface DiscriminatorColumn
- extends NamedColumn
discriminator column
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:
- 2.0
- Version:
- 2.2
|
Nested Class Summary |
static interface |
DiscriminatorColumn.Owner
interface allowing discriminator columns to be used in multiple places
(but pretty much just entities) |
| Methods inherited from interface org.eclipse.jpt.common.utility.model.Model |
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
DEFAULT_NAME
static final java.lang.String DEFAULT_NAME
- See Also:
- Constant Field Values
SPECIFIED_DISCRIMINATOR_TYPE_PROPERTY
static final java.lang.String SPECIFIED_DISCRIMINATOR_TYPE_PROPERTY
- See Also:
- Constant Field Values
DEFAULT_DISCRIMINATOR_TYPE_PROPERTY
static final java.lang.String DEFAULT_DISCRIMINATOR_TYPE_PROPERTY
- See Also:
- Constant Field Values
DEFAULT_DISCRIMINATOR_TYPE
static final DiscriminatorType DEFAULT_DISCRIMINATOR_TYPE
SPECIFIED_LENGTH_PROPERTY
static final java.lang.String SPECIFIED_LENGTH_PROPERTY
- See Also:
- Constant Field Values
DEFAULT_LENGTH_PROPERTY
static final java.lang.String DEFAULT_LENGTH_PROPERTY
- See Also:
- Constant Field Values
DEFAULT_LENGTH
static final int DEFAULT_LENGTH
- See Also:
- Constant Field Values
getDiscriminatorType
DiscriminatorType getDiscriminatorType()
- Return the specified discriminator type if present,
otherwise return the default discriminator type.
getSpecifiedDiscriminatorType
DiscriminatorType getSpecifiedDiscriminatorType()
setSpecifiedDiscriminatorType
void setSpecifiedDiscriminatorType(DiscriminatorType newSpecifiedDiscriminatorType)
getDefaultDiscriminatorType
DiscriminatorType getDefaultDiscriminatorType()
getLength
int getLength()
- Return the specified length if present,
otherwise return the default length.
getSpecifiedLength
java.lang.Integer getSpecifiedLength()
setSpecifiedLength
void setSpecifiedLength(java.lang.Integer value)
getDefaultLength
int getDefaultLength()
isResourceSpecified
boolean isResourceSpecified()
- Return whether the column is specified in the resource.