if (s == null) { throw new ModelException(ERR_O);
try { Validator.valueNotNull( s                 , ERR_O ); Validator.valueNotNull( s.getMember_id()  , ERR_M ); Validator.valueNotNull( s.getSession_id() , ERR_I ); Validator.valueNotNull( s.getStart_time() , ERR_T );
  protected static void validate(GrouperSession s)    throws  ModelException  {    if (s == null) {      throw new ModelException(ERR_O);    }    if (s.getMember()     == null) {      throw new ModelException(ERR_M);    }    if (s.getSessionId()  == null) {      throw new ModelException(ERR_I);    }    if (s.getStartTime()  == null) {      throw new ModelException(ERR_T);    }  } // protected static void validate(s)