_validate(ms);
_validate(ms, MembershipType.I);
  protected static void validateImmediate(Membership ms)    throws  ModelException  {    _validate(ms);     _validateDoesNotExist(ms);    // Verify Depth    if (ms.getDepth() != 0) {      throw new ModelException(ERR_D + ms.getDepth());    }    // Verify Via    if (ms.getVia_id() != null) {      throw new ModelException(ERR_IV);    }    // Verify Parent Membership    if (ms.getParent_membership() != null) {      throw new ModelException(ERR_PMS);    }  } // protected static void validateImmediate(ms)