|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@AlternateKeys(value=@Key(value={"storableTypeName","generation"}))
@PrimaryKey(value="layoutID")
@Independent
@Alias(value="CARBONADO_LAYOUT")
public interface StoredLayout
Stored information regarding the layout of a Storable type, which is used
internally by Layout. This interface is public only because
Carbonado requires storable type definitions to be public.
| Method Summary | |
|---|---|
String |
getCreationHost()
Returns the host machine that created this generation. |
long |
getCreationTimestamp()
Returns the milliseconds from 1970-01-01T00:00:00Z when this record was created. |
String |
getCreationUser()
Returns the user that created this generation. |
byte[] |
getExtraData()
Since this record cannot evolve, this property allows it to be extended without conflicting with existing records. |
int |
getGeneration()
Generation of storable, where 0 represents the first generation. |
long |
getLayoutID()
|
String |
getStorableTypeName()
Storable type name is a fully qualified Java class name. |
int |
getVersionNumber()
Record version number for this StoredTypeLayout instance. |
void |
setCreationHost(String host)
|
void |
setCreationTimestamp(long timestamp)
|
void |
setCreationUser(String user)
|
void |
setExtraData(byte[] data)
|
void |
setGeneration(int generation)
|
void |
setLayoutID(long typeID)
|
void |
setStorableTypeName(String typeName)
|
void |
setVersionNumber(int version)
|
| Methods inherited from interface com.amazon.carbonado.Storable |
|---|
copy, copyAllProperties, copyDirtyProperties, copyPrimaryKeyProperties, copyUnequalProperties, copyVersionProperty, delete, equalPrimaryKeys, equalProperties, equals, getPropertyValue, hasDirtyProperties, hashCode, insert, isPropertyClean, isPropertyDirty, isPropertySupported, isPropertyUninitialized, load, markAllPropertiesClean, markAllPropertiesDirty, markPropertiesClean, markPropertiesDirty, prepare, propertyMap, readFrom, setPropertyValue, storableType, toString, toStringKeyOnly, tryDelete, tryInsert, tryLoad, tryUpdate, update, writeTo |
| Method Detail |
|---|
long getLayoutID()
void setLayoutID(long typeID)
String getStorableTypeName()
void setStorableTypeName(String typeName)
int getGeneration()
void setGeneration(int generation)
long getCreationTimestamp()
void setCreationTimestamp(long timestamp)
@Nullable String getCreationUser()
void setCreationUser(String user)
@Nullable String getCreationHost()
void setCreationHost(String host)
@Version int getVersionNumber()
void setVersionNumber(int version)
@Nullable byte[] getExtraData()
void setExtraData(byte[] data)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||