Class MlsAttribute

java.lang.Object
oracle.iam.reconciliation.vo.MlsAttribute
All Implemented Interfaces:
Serializable

public class MlsAttribute extends Object implements Serializable
Encapsulates an instance of a Language sensitive attribute and its locale values.
See Also:
  • Constructor Details

    • MlsAttribute

      public MlsAttribute()
      Class constructor: instantiates a blank/empty MLS Attribute.
    • MlsAttribute

      public MlsAttribute(String name)
      class constructor: instantiates a MLS Attribute which name is specified, and with no locale values.
      Parameters:
      name - the name of the MLS Attribute.
    • MlsAttribute

      public MlsAttribute(String emAttribName, HashMap<String,Object> locVals)
      class constructor: instantiates a MLS Attribute which name and locale value(s) is(are) provided.
      Parameters:
      name - the name of the MLS Attribute.
      values - Map of Locale/Value pairs for the specified attribute.
    • MlsAttribute

      public MlsAttribute(String reconColName, String oimColName, String emAttibuteName)
  • Method Details

    • getMlsValue

      public Object getMlsValue(String loc)
      Returns the value of the attribute in the specified Locale.
      Parameters:
      loc - The Locale in for which to return the attribute value.
      Returns:
      a String: the value in the specified locale, or NULL if there is no value in the specified Locale.
    • setMlsValue

      public void setMlsValue(String loc, String value)
      Adds a locale value to the Attribute. If a value for the specified Locale already exists, it is replaced by the value specified here.
      Parameters:
      loc - The Locale for which to add/update a value.
      value - the Strign value to add/update.
    • setAttributeName

      public void setAttributeName(String AttributeName)
      Sets the name of the MLS Attribute.
      Parameters:
      AttributeName - the name of the MLS attribute.
    • getAttributeName

      public String getAttributeName()
      Gets the name of the MLS Attribute.
      Returns:
      a string.
    • getReconColumnName

      public String getReconColumnName()
    • getOimColumnName

      public String getOimColumnName()
    • setLocaleValues

      public void setLocaleValues(HashMap<String,Object> LocaleValues)
      Sets the locale value(s) for this MLS sensitive attribute.
      Parameters:
      LocaleValues - a HashMap of Locale/Value pairs.
    • getLocaleValues

      public HashMap<String,Object> getLocaleValues()
      Gets all the Locale values of this MLS Attribute.
      Returns:
      a HashMap<String,String> object.
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Returns:
      string representation of mls attribute
    • getEmAttribName

      public String getEmAttribName()