class ThingUID extends UID {

    public String getId() {
        List<String> segments = getAllSegments();
        return segments.get(segments.size() - 1);
    }

      ThingUID();
    public  ThingUID(ThingTypeUID thingTypeUID, String id);
    public  ThingUID(ThingTypeUID thingTypeUID, ThingUID bridgeUID, String id);
    public  ThingUID(ThingTypeUID thingTypeUID, String id, String... bridgeIds);
    public  ThingUID(String bindingId, String id);
    public  ThingUID(String bindingId, ThingUID bridgeUID, String id);
    public  ThingUID(String bindingId, String thingTypeId, String id);
    public  ThingUID(String thingUID);
    public  ThingUID(String... segments);

}