/** * Set the AE title for this Network AE. * * @param aet A String containing the AE title. */ public void setAETitle(String aet) { if (aet.isEmpty()) throw new IllegalArgumentException("AE title cannot be empty"); Device device = this.device; if (device != null && this.AETitle != null) device.removeApplicationEntity(this.AETitle); this.AETitle = aet; if (device != null) device.addApplicationEntity(this); }