throw SDOException.propertyTypeAnnotationTargetCannotBeDataTypeTrue(//
oppositeType.getName(), owningProp.getName());
}
owningProp.setType(oppositeType);
owningProp.setContainment(false);
owningProp.buildMapping(owningProp.getType().getURI());
// Bidirectional property name
String oppositePropName = nonContainmentReference.getOppositePropName();
if (oppositePropName != null) {
SDOProperty prop = (SDOProperty) oppositeType.getProperty(oppositePropName);
owningProp.setOpposite(prop);