public class DafCSConfig extends Object implements Serializable
Constructor and Description |
---|
DafCSConfig() |
Modifier and Type | Method and Description |
---|---|
DafCSTypeConfig |
addServiceType(String serviceType,
String displayName)
Add DafCSTypeConfig instance if not exists, or return the existing one.
|
DafCSConfig |
clone(Predicate<DafCSTypeConfig> predicate,
Function<DafCSTypeConfig,DafCSTypeConfig> function)
Clone new DafCSConfig instance with the specified filter.
|
ArrayList<DafCSTypeConfig> |
getServiceTypes() |
void |
setServiceTypes(ArrayList<DafCSTypeConfig> serviceTypes) |
public ArrayList<DafCSTypeConfig> getServiceTypes()
public void setServiceTypes(ArrayList<DafCSTypeConfig> serviceTypes)
public DafCSTypeConfig addServiceType(String serviceType, String displayName)
serviceType
- serviceType the communication service type.displayName
- the display name of service type.public DafCSConfig clone(Predicate<DafCSTypeConfig> predicate, Function<DafCSTypeConfig,DafCSTypeConfig> function)
predicate
- predicate to apply to each element to determine if it
should be included.function
- accepts one DafCSTypeConfig instance and produces a DafCSTypeConfig result.