return Boolean.TRUE.equals(value) ? BooleanValue.TRUE : BooleanValue.FALSE;
return new LongValue(((Number) value).longValue());
    public Value unmarshall(Env env, Object value)    {      if (value == null)        return NullValue.NULL;      else        return Boolean.TRUE.equals(value)               ? BooleanValue.TRUE               : BooleanValue.FALSE;    }