| Package | Description |
|---|---|
| com.sun.jdo.api.persistence.model.mapping | |
| com.sun.jdo.api.persistence.model.mapping.impl | |
| com.sun.jdo.api.persistence.model.util |
| Modifier and Type | Interface and Description |
|---|---|
interface |
MappingRelationshipElement
This is a specialized field element which represents a relationship
between two classes.
|
| Modifier and Type | Method and Description |
|---|---|
MappingFieldElement |
MappingClassElement.getField(String name)
Scans through this mapping class looking for a field whose
name matches the name passed in.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MappingClassElement.addField(MappingFieldElement field)
Adds a field to the list of fields in this mapping class.
|
void |
MappingClassElement.removeField(MappingFieldElement field)
Removes a field from the list of fields in this mapping class.
|
| Modifier and Type | Class and Description |
|---|---|
class |
MappingFieldElementImpl |
class |
MappingRelationshipElementImpl |
| Modifier and Type | Method and Description |
|---|---|
MappingFieldElement |
MappingClassElementImpl.getField(String name)
Scans through this mapping class looking for a field whose
name matches the name passed in.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MappingClassElementImpl.addField(MappingFieldElement field)
Adds a field to the list of fields in this mapping class.
|
void |
MappingClassElementImpl.removeField(MappingFieldElement field)
Removes a field from the list of fields in this mapping class.
|
| Modifier and Type | Method and Description |
|---|---|
protected com.sun.jdo.api.persistence.model.util.ModelValidator.ValidationComponent |
ModelValidator.createColumnExistenceComponent(String columnName,
MappingFieldElement relatedField)
Create a validation component which can check whether the given
column or column pair exists.
|
protected com.sun.jdo.api.persistence.model.util.ModelValidator.ValidationComponent |
ModelValidator.createColumnOverlapComponent(MappingFieldElement field)
Create a validation component which can check whether the field is
one of a set mapped to overlapping columns
|
protected com.sun.jdo.api.persistence.model.util.ModelValidator.ValidationComponent |
ModelValidator.createFieldConsistencyComponent(MappingFieldElement field)
Create a validation component which can check whether the field is
consistent (if in mapping model but not jdo, it is a problem).
|
protected com.sun.jdo.api.persistence.model.util.ModelValidator.ValidationComponent |
ModelValidator.createFieldDefaultFetchGroupComponent(MappingFieldElement field)
Create a validation component which can check whether the field is
part of a managed (multiple fields to same column) group and in an
illegal fetch group.
|
Copyright © 2015. All rights reserved.