public class RecordAttribute
extends java.lang.Object
Constructor and Description |
---|
RecordAttribute(java.lang.String attrName,
java.lang.String attrValue)
Creates a new
RecordAttribute |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttrName()
Retrieves the attribute name
|
java.lang.String |
getAttrValue()
Retrieves the attribute value
|
void |
setAttrName(java.lang.String attrName)
Sets the atribute name
|
void |
setAttrValue(java.lang.String attrValue)
Sets the atribute value
|
public RecordAttribute(java.lang.String attrName, java.lang.String attrValue) throws java.lang.Exception
RecordAttribute
attrName
- The attribute name. This cannot be null or zero lengthedattrValue
- The attribute value. This cannot be null or zero lengthedjava.lang.Exception
- An unrecoverable for the operation error occuredpublic java.lang.String getAttrName()
public void setAttrName(java.lang.String attrName) throws java.lang.Exception
attrName
- The attribute name. This cannot be null or zero lengthedjava.lang.Exception
- An unrecoverable for the operation error occuredpublic java.lang.String getAttrValue()
public void setAttrValue(java.lang.String attrValue) throws java.lang.Exception
attrValue
- The attribute value. This cannot be null or zero lengthedjava.lang.Exception
- An unrecoverable for the operation error occured