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.
 
| 
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 | 
 
 
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 namephysicalName - The new element's physical name
 
 
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.