function Ba(a,b,d,e){this.Init(a,b,d,e)}m("AdfFacesMessage",Ba);r.v(Ba);Ba.Ij=1;m("AdfFacesMessage.TYPE_INFO",Ba.Ij);Ba.tK=2;m("AdfFacesMessage.TYPE_CONFIRMATION",Ba.tK);Ba.Ro=3;m("AdfFacesMessage.TYPE_WARNING",Ba.Ro);Ba.hg=4;m("AdfFacesMessage.TYPE_ERROR",Ba.hg);Ba.Jl=5;m("AdfFacesMessage.TYPE_FATAL",Ba.Jl);Ba.getType=function(a){switch(a){case TrFacesMessage.SEVERITY_WARNING:return Ba.Ro;case TrFacesMessage.SEVERITY_ERROR:return Ba.hg;case TrFacesMessage.fXa:return Ba.Jl;default:return Ba.Ij}};
m("AdfFacesMessage.getType",Ba.getType);Ba.aq=function(a){switch(a){case Ba.Ro:return TrFacesMessage.SEVERITY_WARNING;case Ba.hg:return TrFacesMessage.SEVERITY_ERROR;case Ba.Jl:return TrFacesMessage.fXa;default:return TrFacesMessage.Ysb}};m("AdfFacesMessage.getSeverity",Ba.aq);Ba.kZ=function(a){return null!=a.getMessageType?a.getMessageType():Ba.getType(a.getSeverity())};m("AdfFacesMessage.getTypeFromMessage",Ba.kZ);
Ba.prototype.Cra=function(){var a=this.IU;return!a||1>xa.trim(a).length?this.gpa:a};r.a("AdfFacesMessage.prototype.getDetail",{Cra:Ba.prototype.Cra});Ba.prototype.getSummary=function(){return this.gpa};r.a("AdfFacesMessage.prototype.getSummary",{getSummary:Ba.prototype.getSummary});Ba.prototype.getMessageType=function(){return this.Qma};r.a("AdfFacesMessage.prototype.getMessageType",{getMessageType:Ba.prototype.getMessageType});Ba.prototype.aq=function(){return Ba.aq(this.Qma)};
r.a("AdfFacesMessage.prototype.getSeverity",{aq:Ba.prototype.aq});Ba.prototype.caa=function(a){this.IU=a};r.a("AdfFacesMessage.prototype.setDetail",{caa:Ba.prototype.caa});Ba.prototype.setSummary=function(a){this.gpa=a};r.a("AdfFacesMessage.prototype.setSummary",{setSummary:Ba.prototype.setSummary});Ba.prototype.setMessageType=function(a){this.hd=a};r.a("AdfFacesMessage.prototype.setMessageType",{setMessageType:Ba.prototype.setMessageType});Ba.prototype.d_=function(a){this.Qma=Ba.getType(a)};
r.a("AdfFacesMessage.prototype.setSeverity",{d_:Ba.prototype.d_});Ba.prototype.K=function(a){if(null!=this.Sn)return this.Sn[a]};r.a("AdfFacesMessage.prototype.getProperty",{K:Ba.prototype.K});Ba.prototype.Init=function(a,b,d,e){Ba.h.Init.call(this,a,b,d,e);this.Qma=a;this.gpa=b;this.IU=d;this.Sn=e};r.a("AdfFacesMessage.prototype.Init",{Init:Ba.prototype.Init});