Return ResourceType on SegmentRef.getResourceType()