NAME

REST::Neo4p::Node - Neo4j node object

SYNOPSIS

$n1 = $REST::Neo4p::Node->new( {name => 'Ferb'} )
$n2 = $REST::Neo4p::Node->new( {name => 'Phineas'} );
$n3 = $REST::Neo4p::Node->new( {name => 'Perry'} );
$n1->relate_to($n2, 'brother');
$n3->relate_to($n1, 'pet');
$n3->set_property({ species => 'Ornithorhynchus anatinus' });

DESCRIPTION

REST::Neo4p::Node objects represent Neo4j nodes.

METHODS

new()
$node = REST::Neo4p::Node->new();
$node_with_properties = Rest::Neo4p::Node( \%props );

Instantiates a new Node object and creates corresponding node in the database.

remove()
get_property()
set_property()
get_properties()
relate_to()
get_relationships()
get_incoming_relationships()
get_outgoing_relationships()

SEE ALSO

REST::Neo4p, REST::Neo4p::Relationship, REST::Neo4p::Index.

AUTHOR

Mark A. Jensen
CPAN ID: MAJENSEN
TCGA DCC
mark -dot- jensen -at- nih -dot- gov
http://tcga-data.nci.nih.gov

LICENSE