@Override
    String simpleTypeName() {
        if (isRoot()) {
            return "Root";
        }

        return lastComponent().getClass().getSimpleName();
    }
@Test
    public void testSimpleTypeName() {
        DiscreteResourceId id = Resources.discrete(D1, P1, VLAN1).id();
        assertThat(id.simpleTypeName(), is("VlanId"));
    }