*/
public JDOProperty createJDOProperty(String name,
JDOField associatedJDOField)
throws ModelException
{
JDOProperty property = (JDOProperty) associatedProperties.get(name);
if (property == null) {
property = newJDOPropertyInstance(name, associatedJDOField);
associatedProperties.put(name, property);
}
else {
if (property.getAssociatedJDOField() != associatedJDOField) {
throw new ModelException(
msg.msg("EXC_ExistingJDOAssociatedProperty", //NOI18N
name, associatedJDOField));
}
}