public MaintainedItem(String type, String typeId, String itemId, String nomen, InventoryPlugin aPlugin) { maintainedItemType = type; typeIdentification = typeId; itemIdentification = itemId; nomenclature = nomen; invPlugin = invPlugin; if(aPlugin == null) { logger = NullLoggingServiceImpl.getNullLoggingServiceImpl(); } else { logger = (Logger)aPlugin.getLoggingService(this); } }
public MaintainedItem() {}
  public MaintainedItem(String type, String typeId, String itemId, String nomen, InventoryPlugin aPlugin) {    maintainedItemType = type;    typeIdentification = typeId;    itemIdentification = itemId;    nomenclature = nomen;    invPlugin = invPlugin;    if(aPlugin == null) {	logger = NullLoggingServiceImpl.getNullLoggingServiceImpl();    }    else {	logger = (Logger)aPlugin.getLoggingService(this);    }  }