|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface MapsIdDerivedIdentityStrategy2_0
Maps ID derived identity strategy
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.
| Nested Class Summary | |
|---|---|
static class |
MapsIdDerivedIdentityStrategy2_0.IdAttributeNameTransformer
|
| Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.JpaModel |
|---|
JpaModel.JpaVersionIsCompatibleWith |
| Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
JptResourceTypeReference.ResourceTypeIsKindOf, JptResourceTypeReference.ResourceTypeTransformer |
| Field Summary | |
|---|---|
static String |
DEFAULT_ID_ATTRIBUTE_NAME_PROPERTY
String associated with changes to the default ID attribute name property. |
static org.eclipse.jpt.common.utility.transformer.Transformer<MapsIdDerivedIdentityStrategy2_0,String> |
ID_ATTRIBUTE_NAME_TRANSFORMER
|
static String |
SPECIFIED_ID_ATTRIBUTE_NAME_PROPERTY
String associated with changes to the specified ID attribute name property. |
| Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
TRANSFORMER |
| Method Summary | |
|---|---|
boolean |
defaultIdAttributeNameIsPossible()
Return whether a default value is ever used. |
String |
getDefaultIdAttributeName()
Return the default ID attribute name. |
AttributeMapping |
getDerivedIdAttributeMapping()
Return attribute mapping referenced by the ID attribute name, which may be a mapping on the entity or a mapping within the embeddable mapping referenced by the entity's embedded ID mapping. |
String |
getIdAttributeName()
Return the specified ID attribute name or, in its absence, the default ID attribute name. |
Iterable<String> |
getSortedCandidateIdAttributeNames()
Return a sorted list of candidate ID attribute names. |
String |
getSpecifiedIdAttributeName()
Return the specified ID attribute name. |
void |
setSpecifiedIdAttributeName(String idAttributeName)
Set the specified attribute name. |
| Methods inherited from interface org.eclipse.jpt.jpa.core.jpa2.context.DerivedIdentityStrategy2_0 |
|---|
addStrategy, isSpecified, removeStrategy |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextModel |
|---|
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getParent, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate |
| Methods inherited from interface org.eclipse.jpt.jpa.core.JpaModel |
|---|
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 |
|---|
static final org.eclipse.jpt.common.utility.transformer.Transformer<MapsIdDerivedIdentityStrategy2_0,String> ID_ATTRIBUTE_NAME_TRANSFORMER
static final String SPECIFIED_ID_ATTRIBUTE_NAME_PROPERTY
static final String DEFAULT_ID_ATTRIBUTE_NAME_PROPERTY
| Method Detail |
|---|
String getIdAttributeName()
String getSpecifiedIdAttributeName()
null if no name is specified.
void setSpecifiedIdAttributeName(String idAttributeName)
boolean defaultIdAttributeNameIsPossible()
String getDefaultIdAttributeName()
Iterable<String> getSortedCandidateIdAttributeNames()
AttributeMapping getDerivedIdAttributeMapping()
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||