|
tauZaman v0.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--tauzaman.calendricsystem.CalendricSystemRepository
CalendricSystemRepositoryr class is the entrance point of calendric
systems and calendars that they contain. It forms and maintains
new CalendricSystem and Calendars
through a CalendarRepository. For a user to use services of
tauzaman there are two main registration process. One of them is
done once, which is registering to system. And the other one, is registering
to a service of a particular CalendricSystem. Latter can be done
for a limited number of times depending on the maximum number of different
CalendricSystems that can be used.
CalendricSystem,
Calendar| Constructor Summary | |
CalendricSystemRepository(CalendarRepository cr)
Constructs a Calendric System Manager and allocates memory for database of CalendricSystem. |
|
| Method Summary | |
java.net.URL[] |
getAllCalendricSystemUrls()
Returns urls of all CalendricSystems in the database. |
CalendricSystem |
loadCalendricSystem(java.net.URL url)
Loads a CalendricSystem, given its URL and returns a handle to loaded
CalendricSystem. |
java.lang.String |
toString()
Returns urls of all CalendricSystems. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CalendricSystemRepository(CalendarRepository cr)
CalendricSystem.
cr - unique CalendarRepository that this
CalendricSystemRepository uses| Method Detail |
public CalendricSystem loadCalendricSystem(java.net.URL url)
throws CalendricSystemFormationException
CalendricSystem, given its URL and returns a handle to loaded
CalendricSystem. If a CalendricSystem with given URL already
exists in the database, then just return a handle without further loading.
url - URL of CalendricSystem specification to be loaded
CalendricSystem
CalendricSystemFormationException - if there is any problem occurs
when parsing the specification file pointed by URLpublic java.net.URL[] getAllCalendricSystemUrls()
CalendricSystems in the database.
public java.lang.String toString()
CalendricSystems.
toString in class java.lang.Object
|
tauZaman v0.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||