org.neo4j.kernel.impl.nioneo.store
Interface PropertyData


public interface PropertyData


Method Summary
 long getId()
           
 int getIndex()
           
 Object getValue()
           
 void setNewValue(Object newValue)
          Sets the value of this PropertyData if it hasn't been set before (light loading of the node).
 

Method Detail

getId

long getId()
Returns:
the property record id.

getIndex

int getIndex()
Returns:
the property index

getValue

Object getValue()
Returns:
the value of the property. This can be null if the value hasn't been loaded yet.

setNewValue

void setNewValue(Object newValue)
Sets the value of this PropertyData if it hasn't been set before (light loading of the node). The instance containing the new value will be returned. It can be the same or a new instance depending on what would be more suitable for the newValue. This method is only valid for String/Array property types. All other get loaded directly.

Parameters:
newValue - the new value to set.


Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.