hedera-web/js/vn/spec.js

38 lines
480 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
2022-11-16 01:46:44 +00:00
,set(x) {
2022-05-30 01:30:33 +00:00
this._name = x;
}
2022-11-16 01:46:44 +00:00
,get() {
2022-05-30 01:30:33 +00:00
return this._name;
}
},
/**
* The parameter type.
*/
type: {
type: Type
2022-11-16 01:46:44 +00:00
,set(x) {
2022-05-30 01:30:33 +00:00
this._type = x;
}
2022-11-16 01:46:44 +00:00
,get() {
2022-05-30 01:30:33 +00:00
return this._type;
}
}
}
});