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
Subclasses with type arguments of type RelationType in org.datanucleus.metadataModifier and TypeClassDescriptionenumUtility class providing enums for the different relation types.Fields in org.datanucleus.metadata declared as RelationTypeModifier and TypeFieldDescriptionprotected RelationTypeAbstractMemberMetaData.relationTypeThe 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 RelationTypeReturns 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 booleanRelationType.isBidirectional(RelationType type) static booleanMetaDataUtils.isMemberEmbedded(AbstractMemberMetaData mmd, RelationType relationType, ClassLoaderResolver clr, MetaDataManager mmgr) Convenience method to return whether a member is stored as embedded.booleanMetaDataUtils.isMemberEmbedded(MetaDataManager mmgr, ClassLoaderResolver clr, AbstractMemberMetaData mmd, RelationType relationType, AbstractMemberMetaData ownerMmd) Convenience method to return if the specified member is embedded.static booleanRelationType.isRelationMultiValued(RelationType type) static booleanRelationType.isRelationSingleValued(RelationType type) -
Uses of RelationType in org.datanucleus.store.fieldmanager
Methods in org.datanucleus.store.fieldmanager with parameters of type RelationTypeModifier and TypeMethodDescriptionprivate voidDeleteFieldManager.processContainer(AbstractMemberMetaData mmd, Object container, ExecutionContext ec, RelationType relationType) private voidDeleteFieldManager.processElementContainer(AbstractMemberMetaData mmd, Object container, ContainerHandler<Object, ElementContainerAdapter<Object>> containerHandler, ExecutionContext ec, RelationType relationType) private voidDeleteFieldManager.processSingleValue(AbstractMemberMetaData mmd, Object value, ExecutionContext ec, RelationType relationType)