|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectse.citerus.dddsample.domain.model.cargo.Delivery
public class Delivery
The actual transportation of the cargo, as opposed to the customer requirement (RouteSpecification) and the plan (Itinerary).
| Method Summary | |
|---|---|
java.util.Date |
calculatedAt()
|
Voyage |
currentVoyage()
|
boolean |
equals(java.lang.Object o)
|
java.util.Date |
estimatedTimeOfArrival()
|
int |
hashCode()
|
boolean |
isMisdirected()
Check if cargo is misdirected. |
boolean |
isUnloadedAtDestination()
|
Location |
lastKnownLocation()
|
HandlingActivity |
nextExpectedActivity()
|
RoutingStatus |
routingStatus()
|
boolean |
sameValueAs(Delivery other)
Value objects compare by the values of their attributes, they don't have an identity. |
TransportStatus |
transportStatus()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public TransportStatus transportStatus()
public Location lastKnownLocation()
public Voyage currentVoyage()
public boolean isMisdirected()
true if the cargo has been misdirected,public java.util.Date estimatedTimeOfArrival()
public HandlingActivity nextExpectedActivity()
public boolean isUnloadedAtDestination()
public RoutingStatus routingStatus()
public java.util.Date calculatedAt()
public boolean sameValueAs(Delivery other)
ValueObject
sameValueAs in interface ValueObject<Delivery>other - The other value object.
true if the given value object's and this value object's attributes are the same.public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||