Vordel SDK

com.vordel.es
Class EntityStoreDelegate.TypedFieldEntity

java.lang.Object
  extended by com.vordel.es.EntityStoreDelegate.TypedFieldEntity
Enclosing class:
EntityStoreDelegate

public static class EntityStoreDelegate.TypedFieldEntity
extends java.lang.Object

Store an Entity which has a field(s)of the specified type and a list of the names of those fields. Note: Only supports primitive types for the moment, not reference types.


Method Summary
 Entity getEntity()
           
 java.util.List<java.lang.String> getFieldNames()
          Get the names of all fields in the given entity type of field type specified.
 java.util.List<Field> getFields()
          Get all fields in the Entity of the specified type which have been set.
 java.lang.String getFieldTypeName()
           
 void setByteFieldsValue(byte[] bytes)
          Convenience method to set each encrypted/binary field to some arbitrary byte sequence.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getEntity

public Entity getEntity()

getFieldNames

public java.util.List<java.lang.String> getFieldNames()
Get the names of all fields in the given entity type of field type specified.

Returns:
A List of field names

getFields

public java.util.List<Field> getFields()
Get all fields in the Entity of the specified type which have been set. Will not include unset fields of the specified type.

Returns:
A List of Fields.

getFieldTypeName

public java.lang.String getFieldTypeName()

setByteFieldsValue

public void setByteFieldsValue(byte[] bytes)
                        throws EntityStoreException
Convenience method to set each encrypted/binary field to some arbitrary byte sequence.

Parameters:
bytes - An array of bytes, or null if you want to blank the field (equivalent to setting it to a byte array of length 0)
Throws:
EntityStoreException

Vordel SDK


This documentation and all its contents and graphics, copyright © 1999 - 2011 Vordel