|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StorableInfo<S extends Storable>
Contains all the metadata describing a specific Storable type.
StorableIntrospector| Method Summary | |
|---|---|
String |
getAlias(int index)
Returns a specific alias for the Storable. |
int |
getAliasCount()
Returns the count of aliases for the Storable. |
String[] |
getAliases()
Returns a new array with all the alias names in it. |
Map<String,? extends StorableProperty<S>> |
getAllProperties()
Returns all the storable properties in an unmodifiable map. |
StorableKey<S> |
getAlternateKey(int index)
Returns a specific alternate key for the Storable. |
int |
getAlternateKeyCount()
Returns the count of alternate keys for the Storable. |
StorableKey<S>[] |
getAlternateKeys()
Returns a new array with all the alternate keys in it. |
Map<String,? extends StorableProperty<S>> |
getDataProperties()
Returns a subset of the storable properties in an unmodifiable map that define the basic data properties. |
StorableIndex<S> |
getIndex(int index)
Returns a specific index for the Storable. |
int |
getIndexCount()
Returns the count of indexes defined for the Storable. |
StorableIndex<S>[] |
getIndexes()
Returns a new array with all the indexes in it. |
String |
getName()
Returns the name of the Storable described by this StorableInfo, which is an abbreviated form of the type's class name. |
StorableKey<S> |
getPrimaryKey()
Returns the primary key for the Storable, never null. |
Map<String,? extends StorableProperty<S>> |
getPrimaryKeyProperties()
Returns a subset of the storable properties in an unmodifiable map that define the primary key. |
Class<S> |
getStorableType()
Returns the type of Storable described by this StorableInfo. |
StorableProperty<S> |
getVersionProperty()
Returns the designated version property, or null if none. |
boolean |
isAuthoritative()
|
boolean |
isIndependent()
|
| Method Detail |
|---|
String getName()
Class<S> getStorableType()
Map<String,? extends StorableProperty<S>> getAllProperties()
Map<String,? extends StorableProperty<S>> getPrimaryKeyProperties()
Map<String,? extends StorableProperty<S>> getDataProperties()
StorableProperty<S> getVersionProperty()
StorableKey<S> getPrimaryKey()
int getAlternateKeyCount()
StorableKey<S> getAlternateKey(int index)
StorableKey<S>[] getAlternateKeys()
int getAliasCount()
String getAlias(int index)
throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionString[] getAliases()
int getIndexCount()
StorableIndex<S> getIndex(int index)
throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionStorableIndex<S>[] getIndexes()
boolean isIndependent()
Independentboolean isAuthoritative()
Authoritative
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||