|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--cnrg.itx.ds.LocationList | +--cnrg.itx.ds.CustomLocation
This class represents a list of locations with user-specified time interval.
Constructor Summary | |
CustomLocation(java.util.Calendar startTime,
java.util.Calendar endTime,
LocationList lstLocation)
Constructor |
|
CustomLocation(java.lang.String strRawString)
Constructor for formatted entry string retrieved from the directory database. |
Method Summary | |
boolean |
currentValid()
Check if this custom location object is currently valid for use |
java.util.Calendar |
getEndTime()
Get EndTime |
LocationList |
getLocationList()
Get Location list |
java.util.Calendar |
getStartTime()
Get StartTime |
void |
setEndTime(java.util.Calendar newEndTime)
Set EndTime |
void |
setLocationList(LocationList newLocList)
Set the Location list to the given new location list |
void |
setStartTime(java.util.Calendar newStartTime)
Set StartTime |
java.lang.String |
toString()
Convert into formatted entry string to be stored in the directory database |
Methods inherited from class cnrg.itx.ds.LocationList |
add,
add,
count,
first,
getAt,
next,
removeAll,
reset |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public CustomLocation(java.util.Calendar startTime, java.util.Calendar endTime, LocationList lstLocation)
startTime
- specifying the starting timeendTime
- specifying the ending timelstLocation
- list of locationpublic CustomLocation(java.lang.String strRawString)
strRawString
- formatted entry stringMethod Detail |
public boolean currentValid()
public java.util.Calendar getStartTime()
public java.util.Calendar getEndTime()
public LocationList getLocationList()
public void setStartTime(java.util.Calendar newStartTime)
newStartTime
- specifying a new starting timepublic void setEndTime(java.util.Calendar newEndTime)
newEndTime
- specifying a new end timepublic void setLocationList(LocationList newLocList)
newLocList
- the given new location list (if newLocList is null or empty, it does nothing and exits)public java.lang.String toString()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |