final String url = id.getURI();
final String hash = ContentLocation.hash(url);
this.meta = new ContentMeta(ContentLocation.metaLocation(hash));
this.meta.setURL(url);
this.meta.setMetaID(hash);
<BUG>this.state = new State().setName(id.id());
if (id.isResource())</BUG>
this.image = new ResourceImage(this);
else
this.image = new RemoteImage(this);

final String url = id.getURI();
final String hash = ContentLocation.hash(url);
this.meta = new ContentMeta(ContentLocation.metaLocation(hash));
this.meta.setURL(url);
this.meta.setMetaID(hash);
this.state = new State();
this.state.setName(id.getID());
if (id.isResource())
this.image = new ResourceImage(this);
else
this.image = new RemoteImage(this);
