|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.soyatec.windowsazure.table.AbstractTableServiceEntity
public abstract class AbstractTableServiceEntity
This abstract class defines the common concepts of a table in Windows Azure. It represents an entity (row) in a table in table storage.
Two entries are considered to same when they have same PartitionKey and same RowKey in azure table service. This feature is used when update/merge/load entity from table service.
| Constructor Summary | |
|---|---|
AbstractTableServiceEntity(java.lang.String partitionKey,
java.lang.String rowKey)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getETag()
Etag property |
java.lang.String |
getPartitionKey()
The partition key of a table entity. |
java.lang.String |
getRowKey()
The row key of a table entity. |
java.sql.Timestamp |
getTimestamp()
|
java.util.List<ICloudTableColumn> |
getValues()
|
int |
hashCode()
|
boolean |
isSameEntity(ITableServiceEntity entity)
Different with equals(). |
void |
setETag(java.lang.String tag)
|
void |
setPartitionKey(java.lang.String partitionKey)
Set the partition key of a table entity. |
void |
setRowKey(java.lang.String rowKey)
Set the row key of a table entity. |
void |
setTimestamp(java.sql.Timestamp timestamp)
Set the Timestamp of entity. |
void |
setValues(java.util.List<ICloudTableColumn> values)
Set the cloudTableColumn list of ITableServiceEntity. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractTableServiceEntity(java.lang.String partitionKey,
java.lang.String rowKey)
| Method Detail |
|---|
public java.util.List<ICloudTableColumn> getValues()
getValues in interface ITableServiceEntitypublic void setValues(java.util.List<ICloudTableColumn> values)
ITableServiceEntity
setValues in interface ITableServiceEntitypublic java.sql.Timestamp getTimestamp()
getTimestamp in interface ITableServiceEntitypublic void setTimestamp(java.sql.Timestamp timestamp)
ITableServiceEntity
setTimestamp in interface ITableServiceEntitypublic java.lang.String getPartitionKey()
ITableServiceEntity
getPartitionKey in interface ITableServiceEntitypublic void setPartitionKey(java.lang.String partitionKey)
ITableServiceEntity
setPartitionKey in interface ITableServiceEntitypublic java.lang.String getRowKey()
ITableServiceEntity
getRowKey in interface ITableServiceEntitypublic void setRowKey(java.lang.String rowKey)
ITableServiceEntity
setRowKey in interface ITableServiceEntitypublic java.lang.String getETag()
ITableServiceEntity
getETag in interface ITableServiceEntitypublic void setETag(java.lang.String tag)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic boolean isSameEntity(ITableServiceEntity entity)
ITableServiceEntity
isSameEntity in interface ITableServiceEntity
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||