methods added to fetch and set values in the entity graph object
separate exception class created for graph related exception
test class for testing new setter and getter methods for graph