An entity object always has an associated XML file. It optionally has Java source files an entity object class, entity definition class, or both.