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 Mike Lewis 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. maiago

    Relationship between subclasses

    Ok, I just want to understand if there was a way to avoid downcasting or "if" statements, in order to ensure the right use of the system just with the Java compiler. Thank's for the tips! Bye
  2. maiago

    Relationship between subclasses

    And so class CarType1 like: public class CarType1 extends Car { private DriverType1 driver; setDriver (Driver _driver) { driver=(DriverType1)_driver; } getDriver (Driver _driver) ... } Simply I'd like to avoid the downcast.
  3. maiago

    Relationship between subclasses

    Ok. In this way I will have a method in Car such as setDriver(:Driver). I just think about this solution. But in subclasses CarType1 and CarType2 I will have to put a method with the same signature, and I would like instead methods like setDriver(:DriverType1) and setDriver(:DriverType2) but in...
  4. maiago

    Relationship between subclasses

    Hi. A question about relationship between subclasses of two hierarchies. If I have two hierarchies, where root classes are, for example: Car and Driver. Subclasses are CarType1,CarType2 and DriverType1,DriverType2. I want to model a relation such as "drive" or "is driven by", but I want to say...
  5. maiago

    Archive with quality control

    ...sorry. In the first question: ...A "Reader" class will be associated to each "EPeople" is wrong, I mean: ...A "Reader" class will be associated to each "EPerson" ...Your idea works in the same way? I mean: ...Your idea works also in this situation? bye
  6. maiago

    Archive with quality control

    Thanks Gil. I'm astonished for the quality and the speed of your response... I'm not an expert, and so my judgement could not be so important but I loss days on this problem without getting a so functional solution. My problem, I think, was my typical object-oriented newbies approach: I look...
  7. maiago

    Archive with quality control

    I have an installation of DSpace, a MIT open-source software that manages self-archiving. I need to implement a subsystem on it in order to introduce quality control. The requirements of the subsystem are explained in the paper www.dimi.uniud.it/~mizzaro/research/papers/EJ-JASIST.pdf. I have...

Part and Inventory Search

Back
Top