Reply
Sat 3 Sep, 2005 06:27 am
Hello there!
Well my project manager has given a research about BCE (Boundary Control Entity) classes and I have to find out what operations must be included in an entity class in a three tier application?
Please Help Me!
Re: What operations should an Entity class contain?
pppppedram wrote:Hello there!
Well my project manager has given a research about BCE (Boundary Control Entity) classes and I have to find out what operations must be included in an entity class in a three tier application?
Please Help Me!
Me think Entity Classes should include SET & GET methods. Not know much about BOUNDARY CONTROL though.
It has made me Curious...
Well control class usually have controlling methods like CalculateTax(), doSomething() , runMachine() and so on which directly or indirectly invoke methods in one of the entity class , and the entity class should know about it self (if it has to be good design should know only about it self) for instance machine, Order ..and so on , but should understand or give interface to be controlled or manipulated or specify what it is capable of doing , the boundary class give way of accessing the entity class or way of persisting the data of entity class , example GUI form, or DataBaseFile can be some example of them , think of it this way as a starting point or implementation or ending way can be boundary class ,