EntityIdValueImpl extends ValueImpl implements
		EntityIdValue { public static EntityIdValue fromId(String id, String siteIri) { switch (guessEntityTypeFromId(id, true)) { case EntityIdValueImpl.JSON_ENTITY_TYPE_ITEM: return new ItemIdValueImpl(id, siteIri); case EntityIdValueImpl.JSON_ENTITY_TYPE_PROPERTY: return new PropertyIdValueImpl(id, siteIri); case EntityIdValueImpl.JSON_ENTITY_TYPE_LEXEME: return new LexemeIdValueImpl(id, siteIri); case EntityIdValueImpl.JSON_ENTITY_TYPE_FORM: return new FormIdValueImpl(id, siteIri); case EntityIdValueImpl.JSON_ENTITY_TYPE_SENSE: return new SenseIdValueImpl(id, siteIri); case EntityIdValueImpl.JSON_ENTITY_TYPE_MEDIA_INFO: return new MediaInfoIdValueImpl(id, siteIri); default: throw new IllegalArgumentException("Entity id \"" + id + "\" is not supported."); } } protected  EntityIdValueImpl(
			String id,
			String siteIri); @JsonCreator protected  EntityIdValueImpl(
			@JsonProperty("value") JacksonInnerEntityId value,
			@JacksonInject String siteIri); static EntityIdValue fromId(String id, String siteIri); static String guessEntityTypeFromId(String id); @JsonProperty("value") JacksonInnerEntityId getValue(); @JsonIgnore @Override String getIri(); @JsonIgnore @Override String getId(); @JsonIgnore @Override String getSiteIri(); final static String JSON_ENTITY_TYPE_ITEM; final static String JSON_ENTITY_TYPE_PROPERTY; final static String JSON_ENTITY_TYPE_LEXEME; final static String JSON_ENTITY_TYPE_FORM; final static String JSON_ENTITY_TYPE_SENSE; final static String JSON_ENTITY_TYPE_MEDIA_INFO; }
@Test public void testFromIdItem() { assertEquals(new ItemIdValueImpl("Q42", "http: }
@Test public void testFromIdProperty() { assertEquals(new PropertyIdValueImpl("P42", "http: }
@Test public void testFromIdLexeme() { assertEquals(new LexemeIdValueImpl("L42", "http: }
@Test public void testFromIdForm() { assertEquals(new FormIdValueImpl("L42-F1", "http: }
@Test public void testFromIdSense() { assertEquals(new SenseIdValueImpl("L42-S1", "http: }
@Test public void testFromIdMediaInfo() { assertEquals(new MediaInfoIdValueImpl("M42", "http: }
@Test(expected = IllegalArgumentException.class) public void testFromIdFailure() { EntityIdValueImpl.fromId("L42-P1", "http: }