Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. logicg8

    Extending a class versus new class with static methods

    Thanks for the great resource information.
  2. logicg8

    Extending a class versus new class with static methods

    Great. Thanks again for your help. Do you have any design books that you would recommend?
  3. logicg8

    Extending a class versus new class with static methods

    The FilteredController idea with interfaces is great. Thanks for the excellent advice. Yes; after looking at your approach and thinking about the design a bit more, I think I have two layers of filtering. One would be the initial decision if we should process the message (canProcess). Then, out...
  4. logicg8

    Extending a class versus new class with static methods

    I meant to also note that the decision to process the Message is in another class (e.g. Controller). The MessageFilter or FilterableMessage would only tell the Controller the type of Message (via a boolean). For example the Controller would make a call like this... if...
  5. logicg8

    Extending a class versus new class with static methods

    Thanks for the reply. The language will be Java. Message is a very rich domain object (it's quickfix.Message and has methods to parse the message (private), etc. ). To determine the type of message, I look at the field values of the message. For example, if...
  6. logicg8

    Extending a class versus new class with static methods

    I am working with a library that has a class called Message. I need to have a way to determine if the message is a duplicate, a test message, or if it is one of a few other types of messages. The duplicate check will be made against a database. The rest of checks will be based on just the...

Part and Inventory Search

Back
Top