public class TargetAttribute extends AbstractTargetAttribute
Constructor and Description |
---|
TargetAttribute(java.lang.String name,
Type type,
boolean keyField,
boolean encrypted,
boolean required,
StagingField stagingField) |
TargetAttribute(java.lang.String name,
Type type,
boolean keyField,
boolean encrypted,
boolean required,
StagingField stagingField,
boolean mls,
java.lang.String defaultValue)
Constructs a TargetAttribute.
|
TargetAttribute(java.lang.String name,
Type type,
boolean keyField,
boolean encrypted,
boolean required,
StagingField stagingField,
java.lang.String defaultValue) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDefaultValue() |
OIMAttribute |
getOIMAttribute() |
java.lang.String |
getOIMDescName() |
java.lang.String |
getRef() |
StagingField |
getStagingField() |
java.lang.String |
getTransformer() |
Type |
getType() |
boolean |
isEncrypted() |
boolean |
isKeyField() |
boolean |
isMapped()
If mapped to some OIM attribute or not.
|
boolean |
isMls() |
boolean |
isParentRef()
This method is used only in case of child forms.
|
boolean |
isPrimary()
If this attribute is a ID(Primary Key) field.
|
void |
setDefaultValue(java.lang.String defaultValue)
Currently not used, the default value which would be used in case of
ChangeType.REGULAR change type for a particular attribute, if not present in
input data to reconciliation create event api call. |
void |
setEncrypted(boolean encrypted) |
void |
setKeyField(boolean keyField) |
void |
setMls(boolean mls)
Sets if this attribute is Multi-Lingual.
|
void |
setOIMAttribute(OIMAttribute oimAttribute)
Set OIMAttribute if a target attribute needs to be mapped to some OIM attribute.
|
void |
setParentRef(boolean parentRef)
Should not invoke this method, unless some internal recon config customization is required.
|
void |
setPrimary(boolean primary)
Should not invoke this method, unless some internal recon config customization is required.
|
void |
setRef(java.lang.String targetAttributeName)
Sets the name of target attribute which this attribute would refer to.
|
void |
setTransformer(java.lang.String transformer)
Sets the fully qualified name of class implementing the
Transformer interface. |
isRequired
public TargetAttribute(java.lang.String name, Type type, boolean keyField, boolean encrypted, boolean required, StagingField stagingField)
public TargetAttribute(java.lang.String name, Type type, boolean keyField, boolean encrypted, boolean required, StagingField stagingField, java.lang.String defaultValue)
public TargetAttribute(java.lang.String name, Type type, boolean keyField, boolean encrypted, boolean required, StagingField stagingField, boolean mls, java.lang.String defaultValue)
name
- attribute name/key as provided by the connector in the input to reconciliation api.type
- data type of the attributekeyField
- if its a keyFieldencrypted
- if its encryptedrequired
- if its a required field.stagingField
- staging table field where this attribute would be stored before its picked up for processing by recon engine.mls
- if its a multi-lingual attribute.defaultValue
- Currently not used, the default value which would be used in case of REGULAR change type for a particular attribute if not present in input
data to reconcilication create event api call.public boolean isKeyField()
public boolean isEncrypted()
public void setEncrypted(boolean encrypted)
public StagingField getStagingField()
public OIMAttribute getOIMAttribute()
public void setOIMAttribute(OIMAttribute oimAttribute)
oimAttribute
- public void setKeyField(boolean keyField)
public boolean isParentRef()
public void setParentRef(boolean parentRef)
parentRef
- public boolean isPrimary()
public void setPrimary(boolean primary)
primary
- public java.lang.String getOIMDescName()
public boolean isMls()
public void setMls(boolean mls)
public java.lang.String getRef()
public void setRef(java.lang.String targetAttributeName)
targetAttributeName
- public boolean isMapped()
public void setDefaultValue(java.lang.String defaultValue)
ChangeType.REGULAR
change type for a particular attribute, if not present in
input data to reconciliation create event api call.defaultValue
- public java.lang.String getDefaultValue()
public Type getType()
public java.lang.String getTransformer()
public void setTransformer(java.lang.String transformer)
Transformer
interface.transformer
-