Mike Tilling

Ranch Hand
+ Follow
since Feb 17, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Mike Tilling

Thanks Ales,

does your assignment have this spec

"They take bookings only within 48 hours of the start of room occupancy" ?


Is the date field described as follows
"Date available : The single night to which this record relates, format is yyyy/mm/dd" ?

I see that you did not take date in consideration, if the owner is empty than you book the record, what if the date is not within the next 48 hours?

-when you book the record, you only provide the custoner ID, what about the new value for the date field, do you keep the same date for ever?

Regards
18 years ago
Edwin,

other question please

If date is after today +48 hours and the owner is empty, will the room be ready for booking?

Regards
Congratulations Ales,

Could you please look at this issue:

It is indicated in the assignment (UrlyBird) :
"They take bookings only within 48 hours of the start of room occupancy"

It also describes the field owner as follows:
"If this field is all blanks, the record is available for sale"

It describes the date field as follows:
"Date available : The single night to which this record relates, format is yyyy/mm/dd."


1- What do you provide as parameters when booking the selected record?

I will implement the booking method as follows (Thanks to Edwin Advice):

-On a create operation, I will provide all values including the customer

-The room can be booked if the owner is not empty regardless of what the date (available date) is. If the date is 10/10/2005 (one year ago) and the owner is not empty then the room can not be booked, what the user should do is to unbook the room to reset the owner into blanks or reaffect it to an other customer, the unbook reset the owner regardless of the date value.

in other words :

The booking request will be accepted if (date is today and owner is empty)
Or (date is tomorrow and owner is empty) or (date is after tomorrow and owner is empty).

2- Will this fit with the exam spec?

3-If date is after today +48 hours and the owner is empty, will the room be ready for booking?

Best Regards
18 years ago
Thanks Edwin

I understand that the room can be booked if the owner is not empty regardless of what the date (available date) is. If the date is 10/10/2005 (one year ago) and the owner is not empty then the room can not be booked, what the user should do is to unbook the room to reset the owner into blanks or reaffect it to an other customer, the unbook reset the owner regardless of the date value.

Thanks a milion
It is indicated in the assignment (UrlyBird) :
"They take bookings only within 48 hours of the start of room occupancy"

It also describes the field owner as follows:
"If this field is all blanks, the record is available for sale"

It describes the date field as follows:
"Date available : The single night to which this record relates, format is yyyy/mm/dd."

In my implementation:
1- On a create operation, I choose to provide all values except the customer,
I suppose the newly created record is for future booking purpose.

2- The record is ready for booking if date is today (the record is available for today) tomorrow or after tomorrow regardless of what does the owner field contain.

I am worried about this spec about the field owner "If this field (owner)
is all blanks, the record is available for sale". The booking system is
Based on the record availability and not on the content of the owner field.

When booking the record, a dialog box is prompted asking for the customer ID, the booking date and the duration which is the number of nights the room is booked for, if the booking date is prior to the today date or the record available date the user will be notified by an error message otherwise the booking request will be accepted and the date field will be the booking date increased by the duration (the number of nights the room is booked for).

Do I fit with the exam spec?

What do you provide as parameters when booking the selected record?

*I am thinking about changing the way I am booking the record as follows:

- On a create operation, I will provide all values including the customer.
- The booking request will be accepted if (date is today and owner is empty)
Or (date is tomorrow and owner is empty) or (date is after tomorrow and owner is empty)

Will that fit better?

If date is after today +48 hours and the owner is empty, will the room be ready for booking?
Thanks Robert,

Could you please look at these :

1- It is indicated in the assignment (UrlyBird) :
"They take bookings only within 48 hours of the start of room occupancy"

It also describes the field owner as follows:
"If this field is all blanks, the record is available for sale"

It describes the date field as follows:
"Date available : The single night to which this record relates, format is yyyy/mm/dd."

In my implementation:

- On a create operation, I choose to provide all values except the customer,
I suppose the newly created record is for future booking purpose.

- The record is ready for booking if date is today (the record is available for today)tomorrow or after tomorrow regardless of what does the owner field contain.

