INamedDestinationCollection
public interface INamedDestinationCollection
Collection of Named Destinations.
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
name | java.lang.String | String 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:
Parameter | Type | Description |
---|---|---|
name | java.lang.String | String value |
value | IAppointment | IAppointment 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:
Parameter | Type | Description |
---|---|---|
name | java.lang.String | String value |
add(String name, IAppointment appointment)
public abstract void add(String name, IAppointment appointment)
Adds new named destination.
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String | String value |
appointment | IAppointment | IAppointment instance |
getNames()
public abstract String[] getNames()
Gets array of names of the destinations.
Returns: java.lang.String[] - Array of String values