org.eclipse.jpt.core.context.orm
Interface OrmPersistentAttribute
- All Superinterfaces:
- org.eclipse.core.runtime.IAdaptable, JpaContextNode, JpaNode, JpaStructureNode, Model, OrmJpaContextNode, PersistentAttribute
public interface OrmPersistentAttribute
- extends PersistentAttribute, 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 |
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 |
getMapping
OrmAttributeMapping getMapping()
- Overriden to return
OrmAttributeMapping
s
- Specified by:
getMapping
in interface PersistentAttribute
getSpecifiedMapping
OrmAttributeMapping getSpecifiedMapping()
- Overriden to return
OrmAttributeMapping
s
- Specified by:
getSpecifiedMapping
in interface PersistentAttribute
getTypeMapping
OrmTypeMapping getTypeMapping()
- Overriden to return
OrmTypeMapping
s
- Specified by:
getTypeMapping
in interface PersistentAttribute
getPersistentType
OrmPersistentType getPersistentType()
- Overriden to return
OrmPersistentType
s
- Specified by:
getPersistentType
in interface PersistentAttribute
contains
boolean contains(int textOffset)
makeVirtual
void makeVirtual()
- Make the persistent attribute virtual. The attribute will be removed
from the list of specified persistent attributes on the
OrmPersistentType
and removed from the orm.xml file.
If the persistent attribute is already virtual, an IllegalStateException is thrown
- See Also:
PersistentAttribute.isVirtual()
makeSpecified
void makeSpecified()
- Take a virtual persistent attribute and specify it.
The attribute will be added to the list of specified persistent attributes
and added to the orm.xml file. The mappingKey will remain the same.
If the persistent attribute is already specified, an IllegalStateException is thrown
- See Also:
PersistentAttribute.isVirtual()
makeSpecified
void makeSpecified(java.lang.String mappingKey)
- Take a virtual persistent attribute and specify it.
The attribute will be added to the list of specified persistent attributes
and added to the orm.xml file. The mappingKey will determine the type of mapping added
instead of the mappingKey already on the persistent attribute
If the persistent attribute is already specified, an IllegalStateException is thrown
- See Also:
PersistentAttribute.isVirtual()
nameChanged
void nameChanged(java.lang.String oldName,
java.lang.String newName)
initialize
void initialize(XmlBasic basic)
initialize
void initialize(XmlEmbedded embedded)
initialize
void initialize(XmlVersion version)
initialize
void initialize(XmlManyToOne manyToOne)
initialize
void initialize(XmlOneToMany oneToMany)
initialize
void initialize(XmlOneToOne oneToOne)
initialize
void initialize(XmlManyToMany manyToMany)
initialize
void initialize(XmlId id)
initialize
void initialize(XmlEmbeddedId embeddedId)
initialize
void initialize(XmlTransient transientResource)
initialize
void initialize(XmlNullAttributeMapping xmlNullAttributeMapping)
update
void update(XmlId id)
update
void update(XmlEmbeddedId embeddedId)
update
void update(XmlBasic basic)
update
void update(XmlVersion version)
update
void update(XmlManyToOne manyToOne)
update
void update(XmlOneToMany oneToMany)
update
void update(XmlOneToOne oneToOne)
update
void update(XmlManyToMany manyToMany)
update
void update(XmlEmbedded embedded)
update
void update(XmlTransient transientResource)
update
void update(XmlNullAttributeMapping xmlNullAttributeMapping)