public class ComputedIDDataConnectorFactoryBean extends BaseDataConnectorFactoryBean
ComputedIDDataConnector
s.Modifier and Type | Field and Description |
---|---|
private String |
generatedAttribute
ID of the attribute generated by the connector.
|
private byte[] |
salt
Salt used when computing the ID.
|
private String |
sourceAttribute
ID of the attribute whose first value is used when generating the computed ID.
|
Constructor and Description |
---|
ComputedIDDataConnectorFactoryBean() |
Modifier and Type | Method and Description |
---|---|
protected Object |
createInstance() |
String |
getGeneratedAttribute()
Gets the ID of the attribute generated by the connector.
|
Class |
getObjectType() |
byte[] |
getSalt()
Gets the salt used when computing the ID.
|
String |
getSourceAttribute()
Gets the ID of the attribute whose first value is used when generating the computed ID.
|
void |
setGeneratedAttribute(String id)
Sets the ID of the attribute generated by the connector.
|
void |
setSalt(byte[] salt)
Sets the salt used when computing the ID.
|
void |
setSourceAttribute(String id)
Sets the ID of the attribute whose first value is used when generating the computed ID.
|
getFailoverDataConnectorId, populateDataConnector, setFailoverDataConnectorIds
getDependencyIds, getPluginId, setDependencyIds, setPluginId
private String generatedAttribute
private String sourceAttribute
private byte[] salt
public Class getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean
getObjectType
in class org.springframework.beans.factory.config.AbstractFactoryBean
public String getGeneratedAttribute()
public void setGeneratedAttribute(String id)
id
- ID of the attribute generated by the connectorpublic String getSourceAttribute()
public void setSourceAttribute(String id)
id
- ID of the attribute whose first value is used when generating the computed IDpublic byte[] getSalt()
public void setSalt(byte[] salt)
salt
- salt used when computing the IDCopyright © 1999-2012. All Rights Reserved.