INamedDestinationCollection

public interface INamedDestinationCollection

Collection of Named Destinations.

Methods

MethodDescription
get_Item(String name)Gets destination by its name.
set_Item(String name, IAppointment value)Sets destination by its name.
size()Returns count of the destinations.
remove(String name)Removes destination by its name.
add(String name, IAppointment appointment)Adds new named destination.
getNames()Gets array of names of the destinations.

get_Item(String name)

public abstract IAppointment get_Item(String name)

Gets destination by its name.

Parameters:

ParameterTypeDescription
namejava.lang.StringString value

Returns: IAppointment - IAppointment instance Destination object.

set_Item(String name, IAppointment value)

public abstract void set_Item(String name, IAppointment value)

Sets destination by its name.

Parameters:

ParameterTypeDescription
namejava.lang.StringString value
valueIAppointmentIAppointment instance Destination object.

size()

public abstract int size()

Returns count of the destinations.

Returns: int - int value

remove(String name)

public abstract void remove(String name)

Removes destination by its name.

Parameters:

ParameterTypeDescription
namejava.lang.StringString value

add(String name, IAppointment appointment)

public abstract void add(String name, IAppointment appointment)

Adds new named destination.

Parameters:

ParameterTypeDescription
namejava.lang.StringString value
appointmentIAppointmentIAppointment instance

getNames()

public abstract String[] getNames()

Gets array of names of the destinations.

Returns: java.lang.String[] - Array of String values