SmartIT_Extensions/BMC/smart-it-full/scripts/app/l10n/localized-message-vo.js

32 lines
736 B
JavaScript

"use strict";
/**
* Value object for localized message.
*
* @author Igor Samulenko
* @constructor
*/
function LocalizedMessageVO() {
this.messageType = '';
this.messageId = '';
this.locale = '';
this.name = '';
this.value = '';
}
/**
* Setup inheritance chain.
*/
LocalizedMessageVO.prototype = Object.create(BaseVO.prototype);
LocalizedMessageVO.prototype.constructor = LocalizedMessageVO;
/**
* Constants
*/
LocalizedMessageVO.prototype.ERROR_MESSAGE = 'ERROR_MESSAGE';
LocalizedMessageVO.prototype.SOCIAL_MESSAGE = 'SOCIAL_MESSAGE';
/**
* @override
* @return {Array}
*/
LocalizedMessageVO.prototype.getProps = function () {
return ['id', 'messageType', 'messageId', 'locale', 'name', 'value'];
};