Uses of Class
com.sun.jdo.api.persistence.model.jdo.RelationshipElement
Packages that use RelationshipElement
Package
Description
-
Uses of RelationshipElement in com.sun.jdo.api.persistence.model
Methods in com.sun.jdo.api.persistence.model with parameters of type RelationshipElementModifier and TypeMethodDescriptionModel.getRelatedClass(RelationshipElement element) Gets the name of the related class for a relationship element. -
Uses of RelationshipElement in com.sun.jdo.api.persistence.model.jdo
Methods in com.sun.jdo.api.persistence.model.jdo that return RelationshipElementModifier and TypeMethodDescriptionRelationshipElement.getInverseRelationship(Model model) Get the inverse relationship element for this relationship element.PersistenceClassElement.getRelationship(String name) Returns the relationship with the supplied name from the collection of relationships maintained by this holder.PersistenceClassElement.getRelationships()Returns the subset of the collection of fields which are relationahips.Methods in com.sun.jdo.api.persistence.model.jdo with parameters of type RelationshipElementModifier and TypeMethodDescriptionvoidRelationshipElement.changeInverseRelationship(RelationshipElement inverseRelationship) Changes the inverse relationship element for this relationship element.voidRelationshipElement.Impl.changeInverseRelationship(RelationshipElement inverseRelationship) Changes the inverse relationship element for this relationship element.voidRelationshipElement.setInverseRelationship(RelationshipElement inverseRelationship, Model model) Set the inverse relationship element for this relationship element. -
Uses of RelationshipElement in com.sun.jdo.api.persistence.model.jdo.impl
Methods in com.sun.jdo.api.persistence.model.jdo.impl with parameters of type RelationshipElementModifier and TypeMethodDescriptionvoidRelationshipElementImpl.changeInverseRelationship(RelationshipElement inverseRelationship) Changes the inverse relationship element for this relationship element. -
Uses of RelationshipElement in com.sun.jdo.api.persistence.model.util
Methods in com.sun.jdo.api.persistence.model.util with parameters of type RelationshipElementModifier and TypeMethodDescriptionprotected com.sun.jdo.api.persistence.model.util.ModelValidator.ValidationComponentModelValidator.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.ValidationComponentModelValidator.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.ValidationComponentModelValidator.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.ValidationComponentModelValidator.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.ValidationComponentModelValidator.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).