}
//If its a newly created type, add to type cache
if (lifecycle == ElementLifeCycle.Loaded)
typeCache.put(((TitanType) vertex).getName(), vertexid);
} else if (idInspector.isVertexID(vertexid)) {
vertex = new CacheVertex(StandardTitanTx.this, vertexid, lifecycle);
} else throw new IllegalArgumentException("ID could not be recognized");
return vertex;
}