class DiscreteResource implements Resource {

    @Override
    public boolean isSubTypeOf(Class<?> ancestor) {
        checkNotNull(ancestor);

        return id.isSubTypeOf(ancestor);
    }

      DiscreteResource(DiscreteResourceId id);
      DiscreteResource();

}