bill.util.persist
Class StringElement

java.lang.Object
  |
  +--bill.util.persist.ElementData
        |
        +--bill.util.persist.StringElement

public class StringElement
extends ElementData

Persistent element of String type.


Fields inherited from class bill.util.persist.ElementData
_elementData, _logicalName, _physicalName, _required, _value
 
Constructor Summary
StringElement()
          Default creator, does not do anything special.
StringElement(String logicalName, String physicalName)
          Alternate creator that sets the element's logical and physical names.
 
Method Summary
 String formatValue()
          Formats an element's value into a string representation.
 
Methods inherited from class bill.util.persist.ElementData
addElementData, equals, getElementData, getLogicalName, getPhysicalName, getValue, isRequired, removeElementData, setElementData, setLogicalName, setPhysicalName, setRequired, setValue, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringElement

public StringElement()
Default creator, does not do anything special.

StringElement

public StringElement(String logicalName,
                     String physicalName)
Alternate creator that sets the element's logical and physical names.
Parameters:
logicalName - The new element's logical name
physicalName - The new element's physical name
Method Detail

formatValue

public String formatValue()
Description copied from class: ElementData
Formats an element's value into a string representation.
Overrides:
formatValue in class ElementData
Following copied from class: bill.util.persist.ElementData
Returns:
The formatted element value.