Any relationship that involves many people will be complicated. This is of course a redundant statement and in many ways you could say a "no-statement". But I think that not only will it be complicated because each individual in the relationship has its own idiosyncrasy but because personalities change with time and circumstances. Maybe not the basic personality but the way in which personalities interact. So when even one is analyzing some-one's basic personality one must take into account that we are only defining gross, broad, fundamental traits that will help to establish a framework of reference. One this is established we can go to the finer detail of individual behavior in that multiple entity relationship, such a a classroom.
With this in mind we can then look at personalities defined in psychology and use the basic needs for these personalities when addressing discipline in the classroom. Basic needs like "being the center of attention" for some, to the "live me alone-I'm not here" students that want to have complete control of what happens in their life.
One problem frequently encountered with any relationship is the idea of compromise. Not that compromising is a sign of weakness or lack of defined values, more than it is because compromising it self needs a set of rules and accepted principles that in general are not agreed before the situation arises. In the classroom rules must be clear and according to Rosenblum in her book "You have to go to School, you are the teacher: 300+ classroom management strategies" It is better to not have rules than have rules that are broken.