| Modifier and Type | Field and Description |
|---|---|
| pack-priv XMLEntityMappings |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getAttributeName()
Implements abstract org. |
| public Object | |
| public String | getName()
Implements abstract org. |
| m_entityMappings | back to summary |
|---|---|
| pack-priv XMLEntityMappings m_entityMappings | |
| MetadataFile | back to summary |
|---|---|
| public MetadataFile(XMLEntityMappings entityMappings) INTERNAL: | |
| getAttributeName | back to summary |
|---|---|
| public String getAttributeName() Implements abstract org. INTERNAL: Return the attribute name of this accessible object. Right now it's just the location. This method is currently never called and is implemented only to satisfy the abstract definition. An attribute name is very important on the metadata annotated element side and describes the attribute the metadata is tied to. This avoids unnecessary casting when initializing XML objects. If in the future, some logging message (or something else would like to use this method, feel free to modify it to return whatever is necessary (and of course, change this comment to reflect the new dependency).
| |
| getElement | back to summary |
|---|---|
| public Object getElement() INTERNAL: Return the element of this accessible object. Right now it's just the top most entity mappings tag. At least it's something. Could probably get more descriptive, right now it's only used in merging and for those elements that do not tie to an annotated element (class, method or field) That is, unnamed <entity-mappings> level elements and <persistence-unit-metadata> and <persistence-unit-defaults> elements. So this will have to do for now ... plus no one looks at the logging messages anyway ... ;-) | |
| getName | back to summary |
|---|---|
| public String getName() Implements abstract org. INTERNAL: Returns the name/url of the metadata file.
| |