getType

Returns the type of the segment.