// field has persistence modifier none => cannot be a relationship
return null;
// check the type if available
JDORelationship rel = null;
JavaType type = getType();
if (type != null) {
if (type.isValue() || TypeSupport.isValueArrayType(type)) {
// no relationship
rel = null;
}
else if (type.isJDOSupportedCollection()) {
rel = createJDOCollectionInternal();
}
else if (type.isJDOSupportedMap()) {
rel = createJDOMapInternal();
}
else if (type.isArray()) {
rel = createJDOArrayInternal();
}
else {
rel = createJDOReferenceInternal();
}