|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRule
This interface must be implemented by a rule object. A rule simply consists of a service name (the service the rule is assigned to, a MSN and a CIP.
| Method Summary | |
|---|---|
ICip |
getCip()
Gets the CIP object of the rule |
IPhonenumber[] |
getExcludePhonenumbers()
Gets the excluded phonenumbers to which this rule applies to |
IMsn |
getMsn()
Gets the MSN object of the rule |
String |
getName()
Gets the name of this rule. |
IPhonenumber[] |
getPhonenumbers()
Gets the phonenumbers to which this rule applies to |
String |
getServiceID()
Gets the ID of the service the rule is assigned to. |
String |
getTimeslot()
Gets the timeslot this rule is valid in. |
boolean |
isActive()
Gets the status of this rule |
boolean |
isValid()
Checks if the rule is valid |
void |
setActive(boolean active)
Set the status of this rule |
void |
setCip(ICip cip)
Sets the CIP object of the rule |
void |
setExcludePhonenumbers(IPhonenumber[] phones)
Sets the excluded phonenumbers to which this rule applies to |
void |
setMsn(IMsn msn)
Sets the MSN object of the rule |
void |
setName(String name)
Sets the name of this rule. |
void |
setPhonenumbers(IPhonenumber[] phones)
Sets the phonenumbers to which this rule applies to |
void |
setService(String serviceID)
Sets the ID of the service the rule is assigned to. |
void |
setTimeslot(String ts)
Sets the timeslot this rule is valid in. |
| Method Detail |
|---|
void setName(String name)
name - String getName()
boolean isValid()
void setService(String serviceID)
serviceID - the servcie ID of the assigned servicevoid setMsn(IMsn msn)
msn - MSN to be setvoid setCip(ICip cip)
msn - CIP to be setString getServiceID()
IMsn getMsn()
ICip getCip()
void setActive(boolean active)
active - falg to determine if rule is activeboolean isActive()
void setPhonenumbers(IPhonenumber[] phones)
phones - phonenumbers to which this rule applies toIPhonenumber[] getPhonenumbers()
IPhonenumber[] getExcludePhonenumbers()
void setExcludePhonenumbers(IPhonenumber[] phones)
phones - phonenumbers to which this rule applies toString getTimeslot()
void setTimeslot(String ts)
ts - encoded timeslot data
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||