コード例 #1
0
 public override bool Accept(Net.Vpc.Upa.Field f) /* throws Net.Vpc.Upa.Exceptions.UPAException */
 {
     if (checkPersist)
     {
         if (!accepted.Contains(f.GetPersistAccessLevel()))
         {
             return(false);
         }
     }
     if (checkUpdate)
     {
         if (!accepted.Contains(f.GetUpdateAccessLevel()))
         {
             return(false);
         }
     }
     if (checkSelect)
     {
         if (!accepted.Contains(f.GetReadAccessLevel()))
         {
             return(false);
         }
     }
     return(true);
 }