com.sptci.prevayler
Class RelationStorage.DeleteRule
java.lang.Object
com.sptci.prevayler.RelationStorage.DeleteRule
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- RelationStorage
private class RelationStorage.DeleteRule
- extends Object
- implements Serializable
A class used to capture the names of the fields in a prevalent object
that are related to the prevalent object being managed by this
store.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
actionMap
private Map<String,ForeignKey.DeleteAction> actionMap
- The map used to maintain the field-name to delete rule mapping.
RelationStorage.DeleteRule
private RelationStorage.DeleteRule()
add
private void add(String field,
ForeignKey.DeleteAction action)
- Add a mapping for the specified field name with the associated
deleted rule.
- Parameters:
field - The name of the field for the mapping.action - The delete rule to apply for the field.
getRules
private Map<String,ForeignKey.DeleteAction> getRules()
- Return the
actionMap as an unmodifiable view.
- Returns:
- The mappings in
actionMap.