|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectse.citerus.dddsample.domain.model.voyage.Schedule
public class Schedule
A voyage schedule.
| Field Summary | |
|---|---|
static Schedule |
EMPTY
|
| Method Summary | |
|---|---|
java.util.List<CarrierMovement> |
carrierMovements()
|
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
boolean |
sameValueAs(Schedule other)
Value objects compare by the values of their attributes, they don't have an identity. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Schedule EMPTY
| Method Detail |
|---|
public java.util.List<CarrierMovement> carrierMovements()
public boolean sameValueAs(Schedule other)
ValueObject
sameValueAs in interface ValueObject<Schedule>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 | |||||||||