Class TargetAttribute

All Implemented Interfaces:
Serializable

public class TargetAttribute extends AbstractTargetAttribute
Specifies an Attribute in OIM reconciliation profile passed from the target system.
See Also:
  • Constructor Details

    • TargetAttribute

      public TargetAttribute(String name, Type type, boolean keyField, boolean encrypted, boolean required, StagingField stagingField)
    • TargetAttribute

      public TargetAttribute(String name, Type type, boolean keyField, boolean encrypted, boolean required, StagingField stagingField, String defaultValue)
    • TargetAttribute

      public TargetAttribute(String name, Type type, boolean keyField, boolean encrypted, boolean required, StagingField stagingField, boolean mls, String defaultValue)
      Constructs a TargetAttribute.
      Parameters:
      name - attribute name/key as provided by the connector in the input to reconciliation api.
      type - data type of the attribute
      keyField - if its a keyField
      encrypted - if its encrypted
      required - 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.
  • Method Details

    • isKeyField

      public boolean isKeyField()
    • isEncrypted

      public boolean isEncrypted()
    • setEncrypted

      public void setEncrypted(boolean encrypted)
    • getStagingField

      public StagingField getStagingField()
    • getOIMAttribute

      public OIMAttribute getOIMAttribute()
    • setOIMAttribute

      public void setOIMAttribute(OIMAttribute oimAttribute)
      Set OIMAttribute if a target attribute needs to be mapped to some OIM attribute.
      Parameters:
      oimAttribute -
    • setKeyField

      public void setKeyField(boolean keyField)
    • isParentRef

      public boolean isParentRef()
      This method is used only in case of child forms.
      Returns:
      boolean
    • setParentRef

      public void setParentRef(boolean parentRef)
      Should not invoke this method, unless some internal recon config customization is required. This method is used only in case of child forms. If set to true, it means this attribute is a reference(Foreign Key) of the parent form.
      Parameters:
      parentRef -
    • isPrimary

      public boolean isPrimary()
      If this attribute is a ID(Primary Key) field.
      Returns:
      boolean
    • setPrimary

      public void setPrimary(boolean primary)
      Should not invoke this method, unless some internal recon config customization is required. If this attribute is a ID(Primary Key) field. If set to true, it generates a staging table with this attribute field as the primary key column.
      Parameters:
      primary -
    • getOIMDescName

      public String getOIMDescName()
      Returns:
      String, returns the name of mapped OIM attribute and if not mapped then the name of this target attribute itself.
    • isMls

      public boolean isMls()
    • setMls

      public void setMls(boolean mls)
      Sets if this attribute is Multi-Lingual.
    • getRef

      public String getRef()
      Returns:
      String, name of the target attribute from the current Form, to which this attribute refers.
    • setRef

      public void setRef(String targetAttributeName)
      Sets the name of target attribute which this attribute would refer to. During reconciliation, values passed against the ref attribute would override the value passed with this attribute.
      Parameters:
      targetAttributeName -
    • isMapped

      public boolean isMapped()
      If mapped to some OIM attribute or not.
      Returns:
      boolean
    • setDefaultValue

      public void setDefaultValue(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.
      Parameters:
      defaultValue -
    • getDefaultValue

      public String getDefaultValue()
    • getType

      public Type getType()
      Returns:
      Type of the attribute.
    • getTransformer

      public String getTransformer()
      Returns:
      String fully qualified transformer class name
    • setTransformer

      public void setTransformer(String transformer)
      Sets the fully qualified name of class implementing the Transformer interface.
      Parameters:
      transformer -