| Modifier and Type | Method and Description |
|---|---|
String |
Model.getRelatedClass(RelationshipElement element)
Gets the name of the related class for a relationship element.
|
| Modifier and Type | Method and Description |
|---|---|
RelationshipElement |
RelationshipElement.getInverseRelationship(Model model)
Get the inverse relationship element for this relationship element.
|
RelationshipElement |
PersistenceClassElement.getRelationship(String name)
Returns the relationship with the supplied name from the collection of
relationships maintained by this holder.
|
RelationshipElement[] |
PersistenceClassElement.getRelationships()
Returns the subset of the collection of fields which are relationahips.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RelationshipElement.changeInverseRelationship(RelationshipElement inverseRelationship)
Changes the inverse relationship element for this relationship element.
|
void |
RelationshipElement.Impl.changeInverseRelationship(RelationshipElement inverseRelationship)
Changes the inverse relationship element for this relationship
element.
|
void |
RelationshipElement.setInverseRelationship(RelationshipElement inverseRelationship,
Model model)
Set the inverse relationship element for this relationship element.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RelationshipElementImpl.changeInverseRelationship(RelationshipElement inverseRelationship)
Changes the inverse relationship element for this relationship element.
|
| Modifier and Type | Method and Description |
|---|---|
protected com.sun.jdo.api.persistence.model.util.ModelValidator.ValidationComponent |
ModelValidator.createCollectionClassComponent(RelationshipElement field)
Create a validation component which can check whether the collection
class is valid given the relationship field type.
|
protected com.sun.jdo.api.persistence.model.util.ModelValidator.ValidationComponent |
ModelValidator.createElementClassComponent(RelationshipElement field)
Create a validation component which can check whether the
relationship is mapped to columns even though the element class is null.
|
protected com.sun.jdo.api.persistence.model.util.ModelValidator.ValidationComponent |
ModelValidator.createInverseFieldComponent(RelationshipElement field)
Create a validation component which can check whether the inverse of
the inverse of the relationship is the relationship itself.
|
protected com.sun.jdo.api.persistence.model.util.ModelValidator.ValidationComponent |
ModelValidator.createInverseMappingComponent(RelationshipElement field)
Create a validation component which can check whether the mapping of
the relationship and the mapping of its inverse are inverses of each
other.
|
protected com.sun.jdo.api.persistence.model.util.ModelValidator.ValidationComponent |
ModelValidator.createRelatedClassMatchesComponent(RelationshipElement field)
Create a validation component which can check whether the inverse of
the relationship belongs to the related class (type or element class
depending on cardinality).
|
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.