function Pattern( data ) {
    if ( data === undefined )
        data = {};
    var pattern = {
        id: ko.observable( data[ "x" ] || "123id" ),
        desc_short: ko.observable( data[ "x" ] || "123desc_short" ),
        desc_long: ko.observable( data[ "x" ] || "123desc_long" ),
        processes: ko.observableArray( data[ "x" ] || [ new Process() ] )
    }
    return pattern;
}
// Patterns have an id, a short and long description and an array of processes
Patterns have an id, a short and long description and an array of processes
Patterns have an id a short and long description and an array of processes
function Pattern( data ) {
    if ( data === undefined )
        data = {};
    var pattern = {
        id: ko.observable( data[ "x" ] || "123id" ),
        desc_short: ko.observable( data[ "x" ] || "123desc_short" ),
        desc_long: ko.observable( data[ "x" ] || "123desc_long" ),
        processes: ko.observableArray( data[ "x" ] || [ new Process() ] )
    }
    return pattern;
}
function Pattern ( data ) { if ( data === undefined ) data = { } ; var pattern = { id : ko . observable ( data [ "x" ] || "123id" ) , desc_short : ko . observable ( data [ "x" ] || "123desc_short" ) , desc_long : ko . observable ( data [ "x" ] || "123desc_long" ) , processes : ko . observableArray ( data [ "x" ] || [ new Process ( ) ] ) } return pattern ; }
Patterns have an id, a short and long description and an array of processes
Patterns have an id a short and long description and an array of processes