export enum ParameterType { Boolean = 'Boolean' , Integer = 'Integer' , ByteArray = 'ByteArray' , Interface = 'Interface' , Array = 'Array' , Struct = 'Struct' , Map = 'Map' , String = 'String' , Int = 'Integer' , Long = 'Long' , IntArray = 'IntArray' , LongArray = 'LongArray' , Address = 'Address' , H256 = 'H256' } export enum ParameterTypeVal { ByteArray = 0x00 , Boolean = 0x01 , Integer = 0x02 , Interface = 0x40 , Array = 0x80 , Struct = 0x81 , Map = 0x82 } /**
 * Decribes the parameter.
 */ export class Parameter { public name : string ; public type : ParameterType ; public value : any ; constructor ( name , type , value ) { this . name = name ; this . type = type ; this . value = value ; } getName ( ) { return this . name ; } getType ( ) { return this . type ; } getValue ( ) { return this . value ; } setValue ( value ) { if ( value . type === this . type && value . name === this . name && value . value != null ) { this . value = value . value ; return true ; } return false ; } }