de.janrufmonitor.framework
Interface ICaller

All Superinterfaces:
Cloneable
All Known Subinterfaces:
IMultiPhoneCaller

public interface ICaller
extends Cloneable

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

Author:
Thilo Brandt

Method Summary
 Object clone()
          Clones this caller to one-to-one copied object
 IAttribute getAttribute(String attName)
          Gets a specific attribute of the caller.
 IAttributeMap getAttributes()
          Gets the attribute map with all attributes of the caller.
 IName getName()
          Gets the name object of the caller.
 IPhonenumber getPhoneNumber()
          Gets the phone number of the caller.
 String getUUID()
          Gets the UUID of the caller.
 void setAttribute(IAttribute att)
          Sets a attribute of a caller.
 void setAttributes(IAttributeMap attMap)
          Sets a attribute map of a caller.
 void setName(IName name)
          Sets a name object of a caller.
 void setPhoneNumber(IPhonenumber phonenumber)
          Sets a phone number object of a caller.
 void setUUID(String uuid)
          Sets a unique identifier of a caller.
 

Method Detail

setUUID

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

Parameters:
uuid - UUID of the caller to be set

setPhoneNumber

void setPhoneNumber(IPhonenumber phonenumber)
Sets a phone number object of a caller.

Parameters:
phonenumber - phone number object of the caller to be set

setName

void setName(IName name)
Sets a name object of a caller.

Parameters:
name - name object of the caller to be set

setAttribute

void setAttribute(IAttribute att)
Sets a attribute of a caller.

Parameters:
att - attribute of the caller to be set

setAttributes

void setAttributes(IAttributeMap attMap)
Sets a attribute map of a caller.

Parameters:
attMap - attribute map of the caller to be set

getUUID

String getUUID()
Gets the UUID of the caller.

Returns:
UUID of the caller.

getPhoneNumber

IPhonenumber getPhoneNumber()
Gets the phone number of the caller.

Returns:
phone number of the caller.

getName

IName getName()
Gets the name object of the caller.

Returns:
name object of the caller.

getAttribute

IAttribute getAttribute(String attName)
Gets a specific attribute of the caller.

Parameters:
attName - name of the attribute
Returns:
attribute of the caller.

getAttributes

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

Returns:
attribute map of the caller.

clone

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

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


Copyright © 2010 by Thilo Brandt. All Rights Reserved.