hedera-web/js/vn/spec.js

38 lines
520 B
JavaScript

var VnObject = require('./object');
var Type = require('./type');
/**
* Paramter specification.
*/
module.exports = new Class({
Extends: VnObject
,Tag: 'vn-spec'
,Properties: {
/**
* The parameter name.
*/
name: {
type: String
,set: function(x) {
this._name = x;
}
,get: function() {
return this._name;
}
},
/**
* The parameter type.
*/
type: {
type: Type
,set: function(x) {
this._type = x;
}
,get: function() {
return this._type;
}
}
}
});