Uses of Class
com.sun.jdo.api.persistence.model.jdo.RelationshipElement
-
-
Uses of RelationshipElement in com.sun.jdo.api.persistence.model
Methods in com.sun.jdo.api.persistence.model with parameters of type RelationshipElement Modifier and Type Method Description StringModel. 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 RelationshipElement Modifier and Type Method Description RelationshipElementRelationshipElement. getInverseRelationship(Model model)Get the inverse relationship element for this relationship element.RelationshipElementPersistenceClassElement. 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.Methods in com.sun.jdo.api.persistence.model.jdo with parameters of type RelationshipElement Modifier and Type Method Description voidRelationshipElement. 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 RelationshipElement Modifier and Type Method Description voidRelationshipElementImpl. 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 RelationshipElement Modifier and Type Method Description protected 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).
-