@Documented
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface AlternateKeys
Storable.
Example:
@AlternateKeys({
@Key("fullPath")
@Key({"+name", "-parentID"})
})
@PrimaryKey("ID")
public interface FileInfo extends Storable<FileInfo> {
long getID();
void setID(long id);
String getFullPath();
void setFullPath(String path);
String getName();
void setName(String name);
long getParentID();
void setParentID(long id);
...
}
Keypublic abstract Key[] value
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.