Uses of Enum
org.datanucleus.metadata.RelationType
Packages that use RelationType
Package
Description
Provides classes representing the MetaData for files, packages, classes, fields, containers, etc.
Package providing managers for fields which give a mechanism for navigating through fields of a class and
performing operations based on the type of the field.
-
Uses of RelationType in org.datanucleus.metadata
Fields in org.datanucleus.metadata declared as RelationTypeModifier and TypeFieldDescriptionprotected RelationType
AbstractMemberMetaData.relationType
The relation type of this field (1-1, 1-N, M-N, N-1).Methods in org.datanucleus.metadata that return RelationTypeModifier and TypeMethodDescriptionAbstractMemberMetaData.getRelationType
(ClassLoaderResolver clr) Accessor for the relation type for this field.static RelationType
Returns the enum constant of this type with the specified name.static RelationType[]
RelationType.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.datanucleus.metadata with parameters of type RelationTypeModifier and TypeMethodDescriptionstatic boolean
RelationType.isBidirectional
(RelationType type) static boolean
MetaDataUtils.isMemberEmbedded
(AbstractMemberMetaData mmd, RelationType relationType, ClassLoaderResolver clr, MetaDataManager mmgr) Convenience method to return whether a member is stored as embedded.boolean
MetaDataUtils.isMemberEmbedded
(MetaDataManager mmgr, ClassLoaderResolver clr, AbstractMemberMetaData mmd, RelationType relationType, AbstractMemberMetaData ownerMmd) Convenience method to return if the specified member is embedded.static boolean
RelationType.isRelationMultiValued
(RelationType type) static boolean
RelationType.isRelationSingleValued
(RelationType type) -
Uses of RelationType in org.datanucleus.store.fieldmanager
Methods in org.datanucleus.store.fieldmanager with parameters of type RelationTypeModifier and TypeMethodDescriptionprivate void
DeleteFieldManager.processContainer
(AbstractMemberMetaData mmd, Object container, ExecutionContext ec, RelationType relationType) private void
DeleteFieldManager.processElementContainer
(AbstractMemberMetaData mmd, Object container, ContainerHandler<Object, ElementContainerAdapter<Object>> containerHandler, ExecutionContext ec, RelationType relationType) private void
DeleteFieldManager.processSingleValue
(AbstractMemberMetaData mmd, Object value, ExecutionContext ec, RelationType relationType)