Skip to content
Snippets Groups Projects
Commit 88e2dc62 authored by Adam Laskowski's avatar Adam Laskowski
Browse files

BIS-713: Added simple js dtos

parent 0c0d9e59
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
Showing
with 441 additions and 0 deletions
define([ "stjs", "util/Exceptions" ], function(stjs, exceptions) {
var ImagingDataSetConfig = function() {
};
stjs.extend(ImagingDataSetConfig, null, [], function(constructor, prototype) {
prototype['@type'] = 'dss.dto.imaging.ImagingDataSetConfig';
constructor.serialVersionUID = 1;
prototype.adaptor = null;
prototype.version = null;
prototype.speeds = null;
prototype.resolutions = null;
prototype.playable = null;
prototype.exports = null;
prototype.inputs = null;
prototype.metaData = null;
prototype.getAdaptor = function() {
return this.adaptor;
};
prototype.setAdaptor = function(adaptor) {
this.adaptor = adaptor;
};
prototype.getVersion = function() {
return this.version;
};
prototype.setVersion = function(version) {
this.version = version;
};
prototype.getSpeeds = function() {
return this.speeds;
};
prototype.setSpeeds = function(speeds) {
this.speeds = speeds;
};
prototype.getResolutions = function() {
return this.resolutions;
};
prototype.setResolutions = function(resolutions) {
this.resolutions = resolutions;
};
prototype.getPlayable = function() {
return this.playable;
};
prototype.setPlayable = function(playable) {
this.playable = playable;
};
prototype.getExports = function() {
return this.exports;
};
prototype.setExports = function(exports) {
this.exports = exports;
};
prototype.getInputs = function() {
return this.inputs;
};
prototype.setInputs = function(inputs) {
this.inputs = inputs;
};
prototype.getMetaData = function() {
return this.metaData;
};
prototype.setMetaData = function(metaData) {
this.metaData = metaData;
};
prototype.toString = function() {
return "ImagingDataSetConfig: " + this.adaptor;
};
}, {
resolutions : {
name : "List",
arguments : [ "String"]
},
speeds : {
name : "List",
arguments : [ "Integer"]
},
exports : {
name : "List",
arguments : [ "ImagingDataSetControl"]
},
inputs : {
name : "List",
arguments : [ "ImagingDataSetControl"]
},
metaData : {
name : "Map",
arguments : [ "String", "String" ]
}
});
return ImagingDataSetConfig;
})
\ No newline at end of file
define([ "stjs", "util/Exceptions" ], function(stjs, exceptions) {
var ImagingDataSetControl = function() {
};
stjs.extend(ImagingDataSetControl, null, [], function(constructor, prototype) {
prototype['@type'] = 'dss.dto.imaging.ImagingDataSetControl';
constructor.serialVersionUID = 1;
prototype.label = null;
prototype.section = null;
prototype.type = null;
prototype.values = null;
prototype.unit = null;
prototype.range = null;
prototype.multiselect = null;
prototype.playable = null;
prototype.speeds = null;
prototype.visibility = null;
prototype.metaData = null;
prototype.getLabel = function() {
return this.label;
};
prototype.setLabel = function(label) {
this.label = label;
};
prototype.getSection = function() {
return this.section;
};
prototype.setSection = function(section) {
this.section = section;
};
prototype.getType = function() {
return this.type;
};
prototype.setType = function(type) {
this.type = type;
};
prototype.getValues = function() {
return this.values;
};
prototype.setValues = function(values) {
this.values = values;
};
prototype.getUnit = function() {
return this.unit;
};
prototype.setUnit = function(unit) {
this.unit = unit;
};
prototype.getRange = function() {
return this.range;
};
prototype.setRange = function(range) {
this.range = range;
};
prototype.getMultiselect = function() {
return this.multiselect;
};
prototype.setMultiselect = function(multiselect) {
this.multiselect = multiselect;
};
prototype.getPlayable = function() {
return this.playable;
};
prototype.setPlayable = function(playable) {
this.playable = playable;
};
prototype.getSpeeds = function() {
return this.speeds;
};
prototype.setSpeeds = function(speeds) {
this.speeds = speeds;
};
prototype.getVisibility = function() {
return this.visibility;
};
prototype.setVisibility = function(visibility) {
this.visibility = visibility;
};
prototype.getMetaData = function() {
return this.metaData;
};
prototype.setMetaData = function(metaData) {
this.metaData = metaData;
};
prototype.toString = function() {
return "ImagingDataSetControl: " + this.label;
};
}, {
values : {
name : "List",
arguments : [ "String"]
},
visibility: {
name : "List",
arguments : [ "ImagingDataSetControlVisibility"]
}
range : {
name : "List",
arguments : [ "String"]
},
speeds : {
name : "List",
arguments : [ "Integer"]
},
metaData : {
name : "Map",
arguments : [ "String", "String" ]
}
});
return ImagingDataSetControl;
})
\ No newline at end of file
define([ "stjs", "util/Exceptions" ], function(stjs, exceptions) {
var ImagingDataSetControlVisibility = function() {
};
stjs.extend(ImagingDataSetControlVisibility, null, [], function(constructor, prototype) {
prototype['@type'] = 'dss.dto.imaging.ImagingDataSetControlVisibility';
constructor.serialVersionUID = 1;
prototype.label = null;
prototype.values = null;
prototype.range = null;
prototype.unit = null;
prototype.getLabel = function() {
return this.label;
};
prototype.setLabel = function(label) {
this.label = label;
};
prototype.getValues = function() {
return this.values;
};
prototype.setValues = function(values) {
this.values = values;
};
prototype.getUnit = function() {
return this.unit;
};
prototype.setUnit = function(unit) {
this.unit = unit;
};
prototype.getRange = function() {
return this.range;
};
prototype.setRange = function(range) {
this.range = range;
};
prototype.toString = function() {
return "ImagingDataSetControlVisibility: " + this.label;
};
}, {
values : {
name : "List",
arguments : [ "String"]
},
range : {
name : "List",
arguments : [ "String"]
}
});
return ImagingDataSetControlVisibility;
})
\ No newline at end of file
define([ "stjs", "util/Exceptions" ], function(stjs, exceptions) {
var ImagingDataSetExport = function() {
};
stjs.extend(ImagingDataSetExport, null, [], function(constructor, prototype) {
prototype['@type'] = 'dss.dto.imaging.ImagingDataSetExport';
constructor.serialVersionUID = 1;
prototype.config = null;
prototype.format = null;
prototype.bytes = null;
prototype.show = null;
prototype.metaData = null;
prototype.getConfig = function() {
return this.config;
};
prototype.setConfig = function(config) {
this.config = config;
};
prototype.getFormat = function() {
return this.format;
};
prototype.setFormat = function(format) {
this.format = format;
};
prototype.getBytes = function() {
return this.bytes;
};
prototype.setBytes = function(bytes) {
this.bytes = bytes;
};
prototype.isShow = function() {
return this.show;
};
prototype.setShow = function(show) {
this.show = show;
};
prototype.getMetaData = function() {
return this.metaData;
};
prototype.setMetaData = function(metaData) {
this.metaData = metaData;
};
prototype.toString = function() {
return "ImagingDataSetExport: " + this.config;
};
}, {
config : {
name : "Map",
arguments : [ "String", "Serializable" ]
},
metaData : {
name : "Map",
arguments : [ "String", "String" ]
}
});
return ImagingDataSetExport;
})
\ No newline at end of file
define([ "stjs", "util/Exceptions" ], function(stjs, exceptions) {
var ImagingDataSetImage = function() {
};
stjs.extend(ImagingDataSetImage, null, [], function(constructor, prototype) {
prototype['@type'] = 'dss.dto.imaging.ImagingDataSetImage';
constructor.serialVersionUID = 1;
prototype.previews = null;
prototype.metaData = null;
prototype.getPreviews = function() {
return this.previews;
};
prototype.setPreviews = function(previews) {
this.previews = previews;
};
prototype.getMetaData = function() {
return this.metaData;
};
prototype.setMetaData = function(metaData) {
this.metaData = metaData;
};
prototype.toString = function() {
return "ImagingDataSetImage: " + this.previews;
};
}, {
previews : {
name : "List",
arguments : [ "ImagingDataSetPreview"]
},
metaData : {
name : "Map",
arguments : [ "String", "String" ]
}
});
return ImagingDataSetImage;
})
\ No newline at end of file
define([ "stjs", "util/Exceptions" ], function(stjs, exceptions) {
var ImagingDataSetPreview = function() {
};
stjs.extend(ImagingDataSetPreview, null, [], function(constructor, prototype) {
prototype['@type'] = 'dss.dto.imaging.ImagingDataSetPreview';
constructor.serialVersionUID = 1;
prototype.config = null;
prototype.format = null;
prototype.bytes = null;
prototype.show = null;
prototype.metaData = null;
prototype.getConfig = function() {
return this.config;
};
prototype.setConfig = function(config) {
this.config = config;
};
prototype.getFormat = function() {
return this.format;
};
prototype.setFormat = function(format) {
this.format = format;
};
prototype.getBytes = function() {
return this.bytes;
};
prototype.setBytes = function(bytes) {
this.bytes = bytes;
};
prototype.isShow = function() {
return this.show;
};
prototype.setShow = function(show) {
this.show = show;
};
prototype.getMetaData = function() {
return this.metaData;
};
prototype.setMetaData = function(metaData) {
this.metaData = metaData;
};
prototype.toString = function() {
return "ImagingDataSetPreview: " + this.config;
};
}, {
config : {
name : "Map",
arguments : [ "String", "Serializable" ]
},
metaData : {
name : "Map",
arguments : [ "String", "String" ]
}
});
return ImagingDataSetPreview;
})
\ No newline at end of file
define([ "stjs", "util/Exceptions" ], function(stjs, exceptions) {
var ImagingDataSetPropertyConfig = function() {
};
stjs.extend(ImagingDataSetPropertyConfig, null, [], function(constructor, prototype) {
prototype['@type'] = 'dss.dto.imaging.ImagingDataSetPropertyConfig';
constructor.serialVersionUID = 1;
prototype.config = null;
prototype.images = null;
prototype.getConfig = function() {
return this.config;
};
prototype.setConfig = function(config) {
this.config = config;
};
prototype.getImages = function() {
return this.images;
};
prototype.setSection = function(images) {
this.images = images;
};
prototype.toString = function() {
return "ImagingDataSetPropertyConfig: " + this.label;
};
}, {
images : {
name : "List",
arguments : [ "ImagingDataSetImage"]
}
});
return ImagingDataSetControl;
})
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment