public final class MappingSetReference extends GenericReference
Modifier and Type | Field and Description |
---|---|
java.lang.String |
database |
java.lang.String |
host |
boolean |
isRemote |
java.lang.Integer |
port |
FileReference |
propertiesRef |
java.lang.String |
schema |
Constructor and Description |
---|
MappingSetReference() |
MappingSetReference(java.lang.String algorithmName)
Build MappingSetReference for a local mapping set.
|
MappingSetReference(java.lang.String algorithmName,
java.lang.String host,
java.lang.Integer port,
java.lang.String database,
java.lang.String schema,
FileReference propertiesRef,
boolean isRemote)
Construct a MappingSetReference.
|
Modifier and Type | Method and Description |
---|---|
void |
checkValid()
Check whether the reference is syntactically valid.
|
java.lang.String |
getDatabase() |
java.lang.String |
getHost() |
boolean |
getIsRemote() |
java.lang.Integer |
getPort() |
FileReference |
getPropertiesRef() |
java.lang.String |
getSchema() |
java.lang.String |
getValue()
Getter
|
checkOptionalReference, checkRequiredReference, setValue
public java.lang.String host
public java.lang.Integer port
public java.lang.String database
public java.lang.String schema
public FileReference propertiesRef
public boolean isRemote
public MappingSetReference()
public MappingSetReference(java.lang.String algorithmName)
algorithmName
- The name of the algorithm to which the mappings belongpublic MappingSetReference(java.lang.String algorithmName, java.lang.String host, java.lang.Integer port, java.lang.String database, java.lang.String schema, FileReference propertiesRef, boolean isRemote)
algorithmName
- The name of the algorithm to which the mappings belonghost
- The host name or IP address for a remote mappings setport
- The port number for a remote mapping setdatabase
- The database name for a remote mapping setschema
- The database schema for a remote mapping setpropertiesRef
- The connection properties reference for a remote mapping setisRemote
- Whether the mapping set is remote@JsonPropertyDescription(value="algorithmName") public java.lang.String getValue()
GenericReference
getValue
in class GenericReference
@JsonPropertyDescription(value="host") public java.lang.String getHost()
@JsonPropertyDescription(value="port") public java.lang.Integer getPort()
@JsonPropertyDescription(value="database") public java.lang.String getDatabase()
@JsonPropertyDescription(value="schema") public java.lang.String getSchema()
@JsonPropertyDescription(value="propertiesRef") public FileReference getPropertiesRef()
@JsonPropertyDescription(value="isRemote") public boolean getIsRemote()
public void checkValid() throws ComponentConfigurationException
GenericReference
checkValid
in class GenericReference
ComponentConfigurationException
- When the reference is not valid.