add getType to ShortNameType