function Ea(a,b,d,e){this.Init(a,b,d,e)}v("AdfFacesMessage",Ea);z.l(Ea);Ea.Mi=1;v("AdfFacesMessage.TYPE_INFO",Ea.Mi);Ea.$E=2;v("AdfFacesMessage.TYPE_CONFIRMATION",Ea.$E);Ea.Am=3;v("AdfFacesMessage.TYPE_WARNING",Ea.Am);Ea.Ef=4;v("AdfFacesMessage.TYPE_ERROR",Ea.Ef);Ea.kk=5;v("AdfFacesMessage.TYPE_FATAL",Ea.kk);Ea.getType=function(a){switch(a){case TrFacesMessage.SEVERITY_WARNING:return Ea.Am;case TrFacesMessage.SEVERITY_ERROR:return Ea.Ef;case TrFacesMessage.pGa:return Ea.kk;default:return Ea.Mi}};
v("AdfFacesMessage.getType",Ea.getType);Ea.Gn=function(a){switch(a){case Ea.Am:return TrFacesMessage.SEVERITY_WARNING;case Ea.Ef:return TrFacesMessage.SEVERITY_ERROR;case Ea.kk:return TrFacesMessage.pGa;default:return TrFacesMessage.W5a}};v("AdfFacesMessage.getSeverity",Ea.Gn);Ea.yR=function(a){return a.getMessageType!=n?a.getMessageType():Ea.getType(a.getSeverity())};v("AdfFacesMessage.getTypeFromMessage",Ea.yR);Ea.prototype.Nfa=function(){var a=this.JN;return!a||1>xa.trim(a).length?this.Oda:a};
z.a("AdfFacesMessage.prototype.getDetail",{Nfa:Ea.prototype.Nfa});Ea.prototype.getSummary=r("Oda");z.a("AdfFacesMessage.prototype.getSummary",{getSummary:Ea.prototype.getSummary});Ea.prototype.getMessageType=r("Lba");z.a("AdfFacesMessage.prototype.getMessageType",{getMessageType:Ea.prototype.getMessageType});Ea.prototype.Gn=function(){return Ea.Gn(this.Lba)};z.a("AdfFacesMessage.prototype.getSeverity",{Gn:Ea.prototype.Gn});Ea.prototype.B1=da("JN");z.a("AdfFacesMessage.prototype.setDetail",{B1:Ea.prototype.B1});
Ea.prototype.setSummary=da("Oda");z.a("AdfFacesMessage.prototype.setSummary",{setSummary:Ea.prototype.setSummary});Ea.prototype.setMessageType=da("xc");z.a("AdfFacesMessage.prototype.setMessageType",{setMessageType:Ea.prototype.setMessageType});Ea.prototype.lS=function(a){this.Lba=Ea.getType(a)};z.a("AdfFacesMessage.prototype.setSeverity",{lS:Ea.prototype.lS});Ea.prototype.r=function(a){if(this.Hl!=n)return this.Hl[a]};z.a("AdfFacesMessage.prototype.getProperty",{r:Ea.prototype.r});
Ea.prototype.Init=function(a,b,d,e){Ea.f.Init.call(this,a,b,d,e);this.Lba=a;this.Oda=b;this.JN=d;this.Hl=e};z.a("AdfFacesMessage.prototype.Init",{Init:Ea.prototype.Init});