@ParametersAreNonnullByDefault public final class InvalidBackend extends InvalidDataMapper implements Backend
Backend
that throws an UnsupportedOperationException
at each call.e
Constructor and Description |
---|
InvalidBackend(String reason)
Constructs a new
InvalidBackend with the reason that explain why it is invalid. |
Modifier and Type | Method and Description |
---|---|
void |
copyTo(DataMapper target) |
boolean |
isDistributed()
Returns
true if the back-end is distributed. |
boolean |
isPersistent()
Returns
true if the back-end is stored in a local database. |
addAllReferences, addAllValues, addReference, addValue, allInstancesOf, allInstancesOf, allReferencesOf, allValuesOf, appendAllReferences, appendAllValues, appendReference, appendValue, close, containerFor, containerOf, metaClassFor, metaClassOf, referenceFor, referenceFor, referenceOf, referenceOf, removeAllReferences, removeAllValues, removeContainer, removeReference, removeReference, removeValue, removeValue, save, sizeOfReference, sizeOfValue, valueFor, valueFor, valueOf, valueOf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
containerFor, containerOf, removeContainer
allInstancesOf, allInstancesOf, metaClassFor, metaClassOf
addAllValues, addValue, allValuesOf, appendAllValues, appendValue, removeAllValues, removeValue, sizeOfValue, valueFor, valueOf
removeValue, valueFor, valueOf
addAllReferences, addReference, allReferencesOf, appendAllReferences, appendReference, referenceFor, referenceOf, removeAllReferences, removeReference, sizeOfReference
referenceFor, referenceOf, removeReference
public InvalidBackend(String reason)
InvalidBackend
with the reason that explain why it is invalid.reason
- the reason that explain why this backend is invalidpublic boolean isPersistent()
Backend
true
if the back-end is stored in a local database.isPersistent
in interface Backend
true
if the back-end is stored in a local database.public boolean isDistributed()
Backend
true
if the back-end is distributed.isDistributed
in interface Backend
true
if the back-end is distributed.public void copyTo(DataMapper target)
copyTo
in interface Copiable<DataMapper>
copyTo
in class InvalidDataMapper
Copyright © 2013–2019 Atlanmod. All rights reserved.