}
@Override
public String getName() {
if (name == null) {
TitanProperty p = Iterables.getOnlyElement(query().
includeHidden().type(SystemKey.TypeName).properties(), null);
Preconditions.checkState(p!=null,"Could not find type for id: %s",getID());
name = p.getValue(String.class);
}
assert name != null;
return name;
}