public abstract class AbstractGenericDestination extends Object implements GenericDestination
GenericDestination
interface, offering a default toString
method as
well as handling of the map behind getPropertiesByName()
.Constructor and Description |
---|
AbstractGenericDestination(DestinationType destinationType,
String name,
String description,
Map<String,String> propertiesByName) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Optional<String> |
getDescription()
An optional description of this destination
|
DestinationType |
getDestinationType()
The type of a generic destination.
|
String |
getName()
The name of the destination.
|
Map<String,String> |
getPropertiesByName()
A Map containing additional properties needed to connect to this destination.
|
int |
hashCode() |
String |
toString() |
@Nonnull public Optional<String> getDescription()
GenericDestination
getDescription
in interface GenericDestination
Optional
.@Nonnull public Map<String,String> getPropertiesByName()
getPropertiesByName
in interface GenericDestination
protected boolean canEqual(Object other)
@Nonnull public DestinationType getDestinationType()
GenericDestination
getDestinationType
in interface GenericDestination
@Nonnull public String getName()
GenericDestination
getName
in interface GenericDestination
Copyright © 2018 SAP SE. All rights reserved.