org.eclipse.jpt.core.context.orm
Interface OrmAttributeMapping
- All Superinterfaces:
- AttributeMapping, org.eclipse.core.runtime.IAdaptable, JpaContextNode, JpaNode, Model, OrmJpaContextNode
- All Known Subinterfaces:
- OrmBaseEmbeddedMapping, OrmBasicMapping, OrmEmbeddedIdMapping, OrmEmbeddedMapping, OrmIdMapping, OrmManyToManyMapping, OrmManyToOneMapping, OrmMultiRelationshipMapping, OrmOneToManyMapping, OrmOneToOneMapping, OrmRelationshipMapping, OrmSingleRelationshipMapping, OrmTransientMapping, OrmVersionMapping
public interface OrmAttributeMapping
- extends AttributeMapping, OrmJpaContextNode
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.
Methods inherited from interface org.eclipse.jpt.utility.model.Model |
addCollectionChangeListener, addCollectionChangeListener, addListChangeListener, addListChangeListener, addPropertyChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, addTreeChangeListener, removeCollectionChangeListener, removeCollectionChangeListener, removeListChangeListener, removeListChangeListener, removePropertyChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener, removeTreeChangeListener |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
Methods inherited from interface org.eclipse.jpt.utility.model.Model |
addCollectionChangeListener, addCollectionChangeListener, addListChangeListener, addListChangeListener, addPropertyChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, addTreeChangeListener, removeCollectionChangeListener, removeCollectionChangeListener, removeListChangeListener, removeListChangeListener, removePropertyChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener, removeTreeChangeListener |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
NAME_PROPERTY
static final java.lang.String NAME_PROPERTY
- See Also:
- Constant Field Values
JAVA_PERSISTENT_ATTRIBUTE_PROPERTY
static final java.lang.String JAVA_PERSISTENT_ATTRIBUTE_PROPERTY
- See Also:
- Constant Field Values
getPersistentAttribute
OrmPersistentAttribute getPersistentAttribute()
- Specified by:
getPersistentAttribute
in interface AttributeMapping
getName
java.lang.String getName()
setName
void setName(java.lang.String newName)
getJavaPersistentAttribute
JavaPersistentAttribute getJavaPersistentAttribute()
getXmlSequence
int getXmlSequence()
- Attributes are a sequence in the orm schema. We must keep
the list of attributes in the appropriate order so the wtp xml
translators will write them to the xml in that order and they
will adhere to the schema.
Each concrete subclass of XmlAttributeMapping must implement this
method and return an int that matches it's order in the schema
- Returns:
removeFromResourceModel
void removeFromResourceModel(AbstractXmlTypeMapping typeMapping)
addToResourceModel
XmlAttributeMapping addToResourceModel(AbstractXmlTypeMapping typeMapping)
initializeOn
void initializeOn(OrmAttributeMapping newMapping)
initializeFromOrmAttributeMapping
void initializeFromOrmAttributeMapping(OrmAttributeMapping oldMapping)
initializeFromOrmBasicMapping
void initializeFromOrmBasicMapping(OrmBasicMapping oldMapping)
initializeFromOrmIdMapping
void initializeFromOrmIdMapping(OrmIdMapping oldMapping)
initializeFromOrmTransientMapping
void initializeFromOrmTransientMapping(OrmTransientMapping oldMapping)
initializeFromOrmEmbeddedMapping
void initializeFromOrmEmbeddedMapping(OrmEmbeddedMapping oldMapping)
initializeFromOrmEmbeddedIdMapping
void initializeFromOrmEmbeddedIdMapping(OrmEmbeddedIdMapping oldMapping)
initializeFromOrmVersionMapping
void initializeFromOrmVersionMapping(OrmVersionMapping oldMapping)
initializeFromOrmOneToManyMapping
void initializeFromOrmOneToManyMapping(OrmOneToManyMapping oldMapping)
initializeFromOrmManyToOneMapping
void initializeFromOrmManyToOneMapping(OrmManyToOneMapping oldMapping)
initializeFromOrmOneToOneMapping
void initializeFromOrmOneToOneMapping(OrmOneToOneMapping oldMapping)
initializeFromOrmManyToManyMapping
void initializeFromOrmManyToManyMapping(OrmManyToManyMapping oldMapping)
contains
boolean contains(int textOffset)
getSelectionTextRange
TextRange getSelectionTextRange()