| java.lang.Object org.ofbiz.datafile.Record
fields | protected Map fields(Code) | | Contains a map with field data by name
|
modelRecord | protected transient ModelRecord modelRecord(Code) | | Contains the definition for the record
|
recordName | protected String recordName(Code) | | Contains the name of the record definition
|
Record | protected Record(ModelRecord modelRecord, Map fields)(Code) | | Creates new Record from existing Map
|
addChildRecord | public void addChildRecord(Record record)(Code) | | |
createRecord | public static Record createRecord(ModelRecord modelRecord, Map fields) throws DataFileException(Code) | | Creates new Record from existing fields Map
Parameters: modelRecord - Parameters: fields - throws: DataFileException - Exception thown for various errors, generally has a nested exception |
getChildRecords | public List getChildRecords()(Code) | | |
set | public void set(String name, Object value)(Code) | | Sets the named field to the passed value, even if the value is null
Parameters: name - The field name to set Parameters: value - The value to set |
set | public synchronized void set(String name, Object value, boolean setIfNull)(Code) | | Sets the named field to the passed value. If value is null, it is only
set if the setIfNull parameter is true.
Parameters: name - The field name to set Parameters: value - The value to set Parameters: setIfNull - Specifies whether or not to set the value if it is null |
setString | public void setString(String name, String value) throws ParseException(Code) | | Sets the named field to the passed value, converting the value from a String to the corrent type using Type.valueOf()
Parameters: name - The field name to set Parameters: value - The String value to convert and set |
|
|