public class DynamicTableEntity extends TableServiceEntity
TableEntity type which allows callers direct access to the property map of the entity. This class extends
 TableServiceEntity to eliminate the use of reflection for serialization and deserialization.| Constructor and Description | 
|---|
DynamicTableEntity()
Nullary default constructor. 
 | 
DynamicTableEntity(HashMap<String,EntityProperty> properties)
Constructs a  
DynamicTableEntity instance using the specified property map. | 
DynamicTableEntity(String partitionKey,
                  String rowKey)
Initializes a new instance of the  
DynamicTableEntity class with the specified partition key and row key. | 
DynamicTableEntity(String partitionKey,
                  String rowKey,
                  HashMap<String,EntityProperty> properties)
Initializes a new instance of the  
DynamicTableEntity class with the specified partition key and row key. | 
DynamicTableEntity(String partitionKey,
                  String rowKey,
                  String etag,
                  HashMap<String,EntityProperty> properties)
Initializes a new instance of the  
DynamicTableEntity class with the specified partition key and row key. | 
| Modifier and Type | Method and Description | 
|---|---|
HashMap<String,EntityProperty> | 
getProperties()
Gets the property map for this  
DynamicTableEntity instance. | 
void | 
readEntity(HashMap<String,EntityProperty> properties,
          OperationContext opContext)
Populates this  
DynamicTableEntity instance using the specified map of property names to
 EntityProperty data typed values. | 
void | 
setProperties(HashMap<String,EntityProperty> properties)
Sets the property map for this  
DynamicTableEntity instance. | 
HashMap<String,EntityProperty> | 
writeEntity(OperationContext opContext)
Returns the map of property names to  
EntityProperty data values from this DynamicTableEntity
 instance. | 
getEtag, getPartitionKey, getRowKey, getTimestamp, isReflectedEntityCacheDisabled, readEntityWithReflection, setEtag, setPartitionKey, setReflectedEntityCacheDisabled, setRowKey, setTimestamp, writeEntityWithReflectionpublic DynamicTableEntity()
public DynamicTableEntity(String partitionKey, String rowKey)
DynamicTableEntity class with the specified partition key and row key.partitionKey - A String which represents the partition key of the DynamicTableEntity to be initialized.rowKey - A String which represents the row key of the DynamicTableEntity to be initialized.public DynamicTableEntity(HashMap<String,EntityProperty> properties)
DynamicTableEntity instance using the specified property map.properties - A java.util.HashMap containing a map of String property names to
            EntityProperty data typed values to store in the new DynamicTableEntity.public DynamicTableEntity(String partitionKey, String rowKey, HashMap<String,EntityProperty> properties)
DynamicTableEntity class with the specified partition key and row key.partitionKey - A String which represents the partition key of the DynamicTableEntity to be initialized.rowKey - A String which represents the row key of the DynamicTableEntity to be initialized.properties - A java.util.HashMap containing a map of String property names to
            EntityProperty data typed values to store in the new DynamicTableEntity.public DynamicTableEntity(String partitionKey, String rowKey, String etag, HashMap<String,EntityProperty> properties)
DynamicTableEntity class with the specified partition key and row key.partitionKey - A String which represents the partition key of the DynamicTableEntity to be initialized.rowKey - A String which represents the row key of the DynamicTableEntity to be initialized.etag - The ETag of the DynamicTableEntity to be initialized. This value is used to determine if the table 
            entity has changed since it was last read from Microsoft Azure storage. The client cannot update this value 
            on the service.properties - A java.util.HashMap containing a map of String property names to
            EntityProperty data typed values to store in the new DynamicTableEntity.public HashMap<String,EntityProperty> getProperties()
DynamicTableEntity instance.java.util.HashMap containing the map of String property names to
         EntityProperty data typed values for this DynamicTableEntity instance.public void readEntity(HashMap<String,EntityProperty> properties, OperationContext opContext)
DynamicTableEntity instance using the specified map of property names to
 EntityProperty data typed values.readEntity in interface TableEntityreadEntity in class TableServiceEntityproperties - The java.util.HashMap of String property names to EntityProperty
            data typed values to store in this DynamicTableEntity instance.opContext - An OperationContext object used to track the execution of the operation.public void setProperties(HashMap<String,EntityProperty> properties)
DynamicTableEntity instance.properties - A java.util.HashMap containing the map of String property names to
            EntityProperty data typed values to set in this DynamicTableEntity instance.public HashMap<String,EntityProperty> writeEntity(OperationContext opContext) throws StorageException
EntityProperty data values from this DynamicTableEntity
 instance.writeEntity in interface TableEntitywriteEntity in class TableServiceEntityopContext - An OperationContext object used to track the execution of the operation.java.util.HashMap containing the map of String property names to
         EntityProperty data typed values stored in this DynamicTableEntity instance.StorageException - if a Storage service error occurs./** 
* Copyright Microsoft Corporation 
* 
* Licensed under the Apache License, Version 2.0 (the "License"); 
* you may not use this file except in compliance with the License. 
* You may obtain a copy of the License at 
* http://www.apache.org/licenses/LICENSE-2.0 
* 
* Unless required by applicable law or agreed to in writing, software 
* distributed under the License is distributed on an "AS IS" BASIS, 
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
* See the License for the specific language governing permissions and 
* limitations under the License. 
*/