Uses of Class
org.datanucleus.metadata.RelationType
-
Packages that use RelationType Package Description org.datanucleus.metadata Provides classes representing the MetaData for files, packages, classes, fields, containers, etc. -
-
Uses of RelationType in org.datanucleus.metadata
Fields in org.datanucleus.metadata declared as RelationType Modifier and Type Field Description protected RelationType
AbstractMemberMetaData. relationType
The relation type of this field (1-1, 1-N, M-N, N-1).Methods in org.datanucleus.metadata that return RelationType Modifier and Type Method Description RelationType
AbstractMemberMetaData. getRelationType(ClassLoaderResolver clr)
Accessor for the relation type for this field.static RelationType
RelationType. valueOf(String name)
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 RelationType Modifier and Type Method Description static 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)
-