de.janrufmonitor.framework
Interface ICall

All Superinterfaces:
Cloneable

public interface ICall
extends Cloneable

This interface must be implemented by a Call object, which should be used in the framework.

Author:
Thilo Brandt

Method Summary
 Object clone()
          Clones this call to one-to-one copied object
 IAttribute getAttribute(String name)
          Gets a specific attribute the call.
 IAttributeMap getAttributes()
          Gets the map with all attributes of the call.
 ICaller getCaller()
          Gets the caller object of the call.
 ICip getCIP()
          Gets the CIP (common ISDN access profile) of the call.
 Date getDate()
          Gets the date of the call.
 IMsn getMSN()
          Gets the MSN (multiple subscriber number) of the call.
 String getUUID()
          Gets the UUID of the call.
 void setAttribute(IAttribute att)
          Sets an attribute of a call.
 void setAttributes(IAttributeMap attMap)
          Sets multiple attributes with an attribute list of a call.
 void setCaller(ICaller caller)
          Sets a caller object of a call.
 void setCIP(ICip cip)
          Sets the CIP (common ISDN access profile) of a call.
 void setDate(Date date)
          Sets the date of a call.
 void setMSN(IMsn msn)
          Sets a MSN (multiple subscriber number) object of a call.
 void setUUID(String uuid)
          Sets a unique identifier of a call.
 

Method Detail

setUUID

void setUUID(String uuid)
Sets a unique identifier of a call.

Parameters:
uuid - UUID of the call to be set

setCaller

void setCaller(ICaller caller)
Sets a caller object of a call.

Parameters:
caller - caller of the call to be set

setMSN

void setMSN(IMsn msn)
Sets a MSN (multiple subscriber number) object of a call.

Parameters:
msn - MSN of the call to be set

setDate

void setDate(Date date)
Sets the date of a call.

Parameters:
date - date of the call to be set

setCIP

void setCIP(ICip cip)
Sets the CIP (common ISDN access profile) of a call.

Parameters:
cip - CIP of the call to be set

setAttribute

void setAttribute(IAttribute att)
Sets an attribute of a call.

Parameters:
att - attribute of the call to be set

setAttributes

void setAttributes(IAttributeMap attMap)
Sets multiple attributes with an attribute list of a call.

Parameters:
attMap - map of attributes to be set

getUUID

String getUUID()
Gets the UUID of the call.

Returns:
UUID of the call.

getCIP

ICip getCIP()
Gets the CIP (common ISDN access profile) of the call.

Returns:
CIP of the call.

getDate

Date getDate()
Gets the date of the call.

Returns:
date of the call.

getCaller

ICaller getCaller()
Gets the caller object of the call.

Returns:
caller of the call.

getMSN

IMsn getMSN()
Gets the MSN (multiple subscriber number) of the call.

Returns:
MSN of the call.

getAttribute

IAttribute getAttribute(String name)
Gets a specific attribute the call.

Parameters:
name - name of the attribute
Returns:
the requested attribute

getAttributes

IAttributeMap getAttributes()
Gets the map with all attributes of the call.

Returns:
attribute map of the call.

clone

Object clone()
             throws CloneNotSupportedException
Clones this call to one-to-one copied object

Returns:
a one-to-one copy of this call.
Throws:
CloneNotSupportedException


Copyright © 2010 by Thilo Brandt. All Rights Reserved.