class DiscreteResource implements Resource {

    @Override
    public boolean isTypeOf(Class<?> type) {
        checkNotNull(type);

        return id.isTypeOf(type);
    }

      DiscreteResource(DiscreteResourceId id);
      DiscreteResource();

}