Sorry about the missing custom type tutorial....been bad about that,
will write it soon. But the basics are pretty much what you've
discovered yourself, so your code below looks good. But you also need
to delete the object layout from the store in the 'release' method, in
addition to deleting the two bean properties:
public void release(HGPersistentHandle handle)
{
//....your code is good...., but at the end:
graph.getStore().removeLink(handle);
}
The way to avoid the casting from the HAtomType.make method would be
to generify that interface, and given Java's a bit sloppy generics,
that can quickly become a pain in other ways. But I'll play a bit with
it and see if it makes sense.
Cheers,
Boris
> --
> You received this message because you are subscribed to the Google Groups "HyperGraphDB" group.
> To post to this group, send email to hyperg...@googlegroups.com.
> To unsubscribe from this group, send email to hypergraphdb...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/hypergraphdb?hl=en.
>
>
--
http://www.kobrix.com - HGDB graph database, Java Scripting IDE, NLP
http://kobrix.blogspot.com - news and rants
"Frozen brains tell no tales."
-- Buckethead