/** * Printing association type. * * @param associationType The {@link AssociationType}. */ private static void printAssociationType(AssociationType associationType) { System.out.println("Association type : " + associationType); if (associationType.getDeviceType() != null) { System.out.println( String.format( "Device type %s for the association type.", associationType.getDeviceType())); } }