org.rr0.im.business.event.circumstance
Class IntervalMomentImpl


public class IntervalMomentImpl
implements Moment

Fuzzy Moment implementation.

Author:
Jérôme Beau
Version: 4 mai 2003 00:17:49

Field Summary
 private PreciseMomentbeginingMoment
           
 private PreciseMomentendMoment
           

Constructor Summary
IntervalMomentImpl(PreciseMoment beginingMoment, PreciseMoment endMoment)
           

Method Summary
 MomentgetBegining()
           
 DurationgetDuration()
           
 MomentgetEnd()
           
 TimeLinegetHistory()
          A set of events about the life of that being
 booleanisAfter(Moment otherMoment)
          If this moment is chronologically after an other moment
 booleanisBefore(Moment otherMoment)
           

Field Detail

beginingMoment

private PreciseMoment beginingMoment

endMoment

private PreciseMoment endMoment
Constructor Detail

IntervalMomentImpl

public IntervalMomentImpl(PreciseMoment beginingMoment, PreciseMoment endMoment)
Method Detail

getBegining

public Moment getBegining()

getDuration

public Duration getDuration()

getEnd

public Moment getEnd()

getHistory

public TimeLine getHistory()
A set of events about the life of that being
Returns: A collection of Events
associates <{org.rr0.im.business.event.Event}>
supplierRole history/bio
supplierCardinality 1..*

isAfter

public boolean isAfter(Moment otherMoment)
If this moment is chronologically after an other moment
Parameters:
otherMoment The other moment
Returns: If this moment is after the other one.

isBefore

public boolean isBefore(Moment otherMoment)

Association Links

to Class org.rr0.im.business.event.circumstance.PreciseMoment

to Class org.rr0.im.business.event.circumstance.PreciseMoment

to Class org.rr0.im.business.event.Event

A set of events about the life of that being

Supplier Role history/bio
Supplier Cardinality 1..*
associates <{org.rr0.im.business.event.Event}>
return A collection of Events