Methods Summary |
---|
public void | addOldStay(java.util.Date startDate, java.util.Date endDate, java.lang.String vessel, java.lang.String authoriser, java.lang.String comments)
Stay stay = new Stay( this, startDate, endDate, vessel, authoriser, comments );
addOldStay( stay );
|
public void | addOldStay(Stay stay)
Collection stays = getOldStays();
if ( stays == null ) {
stays = new ArrayList();
}
stays.add( stay );
this.oldStays = stays;
|
public void | addStay(java.util.Date startDate, java.util.Date endDate, java.lang.String vessel, java.lang.String authoriser, java.lang.String comments)
Stay stay = new Stay( this, startDate, endDate, vessel, authoriser, comments );
addStay( stay );
|
public void | addStay(Stay stay)
Collection stays = getStays();
if ( stays == null ) {
stays = new ArrayList();
}
stays.add( stay );
this.stays = stays;
|
public void | addVeryOldStay(java.util.Date startDate, java.util.Date endDate, java.lang.String vessel, java.lang.String authoriser, java.lang.String comments)
Stay stay = new Stay( this, startDate, endDate, vessel, authoriser, comments );
addVeryOldStay( stay );
|
public void | addVeryOldStay(Stay stay)
Collection stays = getVeryOldStays();
if ( stays == null ) {
stays = new ArrayList();
}
stays.add( stay );
this.veryOldStays = stays;
|
public java.lang.String | getCompanyName()
return companyName;
|
public java.lang.String | getFirstName()
return firstName;
|
public java.lang.Long | getId()
return id;
|
public java.lang.String | getLastName()
return lastName;
|
public java.util.Collection | getOldStays()
return oldStays;
|
public java.util.Collection | getStays()
return stays;
|
public java.util.Collection | getVeryOldStays()
return veryOldStays;
|
public void | setCompanyName(java.lang.String companyName)
this.companyName = companyName;
|
public void | setFirstName(java.lang.String firstName)
this.firstName = firstName;
|
public void | setId(java.lang.Long id)
this.id = id;
|
public void | setLastName(java.lang.String lastName)
this.lastName = lastName;
|
public void | setOldStays(java.util.Collection oldStays)
this.oldStays = oldStays;
|
public void | setStays(java.util.Collection stays)
this.stays = stays;
|
public void | setVeryOldStays(java.util.Collection veryOldStays)
this.veryOldStays = veryOldStays;
|