use of com.sun.jdo.api.persistence.model.mapping.MappingTableElement in project Payara by payara.
the class MappingReferenceKeyElementImpl method setTable.
/**
* Set the mapping table for this referencing key to the supplied table.
* @param table mapping table element to be used with this key.
* @exception ModelException if impossible
*/
public void setTable(MappingTableElement table) throws ModelException {
MappingTableElement old = getTable();
try {
fireVetoableChange(PROP_TABLE, old, table);
setTableInternal(table);
firePropertyChange(PROP_TABLE, old, table);
} catch (PropertyVetoException e) {
throw new ModelVetoException(e);
}
}
Aggregations