public static Notification fromModelNode(ModelNode node) {
        String type = node.require(TYPE).asString();
        PathAddress source = PathAddress.pathAddress(node.require(SOURCE));
        long timestamp = node.require(TIMESTAMP).asLong();
        String message = node.require(MESSAGE).asString();
        ModelNode data = node.hasDefined(DATA)? node.get(DATA): null;
        return new Notification(type, source, message, timestamp, data);
    }
public static Notification fromModelNode ( ModelNode node ) { String type = node . require ( TYPE ) . asString ( ) ; PathAddress source = PathAddress . pathAddress ( node . require ( SOURCE ) ) ; long timestamp = node . require ( TIMESTAMP ) . asLong ( ) ; String message = node . require ( MESSAGE ) . asString ( ) ; ModelNode data = node . hasDefined ( DATA ) ? node . get ( DATA ) : null ; return new Notification ( type , source , message , timestamp , data ) ; }
@return a Notification created from the detyped representation in {@code node}