logic-bind-model
Version:
white framework web
63 lines (54 loc) • 1.1 kB
JavaScript
/**** i-bind-command.js | IBindCommand ****/
//==============================================================
import { ExtendError } from 'logic-entity';
/**
* 바인드 명령 인터페이스입니다.
*
* @interface
* @constructs IBindCommand
*/
class IBindCommand {
static _NS = 'Interface'; // namespace
static _KIND = 'interface';
constructor() {
}
/**
* 유효성 뷰
*
* @member {MetaView}
*/
valid = {};
/**
* 바인드 뷰
*
* @member {MetaView}
*/
bind = {};
/**
* 출력 뷰
*
* @member {MetaView}
*/
output = {};
/**
* 출력 옵션
*
* @member {object}
*/
outputOption = {
option: String,
index: [[[Number], Number]],
schema: String,
};
/**
* 대상을 내보냅니다. (쓰기)
*
* @returns {any}
* @abstract
*/
execute() {
throw new ExtendError(/EL02331/, null, ['IBindCommand']);
}
}
export default IBindCommand;
export { IBindCommand };