input
stringlengths
10
828
output
stringlengths
5
107
public calendar get calendar string property code object property return retrieve by property property code property
retrieves the first calendar whose property with a property code is equal
public year create year int number year year new year this year set number number year create months get years add year return year
creates a year
public year get year integer number return year get years get year number number
gets the year given a year number
public calendars get calendars string property code object property return calendars select by property property code property
selects calendars whose property with a property code is equal to a
public year get year int number return get year new integer number
gets the year given a year number
public calendars get calendars property rule calendar rule return calendars select by rule rule
gets calendars selected by a property rule
public year get current year int current year number easy calendar get one get current year return get year current year number
gets the current year
public int get current year number int number 0 year year get current year if year null number year get number int value return number
gets the current year number
public calendars get calendars order rule calendar rule return calendars order by rule rule
gets calendars ordered by an order rule
public boolean is calbadar boolean result false if this get code equals calbadar result true return result
checks if this calendar is calbadar
public calendars get calendars ordered by code boolean ascending order rule calendar rule order rule define order code ascending return get calendars rule
gets calendars ordered by code
private void create days gregorian calendar calendar int no of days calendar get actual maximum calendar day of month for int i 1 i no of days i create day i
creates days for the given calendar
private void create day int number day day new day this day set number number get days add day
creates a day for the given day number
public int get first week first day number int month number get number int value gregorian calendar calendar new gregorian calendar calendar set calendar year this get year get number int value calendar set calendar month month number 1 first month is 0 calendar set calendar day of month 1 sets the first wek return calendar get calendar day of week
gets the first day number in the first week of the month
public day get day integer number return day get days get day number number
gets the day given a day number
public month get month oid oid return retrieve by oid oid
retrieves the month with a given oid
public day get day int number return get day new integer number
gets the day given a day number
public month get month long oid unique number return get month new oid oid unique number
retrieves the month with a given oid unique number
public day get current day day day null if is current int current day number easy calendar get one get current day day get day current day number return day
gets the current day but only if this month is the current one
public month get month string property code object property return retrieve by property property code property
retrieves the first month whose property with a property code is equal to
public int get current day number int number 0 day day get current day if day null number day get number int value return number
gets the current day number
public months get months string property code object property return months select by property property code property
selects months whose property with a property code is equal to a property
public boolean is current boolean result false easy calendar easy calendar easy calendar get one if this get year get number int value easy calendar get current year if get number int value easy calendar get current month result true return result
checks if this month is the current month
public months get months property rule month rule return months select by rule rule
gets months selected by a property rule
public notes get notes notes result new notes get day 1 days days this get days day day note note for iterator x days iterator x has next day day x next notes daily notes day get notes if daily notes null note note day get notes first if note null result add note return result
gets monthly notes
public months get months order rule month rule return months order by rule rule
gets months ordered by an order rule
public notes get notes string selection notes selected notes null property rule note rule property rule define contain text selection selected notes get notes get notes rule return selected notes
gets selected notes
public months get months ordered by number boolean ascending order rule month rule order rule define order number ascending return get months rule
gets months ordered by number
private void create calbadar calendar calendar calendar new calendar calbadar calbadar set initialized false calendar set code calbadar calendar set description dm lite model swing views calendar create year calbadar get calendars add calendar calbadar set initialized true
creates only one calbadar calendar
public calendar get calbadar calendar calendar calendar null calendars calendars calbadar get calendars if calendars null calendar calendars get calendar code calbadar return calendar
gets the calbadar calendar
public note get note oid oid return retrieve by oid oid
retrieves the note with a given oid
public note get note long oid unique number return get note new oid oid unique number
retrieves the note with a given oid unique number
private ipersistent entities get persistent calendars ipersistent model persistent calbadar persistent util get persistent models get persistent model calbadar ipersistent entities persistent calendars persistent calbadar get persistent entry calendars return persistent calendars
gets the persistent calendars
public note get note string property code object property return retrieve by property property code property
retrieves the first note whose property with a property code is equal to
public xml entities get xml calendars persistent entities persistent calendars persistent entities get persistent calendars xml entities xml calendars xml entities persistent calendars get store entities return xml calendars
gets the xml calendars
public notes get notes string property code object property return notes select by property property code property
selects notes whose property with a property code is equal to a property
public notes get contain text notes string sub text property rule note rule property rule define contain text sub text return get notes rule
gets notes that contain the given text
public void set number integer number int no number int value if 0 no no 31 super set number number
sets a number
public notes get notes property rule note rule return notes select by rule rule
gets notes selected by a property rule
public notes get notes order rule note rule return notes order by rule rule
gets notes ordered by an order rule
public notes get notes ordered by text boolean ascending order rule note rule order rule define order text ascending return get notes rule
gets notes ordered by text
public day get day oid oid return retrieve by oid oid
retrieves the day with a given oid
public day get day long oid unique number return get day new oid oid unique number
retrieves the day with a given oid unique number
public day get day string property code object property return retrieve by property property code property
retrieves the first day whose property with a
public game get game return game super get domain
gets the game domain
public days get days string property code object property return days select by property property code property
selects days whose property with a property code is equal to a property
public days get days property rule day rule return days select by rule rule
gets days selected by a property rule
public days get days ordered by number boolean ascending order rule day rule order rule define order number ascending return get days rule
gets days ordered by number
public car model get car model oid oid return retrieve by oid oid
retrieves the car model with a given oid
public car model get car model long oid unique number return get car model new oid oid unique number
retrieves the car model with a given oid unique number
public car model get car model string property code object property return retrieve by property property code property
retrieves the first car model whose property with a property code is equal
public string get color name return color name
gets color name
public car models get car models string property code object property return car models select by property property code property
selects car models whose property with a property code is equal to a
public car models get car models property rule car model rule return car models select by rule rule
gets car models selected by a property rule
public car models get length car models integer length property rule car model rule property rule define equal length length return get car models rule
gets length car models
public car models get red car models integer red property rule car model rule property rule define equal red red return get car models rule
gets red car models
public car models get car models ordered by code boolean ascending order rule car model rule order rule define order code ascending return get car models rule
gets car models ordered by code
public car models get car models ordered by length boolean ascending order rule car model rule order rule define order length ascending return get car models rule
gets car models ordered by length
public car models get car models ordered by red boolean ascending order rule car model rule order rule define order red ascending return get car models rule
gets car models ordered by red
public car models get car models ordered by green boolean ascending order rule car model rule order rule define order green ascending return get car models rule
gets car models ordered by green
public car models get car models ordered by blue boolean ascending order rule car model rule order rule define order blue ascending return get car models rule
gets car models ordered by blue
public parking get parking oid oid return retrieve by oid oid
retrieves the parking with a given oid
public parking get parking long oid unique number return get parking new oid oid unique number
retrieves the parking with a given oid unique number
public parking get parking string property code object property return retrieve by property property code property
retrieves the first parking whose property with a property code is equal
public parkings get parkings string property code object property return parkings select by property property code property
selects parkings whose property with a property code is equal to a
public parkings get parkings property rule parking rule return parkings select by rule rule
gets parkings selected by a property rule
public parkings get area parkings long area property rule parking rule property rule define equal area oid area return get parkings rule
gets area parkings
public parkings get area parkings oid area return get area parkings area get unique number
gets area parkings
public parkings get area parkings area area return get area parkings area get oid
gets area parkings
public void set area oid long area oid this area oid area oid area null
sets area oid
public parkings get parkings ordered by area oid boolean ascending order rule parking rule order rule define order area oid ascending return get parkings rule
gets parkings ordered by area oid
public long get area oid return area oid
gets area oid
public parkings get parkings ordered by number boolean ascending order rule parking rule order rule define order number ascending return get parkings rule
gets parkings ordered by number
public parkings get parkings return parkings
gets parking entities
public area get area oid oid return retrieve by oid oid
retrieves the area with a given oid
public area get area long oid unique number return get area new oid oid unique number
retrieves the area with a given oid unique number
public area get area string property code object property return retrieve by property property code property
retrieves the first area whose property with a property code is equal to
public car get car oid oid return retrieve by oid oid
retrieves the car with a given oid
public areas get areas string property code object property return areas select by property property code property
selects areas whose property with a property code is equal to a property
public areas get areas property rule area rule return areas select by rule rule
gets areas selected by a property rule
public car get car long oid unique number return get car new oid oid unique number
retrieves the car with a given oid unique number
public areas get areas order rule area rule return areas order by rule rule
gets areas ordered by an order rule
public areas get areas ordered by code boolean ascending order rule area rule order rule define order code ascending return get areas rule
gets areas ordered by code
public cars get cars string property code object property return cars select by property property code property
selects cars whose property with a property code is equal to a property
public cars get cars property rule car rule return cars select by rule rule
gets cars selected by a property rule
public cars get cars order rule car rule return cars order by rule rule
gets cars ordered by an order rule
public void set start row integer start row this start row start row
sets start row
public cars get orientation cars string orientation property rule car rule property rule define equal orientation orientation return get cars rule
gets orientation cars
public cars get start row cars integer start row property rule car rule property rule define equal start row start row return get cars rule
gets start row cars
public void set current row integer current row this current row current row
sets current row
public integer get current row return current row
gets current row
public cars get cars ordered by car model oid boolean ascending order rule car rule order rule define order car model oid ascending return get cars rule
gets cars ordered by car model oid
public cars get cars ordered by orientation boolean ascending order rule car rule order rule define order orientation ascending return get cars rule
gets cars ordered by orientation
public cars get cars ordered by start row boolean ascending order rule car rule order rule define order start row ascending return get cars rule
gets cars ordered by start row
public cars get cars ordered by start column boolean ascending order rule car rule order rule define order start column ascending return get cars rule
gets cars ordered by start column
public cars get cars if is initialized if cars null set initialized false cars all cars new cars this parkings parkings get parkings for parking parking parkings cars cars parking get cars for car car cars all cars add car cars all cars set initialized true return cars
gets cars for all parkings
public text get text return text super get domain
gets the text domain
private void ok set visible false dispose
closes the about dialog
public void action performed action event e if e get source ok button ok
event to close the about dialog
public void init try short note db short note db new short note db short note db load data string language obtain lang main window new main window short note db main window set location 0 0 main frame uses the select directory utility that is language dependant nat lang nat lang new nat lang nat lang set natural language language main window set nat lang nat lang catch exception e log error error in start init e get message
inits the applet