I am worried about this spec about the field owner "If this field (owner)
is all blanks, the record is available for sale". In my implementation the booking system is based on the record availability and not on the content of the owner field.

Do I fit with the exam spec?


2- When I run javadoc the resultant documentation contains comments of the classes members but it does not include the classes comments. For example

/**
* class comment
*/
public class ClassExample {

/**
* method comment
*/
public methodExample {
int a = 1+2;
}
}


When I run javadoc tool I obtain an html file that contains the methodExample comment but it does not contain the ClassExample comment.

How can I use javadoc so that the resultant html files include the class comments? does your javadoc documentation include the classes comments?

Best Regards
18 years ago
Robert,

Is it required to keep the same suncertify.properties file even when the user changes the working directory?

In my implementation :

the settings are persistent in the working directory, so the user doesn't need to retype his settings the next time the app is launched again from the SAME (!!!) working directory. but if the user changes the working directory, he will have to retype all the settings for the first time the application is launched in this new directory.

did you have this requirement in your assignement ?
"All configuration must be done via a GUI, and must be persistent between runs of the program. Such configuration information must be stored in a file called suncertify.properties which must be located in the current working directory."

I will be happy if you had the same spec, and you did not manage to move the same suncertify.priperties file between the directories if changed by the user.

Best Regards
18 years ago
Hi

It is indicated in the assignment (UrlyBird) :
�They take bookings only within 48 hours of the start of room occupancy�

It also describes the field owner as follows:
�If this field is all blanks, the record is available for sale�

It describes the date field as follows:
�Date available : The single night to which this record relates, format is yyyy/mm/dd.�

In my implementation:
1- On a create operation, I choose to provide all values except the customer,
I suppose the newly created record is for future booking purpose.

2- The record is ready for booking if date is today (the record is available for today)
Tomorrow or after tomorrow regardless of what does the owner field contain.

I am worried about this spec about the field owner "If this field (owner)
is all blanks, the record is available for sale". The booking system is
Based on the record availability and not on the content of the owner field.

Do I fit with the exam spec?
Hi

When I run javadoc the resultant documentation contains comments of the classes members but it does not include the classes comments. For example

/**
* class comment
*/
public class ClassExample {

/**
* method comment
*/
public methodExample {
int a = 1+2;
}
}


When I run javadoc tool I obtain an html file that contains the methodExample comment but it does not contain the ClassExample comment.

How can I use javadoc so that the resultant html files include the class comments.
Congratulations Robert

I wonder if you can help me with this :

-It is indicated in my assignment "All configuration must be done via a GUI, and must be persistent between runs of the program. Such configuration information must be stored in a file called suncertify.properties which must be located in the current working directory."

In my implementation, if the user change the working directory, suncertify.properties file will be recreated from scratch, all the properties stored in the suncertify.properties file when working in the old directory will be lost. Does this fit with the exam spec?

in other words :
-Is it required to keep the same suncertify.properties file even when the user changes the working directory?

Best Regards
18 years ago
Hi

When I run javadoc the resultant documentation contains comments of the classes members but it does not include the classes comments. For example

/**
* class comment
*/
public class ClassExample {

/**
* method comment
*/
public methodExample {
int a = 1+2;
}
}


When I run javadoc tool I obtain an html file that contains the methodExample comment but it does not contain the ClassExample comment.

How can I use javadoc so that the resultant html files include the class comments.
Thanks Cindi,

On a create operation, I choose to provide all values except the customer, I suppose that the newly created record is for future booking purpose.

I am worried about this spec "If this field (owner) is all blanks, the record is available for sale", I managed to set it to blanks if the record becomes ready for booking (date field is today or before today)

Best Regards
Hi

does someone pass the exam withbout carrying about the user working directory? I mean if the user changes the working directory, the suncertify.properties file will be recreated from scratch and the user will have to provide again all the settings via the GUI.
That's it

Is it required to keep the same suncertify.properties file even when the user changes the working directory?

Best Regards