if options.generate is specified, whether optional fields should be generated.

newRelationship

Relationship newRelationship( String ns, String type, String id )

Create a new Relationship with a given namespace, type and identifier. A relationship is a typed pointer to an instance. I.e the relationship with namespace = 'org.acme', type = 'Vehicle' and id = 'ABC' creates a pointer that points at an instance of org.acme.Vehicle with the id ABC.