hedera-web/js/vn/spec.js

38 lines
520 B
JavaScript
Raw Normal View History

2022-05-30 01:30:33 +00:00
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;
}
}
}
});