def setGraphVal(self, graph_name, field_name, val):
graph = self._getGraph(graph_name, True)<EOL>if graph.hasField(field_name):<EOL><INDENT>graph.setVal(field_name, val)<EOL><DEDENT>else:<EOL><INDENT>raise AttributeError("<STR_LIT>" <EOL>% (field_name, graph_name))<EOL><DEDENT>
Utility method to set Value for Field in Graph.

        The private method is for use in retrieveVals() method of child classes.

        @param graph_name: Graph Name
        @param field_name: Field Name.
        @param val:        Value for field.