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.Qo=3;m("AdfFacesMessage.TYPE_WARNING",Ba.Qo);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.Qo;case TrFacesMessage.SEVERITY_ERROR:return Ba.hg;case TrFacesMessage.bXa:return Ba.Jl;default:return Ba.Ij}};
m("AdfFacesMessage.getType",Ba.getType);Ba.$p=function(a){switch(a){case Ba.Qo:return TrFacesMessage.SEVERITY_WARNING;case Ba.hg:return TrFacesMessage.SEVERITY_ERROR;case Ba.Jl:return TrFacesMessage.bXa;default:return TrFacesMessage.Ysb}};m("AdfFacesMessage.getSeverity",Ba.$p);Ba.kZ=function(a){return null!=a.getMessageType?a.getMessageType():Ba.getType(a.getSeverity())};m("AdfFacesMessage.getTypeFromMessage",Ba.kZ);
Ba.prototype.yra=function(){var a=this.IU;return!a||1>xa.trim(a).length?this.cpa:a};r.a("AdfFacesMessage.prototype.getDetail",{yra:Ba.prototype.yra});Ba.prototype.getSummary=function(){return this.cpa};r.a("AdfFacesMessage.prototype.getSummary",{getSummary:Ba.prototype.getSummary});Ba.prototype.getMessageType=function(){return this.Nma};r.a("AdfFacesMessage.prototype.getMessageType",{getMessageType:Ba.prototype.getMessageType});Ba.prototype.$p=function(){return Ba.$p(this.Nma)};
r.a("AdfFacesMessage.prototype.getSeverity",{$p:Ba.prototype.$p});Ba.prototype.aaa=function(a){this.IU=a};r.a("AdfFacesMessage.prototype.setDetail",{aaa:Ba.prototype.aaa});Ba.prototype.setSummary=function(a){this.cpa=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.Nma=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.Nma=a;this.cpa=b;this.IU=d;this.Sn=e};r.a("AdfFacesMessage.prototype.Init",{Init:Ba.prototype.Init});