Class ConnectorField.ConnectorFieldBuilder
java.lang.Object
de.iip_ecosphere.platform.connectors.ConnectorField.ConnectorFieldBuilder
- All Implemented Interfaces:
de.iip_ecosphere.platform.support.Builder<ConnectorField>
- Enclosing class:
ConnectorField
public static class ConnectorField.ConnectorFieldBuilder
extends Object
implements de.iip_ecosphere.platform.support.Builder<ConnectorField>
Builds a connector field.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()setNativeId(String nativeId) Sets the native id as used in/by the protocol.setNativeType(String nativeType) Sets the native type as used in/by the protocol.setNativeTypeIfNotNull(String nativeType) Sets the native type as used in/by the protocol ifnativeTypeis not null.Sets the (hierarchical) path to the field.
-
Field Details
-
name
-
path
-
nativeType
-
nativeId
-
-
Constructor Details
-
ConnectorFieldBuilder
Creates a field builder.- Parameters:
name- the name of the field, by default also used as path
-
-
Method Details
-
setPath
Sets the (hierarchical) path to the field. By default, the path is just the same as the name.- Parameters:
path- the path- Returns:
- this for chaining
-
setNativeType
Sets the native type as used in/by the protocol.- Parameters:
nativeType- the native type- Returns:
- this for chaining
-
setNativeTypeIfNotNull
Sets the native type as used in/by the protocol ifnativeTypeis not null.- Parameters:
nativeType- the native type- Returns:
- this for chaining
-
setNativeId
Sets the native id as used in/by the protocol.- Parameters:
nativeId- the native id- Returns:
- this for chaining
-
build
- Specified by:
buildin interfacede.iip_ecosphere.platform.support.Builder<ConnectorField>
-