|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MapsIdDerivedIdentityStrategy2_0
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.
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_VALUE_PROPERTY
String associated with changes to the default value property of this object |
static java.lang.String |
SPECIFIED_VALUE_PROPERTY
String associated with changes to the specified value property of this object |
| Method Summary | |
|---|---|
java.lang.String |
getDefaultValue()
Return the default value (the id which would be used in the absence of a specified value) |
AttributeMapping |
getResolvedAttributeMappingValue()
Return a resolved attribute mapping, which may be a mapping on the entity, or a mapping within an embeddable mapping on the entity |
java.lang.Iterable<java.lang.String> |
getSortedValueChoices()
Return a sorted iterator of possible value choices |
java.lang.String |
getSpecifiedValue()
Return the specified value (the id which has been specified in code) Will return null if no value is specified |
java.lang.String |
getValue()
Return the specfied value, or in absence of that, the default value |
void |
setSpecifiedValue(java.lang.String newValue)
Set the specified value (the id to specify in code) |
boolean |
usesDefaultValue()
Return whether a default value is ever used (in some cases, there can be no default) |
| Methods inherited from interface org.eclipse.jpt.core.jpa2.context.DerivedIdentityStrategy2_0 |
|---|
addStrategy, getDerivedIdentity, getMapping, isSpecified, removeStrategy |
| Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode |
|---|
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getResourceType, postUpdate |
| Methods inherited from interface org.eclipse.jpt.core.JpaNode |
|---|
getJpaProject, getParent |
| Methods inherited from interface org.eclipse.jpt.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 |
| Methods inherited from interface org.eclipse.jpt.core.IResourcePart |
|---|
getResource |
| Field Detail |
|---|
static final java.lang.String SPECIFIED_VALUE_PROPERTY
static final java.lang.String DEFAULT_VALUE_PROPERTY
| Method Detail |
|---|
java.lang.String getSpecifiedValue()
void setSpecifiedValue(java.lang.String newValue)
boolean usesDefaultValue()
java.lang.String getDefaultValue()
java.lang.String getValue()
java.lang.Iterable<java.lang.String> getSortedValueChoices()
AttributeMapping getResolvedAttributeMappingValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||