|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.itim.apps.recon.ReconUnitData
Represents a reconciliation unit configured for a given resource or service.
A resource or service can have multiple reconciliation units configured with
different schedule information. So no two reconciliation units for the same
resource, can have the same schedule information.
A new reconciliation unit created with the default constructor
has the following default values :-
Constructor Summary | |
---|---|
ReconUnitData()
Default constructor, initializes a reconciliation unit with following default values - ID - 0 Minute - Calendar.MINUTE Hour - Calendar.HOUR Day of Month - Calendar.DAY_OF_MONTH Month - Calendar.MONTH Day of Week - 0 Max Duration - 600 minutes Lock Service - true Recon query filter - null Recon query attributes - Empty list, but this implies all attributes applicable for the resource will be reconciled. |
Method Summary | |
---|---|
int |
getDayOfMonth()
Returns the day of the month of schedule of this reconciliation unit. |
int |
getDayOfWeek()
Returns the day of the week of schedule of this reconciliation unit. |
int |
getHour()
Returns the hour of the schedule of this reconciliation unit. |
long |
getID()
Returns the reconciliation unit data id. |
long |
getLastReconDuration()
Returns the duration (in milliseconds) of the last reconciliation event. |
long |
getMaxDuration()
Returns the max duration the reconciliation process, launched using this reconciliation unit, can run. |
int |
getMinute()
Returns the minute of the schedule of this reconciliation unit. |
int |
getMonth()
Returns the month of the schedule of this reconciliation unit. |
java.util.Collection |
getReconQueryAttributes()
Returns the reconciliation query attributes associated with this reconciliation unit. |
java.lang.String |
getReconQueryFilter()
Returns the query filter associated with this reconciliation unit. |
boolean |
isLockService()
Returns true if the service is locked during reconciliation, else returns false. |
void |
setDayOfMonth(int dayOfMonth)
Changes the day of the month of schedule of this reconciliation unit. |
void |
setDayOfWeek(int dayOfWeek)
Changes the day of the week of schedule of this reconciliation unit. |
void |
setHour(int hour)
Changes the hour of the schedule of this reconciliation unit. |
void |
setID(long id)
Sets the reconciliation unit data id. |
void |
setLastReconDuration(long lastReconDuration)
Sets the duration (in milliseconds) of the last reconciliation event |
void |
setLockService(boolean lockService)
Indicates whether the service is locked during reconciliation. |
void |
setMaxDuration(long maxDuration)
Sets the max duration the reconciliation process, launched using this reconciliation unit, can run. |
void |
setMinute(int minute)
Changes the minute of the schedule of this reconciliation unit. |
void |
setMonth(int month)
Changes the month of the schedule of this reconciliation unit. |
void |
setReconQueryAttributes(java.util.Collection reconQueryAttributes)
Sets the attributes that are to be reconciled from the resource. |
void |
setReconQueryAttributes(java.util.Collection availableReconAttributes,
java.util.Collection excludedReconAttributes)
Sets the attributes that are to be reconciled from the resource. |
void |
setReconQueryFilter(java.lang.String filter)
Sets the reconciliation query filter associated with this reconciliation unit. |
java.lang.String |
toString()
Returns schedule information of this reconciliation unit in string format. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ReconUnitData()
Method Detail |
public long getID()
public void setID(long id)
id
- public boolean isLockService()
public void setLockService(boolean lockService)
lockService
- Primitive type boolean value.public long getMaxDuration()
public void setMaxDuration(long maxDuration)
maxDuration
- Max duration.public long getLastReconDuration()
public void setLastReconDuration(long lastReconDuration)
public int getMinute()
public void setMinute(int minute)
minute
- New minute to configure. Allowed values 0-59.public int getHour()
public void setHour(int hour)
hour
- New hour to configure. Allowed values 0-23. Use -1 to
configure hourly reconciliation.public int getMonth()
public void setMonth(int month)
month
- New month to configure (-1 if every month, 0 to ignore).
Allowed values 1-12 (1 = January, 2 = February,
...). java.util.Calendar constants can be used.public int getDayOfWeek()
public void setDayOfWeek(int dayOfWeek)
dayOfWeek
- New day of the week to configure
This attribute is exclusive with
dayOfMonth. Allowed values 1-7 (1 = Sunday,
2 = Monday, ...), 0 to ignore. java.util.Calendar
constants can be used.public int getDayOfMonth()
public void setDayOfMonth(int dayOfMonth)
dayOfMonth
- New day of the month to configure.
This attribute is exclusive with dayOfWeek.
Allowed values 1-31, -1 if every day, 0 to ignore.public java.lang.String getReconQueryFilter()
public void setReconQueryFilter(java.lang.String filter)
filter
- Reconciliation query filter.public java.util.Collection getReconQueryAttributes()
public void setReconQueryAttributes(java.util.Collection reconQueryAttributes)
reconQueryAttributes
- A collection of available reconciliation
query attributes.public void setReconQueryAttributes(java.util.Collection availableReconAttributes, java.util.Collection excludedReconAttributes)
availableReconAttributes
- A collection of all available
reconciliation query attribute
names.excludedReconAttributes
- A collection of reconciliation
query attributes to be excluded.public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |