public static String getFieldValue(ODocument document, String fieldname) {
        return (String) document.field(fieldname);
    }
public static String getFieldValue ( ODocument document , String fieldname ) { return ( String ) document . field ( fieldname ) ; }
Gets the value for the given field of a graph object.