|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.itim.dataservices.model.system.Delegate
Represents a period of delegation and the SystemUser acting as the delegate.
Constructor Summary | |
Delegate()
Default constructor. |
|
Delegate(DistinguishedName delegateDN,
java.util.Date startDate,
java.util.Date endDate)
Constructs with the name of the delegate and the delegation period. |
Method Summary | |
boolean |
equals(Delegate delegate)
Provides equality comparision. |
DistinguishedName |
getDelegateDN()
Returns the distinguished name of the delegate. |
java.util.Date |
getEndDate()
Returns the date and time delegation ends (or ended) in a java.util.Date. |
java.util.Date |
getStartDate()
Returns the date and time delegation begins (or began) in a java.util.Date. |
void |
setEndDate(java.util.Date endDate)
Sets the date and time delegation ends specified in a java.util.Date. |
void |
setStartDate(java.util.Date startDate)
Sets the date and time delegation begins specified in a java.util.Date. |
java.lang.String |
toString()
Returns Delegate fields in a formatted String of three tokens as in: |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Delegate()
public Delegate(DistinguishedName delegateDN, java.util.Date startDate, java.util.Date endDate)
delegateDN
- DistinguishedName of the delegate SystemUser.startDate
- Begining date/time of the delegation.endDate
- End date/time of the delegation.Method Detail |
public DistinguishedName getDelegateDN()
public java.util.Date getStartDate()
public void setStartDate(java.util.Date startDate)
startDate
- Date object holding date and time delegation begins.public java.util.Date getEndDate()
public void setEndDate(java.util.Date endDate)
endDate
- Date object holding the date and time delegation ends.public java.lang.String toString()
eruid=APrice,ou=systemUser,ou=itim,ou=Root,dc=com$200202041821Z$200202041821Z
where token 1 is the systemUser DN (the delegate), token 2 is the start date (when delegation begins) and token 3 is the end date (end of delegation).
toString
in class java.lang.Object
public boolean equals(Delegate delegate)
Delegate
- to compare.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |