code: public final void setObjectTypeNode(final ObjectTypeNode objectTypeNode) {
          this.objectTypeNode = objectTypeNode;
  
          NodeReferenceSetter setter= new NodeReferenceSetter();
          ObjectTypeNodeParser parser = new ObjectTypeNodeParser(objectTypeNode);
          parser.accept(setter);
      }
docs: Sets the OTN for this network. Calling this method will set all variables in the generated subclasses
  by walking the {@link org.kie.reteoo.ObjectTypeNode} using a {@link ObjectTypeNodeParser}.
  @param objectTypeNode node for whom this network was created