public interface LayoutCapability extends Capability
Modifier and Type | Method and Description |
---|---|
Layout |
layoutFor(java.lang.Class<? extends Storable> type)
Returns the layout matching the current definition of the given type.
|
Layout |
layoutFor(java.lang.Class<? extends Storable> type,
int generation)
Returns the layout for a particular generation of the given type.
|
Layout layoutFor(java.lang.Class<? extends Storable> type) throws FetchException, PersistException
PersistException
- if type represents a new generation, but
persisting this information failedFetchException
Layout layoutFor(java.lang.Class<? extends Storable> type, int generation) throws FetchException, FetchNoneException
generation
- desired generationFetchNoneException
- if generation not foundFetchException
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.