add java doc in inventory package.