com.amazon.carbonado.info
Interface StorableKey<S extends Storable>

All Superinterfaces:
Appender

public interface StorableKey<S extends Storable>
extends Appender

Represents a primary or alternate key of a specific Storable type.

Author:
Brian S O'Neill
See Also:
StorableIntrospector

Method Summary
 Set<? extends OrderedProperty<S>> getProperties()
          Returns all the properties of the key in a properly ordered, unmodifiable set.
 boolean isPrimary()
          Returns true if this key is primary, false if an alternate.
 
Methods inherited from interface com.amazon.carbonado.util.Appender
appendTo
 

Method Detail

isPrimary

boolean isPrimary()
Returns true if this key is primary, false if an alternate.


getProperties

Set<? extends OrderedProperty<S>> getProperties()
Returns all the properties of the key in a properly ordered, unmodifiable set.



Copyright © 2006-2009 Amazon Technologies, Inc.. All Rights Reserved.