|
Oracle Communications Converged Application Server Java API Reference 5.1 E36938-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Validity
Part of the conditions that matches on the time the request is received. It defines a period in time. A Validity can be created by calling com.oracle.sft.xcap.client.policy.Conditions.createCondition(Class<C>)
Conditions| Method Summary | |
|---|---|
void |
addFromAndUntil(XMLGregorianCalendar from, XMLGregorianCalendar until)Add a pair of from and until. |
void |
delFromAndUntil(int index)Delete the from and until time pair of the given index. |
From |
getFrom()Provides the start time of the period. |
List<XMLGregorianCalendar> |
getFromAndUntil(int index)Provides the from and until time pair of the given index. |
List<From> |
getFroms()Provides a list of all From of this Validity. |
Until |
getUntil()Provides the end time of the period. |
List<Until> |
getUntils()Provides a list of all Until of this Validity. |
| Methods inherited from interface com.oracle.sft.xcap.client.policy.Condition |
|---|
getType |
| Methods inherited from interface com.oracle.sft.xcap.client.XcapElement |
|---|
getDocument, getNamespace, getNodeSelector, getParent |
| Methods inherited from interface com.oracle.sft.xcap.client.XcapResource |
|---|
getContent, getContentType, getUrl, setContent |
| Method Detail |
|---|
From getFrom()
Until getUntil()
List<From> getFroms()
List<Until> getUntils()
List<XMLGregorianCalendar> getFromAndUntil(int index)
index - the pair's location, starts from 0.void delFromAndUntil(int index)
index - the pair's location, starts from 0.
void addFromAndUntil(XMLGregorianCalendar from,
XMLGregorianCalendar until)
from - the from timeuntil - the until time
|
Oracle Communications Converged Application Server Java API Reference 5.1 E36938-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 2012 Oracle Corporation. All Rights Reserved.