org.openliberty.arisid.policy
Interface ILifetimeConstraint
- All Superinterfaces:
- IAssertion, IPolicyComponent
public interface ILifetimeConstraint
- extends IAssertion
The time period for which data MAY be retained for active use by the
requestor.
<element name="LifeTimeConstraint">
<complexType>
<choice>
<sequence>
<element name="Minutes" type="int"/>
<element name="Hours" type="int"/>
</sequence>
<sequence>
<element name="StartTime" type="dateTime"/>
<element name="EndTime" type="dateTime"/>
</sequence>
</choice>
<attribute ref="pri:Issuer"/>
</complexType>
</element>
Method Summary |
java.util.Date |
getEndDate()
Returns The date until which the associated value is valid |
int |
getHours()
|
int |
getMinutes()
|
java.util.Date |
getStartDate()
Returns The date from which the associated value is valid |
NAMESPACE
static final java.lang.String NAMESPACE
- See Also:
- Constant Field Values
ELEMENT
static final java.lang.String ELEMENT
- See Also:
- Constant Field Values
ELEMENT_STARTDATE
static final java.lang.String ELEMENT_STARTDATE
- See Also:
- Constant Field Values
ELEMENT_ENDDATE
static final java.lang.String ELEMENT_ENDDATE
- See Also:
- Constant Field Values
ELEMENT_MINS
static final java.lang.String ELEMENT_MINS
- See Also:
- Constant Field Values
ELEMENT_HOURS
static final java.lang.String ELEMENT_HOURS
- See Also:
- Constant Field Values
qelement
static final javax.xml.namespace.QName qelement
qStart
static final javax.xml.namespace.QName qStart
qEnd
static final javax.xml.namespace.QName qEnd
qMins
static final javax.xml.namespace.QName qMins
qHours
static final javax.xml.namespace.QName qHours
getMinutes
int getMinutes()
- Returns:
- The number of minutes this constraint is valid for from receipt
or -1 if this constraint is defined by a DateTime instead.
getHours
int getHours()
- Returns:
- The number of hours this constraint is valid from receipt for or
-1 if this constraint is defined by a DateTime instead.
getStartDate
java.util.Date getStartDate()
- Returns The date from which the associated value is valid
- Returns:
- A Date which is the point at which information is valid or null
getEndDate
java.util.Date getEndDate()
- Returns The date until which the associated value is valid
- Returns:
- A Date which is the point until which information is valid or
null