public class MlsAttribute
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
MlsAttribute()
Class constructor: instantiates a blank/empty MLS Attribute.
|
MlsAttribute(java.lang.String name)
class constructor: instantiates a MLS Attribute which name is specified,
and with no locale values.
|
MlsAttribute(java.lang.String emAttribName,
java.util.HashMap locVals)
class constructor: instantiates a MLS Attribute which name and locale
value(s) is(are) provided.
|
MlsAttribute(java.lang.String reconColName,
java.lang.String oimColName,
java.lang.String emAttibuteName) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttributeName()
Gets the name of the MLS Attribute.
|
java.lang.String |
getEmAttribName() |
java.util.HashMap |
getLocaleValues()
Gets all the Locale values of this MLS Attribute.
|
java.lang.Object |
getMlsValue(java.lang.String loc)
Returns the value of the attribute in the specified Locale.
|
java.lang.String |
getOimColumnName() |
java.lang.String |
getReconColumnName() |
void |
setAttributeName(java.lang.String AttributeName)
Sets the name of the MLS Attribute.
|
void |
setLocaleValues(java.util.HashMap LocaleValues)
Sets the locale value(s) for this MLS sensitive attribute.
|
void |
setMlsValue(java.lang.String loc,
java.lang.String value)
Adds a locale value to the Attribute.
|
java.lang.String |
toString() |
public MlsAttribute()
public MlsAttribute(java.lang.String name)
name
- the name of the MLS Attribute.public MlsAttribute(java.lang.String emAttribName, java.util.HashMap locVals)
name
- the name of the MLS Attribute.values
- Map of Locale/Value pairs for the specified attribute.public MlsAttribute(java.lang.String reconColName, java.lang.String oimColName, java.lang.String emAttibuteName)
public java.lang.Object getMlsValue(java.lang.String loc)
loc
- The Locale in for which to return the attribute value.public void setMlsValue(java.lang.String loc, java.lang.String value)
loc
- The Locale for which to add/update a value.value
- the Strign value to add/update.public void setAttributeName(java.lang.String AttributeName)
AttributeName
- the name of the MLS attribute.public java.lang.String getAttributeName()
public java.lang.String getReconColumnName()
public java.lang.String getOimColumnName()
public void setLocaleValues(java.util.HashMap LocaleValues)
LocaleValues
- a HashMap of Locale/Value pairs.public java.util.HashMap getLocaleValues()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getEmAttribName()