|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OrmPersistentType
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 |
VIRTUAL_ATTRIBUTES_LIST
|
Fields inherited from interface org.eclipse.jpt.core.context.PersistentType |
---|
ACCESS_PROPERTY, MAPPING_PROPERTY, NAME_PROPERTY, PARENT_PERSISTENT_TYPE_PROPERTY, SPECIFIED_ATTRIBUTES_LIST |
Method Summary | |
---|---|
OrmPersistentAttribute |
addSpecifiedPersistentAttribute(java.lang.String mappingKey,
java.lang.String attributeName)
|
java.util.ListIterator<OrmPersistentAttribute> |
attributes()
Overriden to return OrmPersistentAttribute s |
void |
changeMapping(OrmPersistentAttribute ormPersistentAttribute,
OrmAttributeMapping oldMapping,
OrmAttributeMapping newMapping)
|
void |
classChanged(java.lang.String oldClass,
java.lang.String newClass)
|
boolean |
contains(int textOffset)
|
boolean |
containsVirtualPersistentAttribute(OrmPersistentAttribute ormPersistentAttribute)
Return whether this persistent type contains the given virtual persistent attribute. |
OrmPersistentAttribute |
getAttributeNamed(java.lang.String attributeName)
Overriden to return an OrmPersistentAttribute |
JavaPersistentType |
getJavaPersistentType()
Return the Java persistent type that is referred to by this orm.xml persistent type. |
OrmTypeMapping |
getMapping()
Overriden to return an OrmTypeMapping |
void |
initialize(XmlEmbeddable embeddable)
|
void |
initialize(XmlEntity entity)
|
void |
initialize(XmlMappedSuperclass mappedSuperclass)
|
boolean |
isFor(java.lang.String fullyQualifiedTypeName)
Return whether this {@link OrmPersistentType) applies to the given fullyQualifiedTypeName. |
void |
makePersistentAttributeSpecified(OrmPersistentAttribute ormPersistentAttribute)
Add the given virtual orm persistent attribute to the orm.xml. |
void |
makePersistentAttributeSpecified(OrmPersistentAttribute ormPersistentAttribute,
java.lang.String mappingKey)
Add the given virtual orm persistent attribute to the orm.xml with a mapping of type mappingKey. |
void |
makePersistentAttributeVirtual(OrmPersistentAttribute ormPersistentAttribute)
Remove the given specified orm persistent attribute from the orm.xml. |
void |
removeSpecifiedPersistentAttribute(OrmPersistentAttribute ormPersistentAttribute)
|
java.util.ListIterator<OrmPersistentAttribute> |
specifiedAttributes()
Return a read only iterator of the specified OrmPersistentAttribute s. |
int |
specifiedAttributesSize()
Return the number of specified OrmPersistentAttribute s. |
void |
update(XmlEmbeddable embeddable)
|
void |
update(XmlEntity entity)
|
void |
update(XmlMappedSuperclass mappedSuperclass)
|
java.util.ListIterator<OrmPersistentAttribute> |
virtualAttributes()
Return a read only iterator of the virtual orm persistent attributes. |
int |
virtualAttributesSize()
Return the number of virtual orm persistent attributes. |
Methods inherited from interface org.eclipse.jpt.core.context.PersistentType |
---|
addToMessages, allAttributeNames, allAttributes, attributeNames, attributesSize, getAccess, getMappingKey, getName, getParentPersistentType, inheritanceHierarchy, isMapped, resolveAttribute, setMappingKey |
Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode |
---|
getEntityMappings, getOrmPersistentType, getPersistenceUnit |
Methods inherited from interface org.eclipse.jpt.core.JpaNode |
---|
getJpaProject, getParent, getResource |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Methods inherited from interface org.eclipse.jpt.core.JpaStructureNode |
---|
dispose, getId, getSelectionTextRange, getStructureNode |
Methods inherited from interface org.eclipse.jpt.core.JpaNode |
---|
getJpaProject, getParent, getResource |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Methods inherited from interface org.eclipse.jpt.core.context.orm.OrmJpaContextNode |
---|
addToMessages, getValidationTextRange |
Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode |
---|
getEntityMappings, getOrmPersistentType, getPersistenceUnit |
Methods inherited from interface org.eclipse.jpt.core.JpaNode |
---|
getJpaProject, getParent, getResource |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Field Detail |
---|
static final java.lang.String VIRTUAL_ATTRIBUTES_LIST
Method Detail |
---|
java.util.ListIterator<OrmPersistentAttribute> attributes()
OrmPersistentAttribute
s
attributes
in interface PersistentType
OrmPersistentAttribute getAttributeNamed(java.lang.String attributeName)
OrmPersistentAttribute
getAttributeNamed
in interface PersistentType
OrmTypeMapping getMapping()
OrmTypeMapping
getMapping
in interface PersistentType
java.util.ListIterator<OrmPersistentAttribute> specifiedAttributes()
OrmPersistentAttribute
s.
int specifiedAttributesSize()
OrmPersistentAttribute
s.
OrmPersistentAttribute addSpecifiedPersistentAttribute(java.lang.String mappingKey, java.lang.String attributeName)
void removeSpecifiedPersistentAttribute(OrmPersistentAttribute ormPersistentAttribute)
java.util.ListIterator<OrmPersistentAttribute> virtualAttributes()
int virtualAttributesSize()
boolean containsVirtualPersistentAttribute(OrmPersistentAttribute ormPersistentAttribute)
void makePersistentAttributeVirtual(OrmPersistentAttribute ormPersistentAttribute)
void makePersistentAttributeSpecified(OrmPersistentAttribute ormPersistentAttribute)
void makePersistentAttributeSpecified(OrmPersistentAttribute ormPersistentAttribute, java.lang.String mappingKey)
void changeMapping(OrmPersistentAttribute ormPersistentAttribute, OrmAttributeMapping oldMapping, OrmAttributeMapping newMapping)
void initialize(XmlEntity entity)
void initialize(XmlMappedSuperclass mappedSuperclass)
void initialize(XmlEmbeddable embeddable)
void update(XmlEntity entity)
void update(XmlMappedSuperclass mappedSuperclass)
void update(XmlEmbeddable embeddable)
boolean contains(int textOffset)
boolean isFor(java.lang.String fullyQualifiedTypeName)
void classChanged(java.lang.String oldClass, java.lang.String newClass)
JavaPersistentType getJavaPersistentType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |