public interface SchemaUpdatePolicy extends UpdatePolicy
Modifier and Type | Method and Description |
---|---|
<T> void |
willDelete(Property<T> property)
Throw an exception if the property cannot be rejected.
|
void |
willDelete(UpdatableSchema schema)
Throw an exception if the schema cannot be deleted.
|
<T> void |
willDelete(ValueType<T> valueType)
Throw an exception if the the value type cannot be deleted.
|
<T> void |
willDelete(ValueType<T> valueType,
T value)
Throw an exception if the value type value cannot be deleted.
|
void |
willUpdate(UpdatableSchema schema)
Throw an exception if the update is rejected.
|
void willUpdate(UpdatableSchema schema) throws T2DBException
schema
- a schemaT2DBException
void willDelete(UpdatableSchema schema) throws T2DBException
schema
- a schemaT2DBException
<T> void willDelete(Property<T> property) throws T2DBException
property
- a propertyT2DBException
<T> void willDelete(ValueType<T> valueType) throws T2DBException
valueType
- a value typeT2DBException
<T> void willDelete(ValueType<T> valueType, T value) throws T2DBException
valueType
- a value typevalue
- a valueT2DBException
Copyright © 2017. All rights reserved.