|
||||||||||
| 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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.jpt.core.context.PersistentType |
|---|
PersistentType.Owner |
| Field Summary | |
|---|---|
static java.lang.String |
JAVA_PERSISTENT_TYPE_PROPERTY
|
static java.lang.String |
VIRTUAL_ATTRIBUTES_LIST
|
| Fields inherited from interface org.eclipse.jpt.core.context.PersistentType |
|---|
ATTRIBUTES_LIST, MAPPING_PROPERTY, NAME_PROPERTY, PARENT_PERSISTENT_TYPE_PROPERTY |
| Fields inherited from interface org.eclipse.jpt.core.context.AccessHolder |
|---|
DEFAULT_ACCESS_PROPERTY, SPECIFIED_ACCESS_PROPERTY |
| Method Summary | |
|---|---|
OrmPersistentAttribute |
addSpecifiedPersistentAttribute(java.lang.String mappingKey,
java.lang.String attributeName)
|
java.util.ListIterator<OrmPersistentAttribute> |
attributes()
"covariant" override |
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)
covariant override |
java.lang.String |
getDefaultPackage()
Return the persistent type's default package. |
JavaPersistentType |
getJavaPersistentType()
Return the Java persistent type that is referred to by this orm.xml persistent type. |
OrmTypeMapping |
getMapping()
covariant override |
EntityMappings |
getParent()
covariant override |
boolean |
isDefaultMetadataComplete()
Return whether the persistent type is default metadata complete. |
boolean |
isFor(java.lang.String typeName)
Return whether the persistent type applies to the specified type. |
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 OrmPersistentAttributes. |
int |
specifiedAttributesSize()
Return the number of specified OrmPersistentAttributes. |
void |
update()
Update the OrmPersistentType context model object to match the resource model object. |
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 |
|---|
allAttributeNames, allAttributes, ancestors, attributeNames, attributesSize, getMappingKey, getName, getOwnerDefaultAccess, getOwnerOverrideAccess, getParentPersistentType, getShortName, inheritanceHierarchy, isMapped, resolveAttribute, setMappingKey, validate |
| Methods inherited from interface org.eclipse.jpt.core.JpaStructureNode |
|---|
dispose, getContentType, getId, getSelectionTextRange, getStructureNode |
| Methods inherited from interface org.eclipse.jpt.core.context.AccessHolder |
|---|
getAccess, getDefaultAccess, getSpecifiedAccess, setSpecifiedAccess |
| Methods inherited from interface org.eclipse.jpt.core.context.PersistentType.Owner |
|---|
getDefaultPersistentTypeAccess, getOverridePersistentTypeAccess |
| Methods inherited from interface org.eclipse.jpt.core.context.XmlContextNode |
|---|
getValidationTextRange, validate |
| Field Detail |
|---|
static final java.lang.String VIRTUAL_ATTRIBUTES_LIST
static final java.lang.String JAVA_PERSISTENT_TYPE_PROPERTY
| Method Detail |
|---|
EntityMappings getParent()
getParent in interface JpaNodejava.util.ListIterator<OrmPersistentAttribute> attributes()
attributes in interface PersistentTypeOrmPersistentAttribute getAttributeNamed(java.lang.String attributeName)
getAttributeNamed in interface PersistentTypeOrmTypeMapping getMapping()
getMapping in interface PersistentTypejava.util.ListIterator<OrmPersistentAttribute> specifiedAttributes()
OrmPersistentAttributes.
int specifiedAttributesSize()
OrmPersistentAttributes.
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 update()
JpaProject.update()
boolean contains(int textOffset)
boolean isFor(java.lang.String typeName)
void classChanged(java.lang.String oldClass,
java.lang.String newClass)
JavaPersistentType getJavaPersistentType()
java.lang.String getDefaultPackage()
boolean isDefaultMetadataComplete()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||