@Test public void testConstruction() { final String networkIdValue = "s"; final TenantNetworkId networkId = TenantNetworkId.networkId(networkIdValue); assertThat(networkId, is(notNullValue())); assertThat(networkId.networkId(), is(networkIdValue)); }
public static TenantNetworkId networkId(String networkId) { checkNotNull(networkId, "Networkid cannot be null"); return new TenantNetworkId(networkId); }
TenantNetworkId extends Identifier<String> { public static TenantNetworkId networkId(String networkId) { checkNotNull(networkId, "Networkid cannot be null"); return new TenantNetworkId(networkId); } }
TenantNetworkId extends Identifier<String> { public static TenantNetworkId networkId(String networkId) { checkNotNull(networkId, "Networkid cannot be null"); return new TenantNetworkId(networkId); } private  TenantNetworkId(String networkId); }
TenantNetworkId extends Identifier<String> { public static TenantNetworkId networkId(String networkId) { checkNotNull(networkId, "Networkid cannot be null"); return new TenantNetworkId(networkId); } private  TenantNetworkId(String networkId); static TenantNetworkId networkId(String networkId); String networkId(); }
TenantNetworkId extends Identifier<String> { public static TenantNetworkId networkId(String networkId) { checkNotNull(networkId, "Networkid cannot be null"); return new TenantNetworkId(networkId); } private  TenantNetworkId(String networkId); static TenantNetworkId networkId(String networkId); String networkId();  }