Generalized Electrodynamics With Ternary Internal Structure