Dali Provisional API
Release 3.2

org.eclipse.jpt.jpa.core.jpa2.context
Interface Orderable2_0

All Superinterfaces:
IAdaptable, JpaContextModel, JpaModel, JptResourceTypeReference, Model, Orderable
All Known Subinterfaces:
JavaOrderable2_0, OrmOrderable2_0

public interface Orderable2_0
extends Orderable

Multi-valued (1:m, m:m) relationship and element collection mappings support ordering.

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.3

Nested Class Summary
static interface Orderable2_0.ParentAdapter<M extends AttributeMapping>
          interface allowing ordering in multiple places (i.e. multi-value relationship and element collection mappings)
 
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 ORDER_COLUMN_ORDERING_PROPERTY
          String associated with changes to the "orderColumnOrdering" property
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.Orderable
NO_ORDERING_PROPERTY, ORDER_BY_ORDERING_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
TRANSFORMER
 
Method Summary
 String getDefaultTableName()
           
 SpecifiedOrderColumn2_0 getOrderColumn()
          Return the orderColumn object.
 boolean isOrderColumnOrdering()
          If true, will have orderColumn metadata that takes precedence over other metadata
 void setOrderColumnOrdering()
          Will set orderColumnOrdering to true (will remove all other metadata, and will set orderColumn to null)
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.Orderable
getOrderBy, getParent, isNoOrdering, isOrderByOrdering, setNoOrdering, setOrderByOrdering
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextModel
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, 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

ORDER_COLUMN_ORDERING_PROPERTY

static final String ORDER_COLUMN_ORDERING_PROPERTY
String associated with changes to the "orderColumnOrdering" property

See Also:
Constant Field Values
Method Detail

isOrderColumnOrdering

boolean isOrderColumnOrdering()
If true, will have orderColumn metadata that takes precedence over other metadata


setOrderColumnOrdering

void setOrderColumnOrdering()
Will set orderColumnOrdering to true (will remove all other metadata, and will set orderColumn to null)


getOrderColumn

SpecifiedOrderColumn2_0 getOrderColumn()
Return the orderColumn object. This will never be null.


getDefaultTableName

String getDefaultTableName()

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.