|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ColumnAccessByName
Define accessors by name.
Method Summary | |
---|---|
Object |
getByName(String field)
Retrieves a field from the object by name. |
Object |
getByPeerName(String name)
Retrieves a field from the object by name passed in as a String. |
Object |
getByPosition(int pos)
Retrieves a field from the object by position as specified in a database schema for example. |
boolean |
setByName(String name,
Object value)
Set a field in the object by field (Java) name. |
boolean |
setByPeerName(String name,
Object value)
Set field values by Peer Field Name- |
boolean |
setByPosition(int position,
Object value)
Set field values by it's position (zero based) in the XML schema. |
Method Detail |
---|
Object getByName(String field)
field
- The name of the field to retrieve.
boolean setByName(String name, Object value) throws TorqueException
name
- field name.value
- field value.
IllegalArgumentException
- if object type of value does not match
field object type.
TorqueException
- If a problem occurs with the set[Field] method.Object getByPeerName(String name)
name
- field name.
boolean setByPeerName(String name, Object value) throws TorqueException
name
- field name.value
- field value.
IllegalArgumentException
- if object type of value does not match
field object type.
TorqueException
- If a problem occurs with the set[Field] method.Object getByPosition(int pos)
pos
- field position.
boolean setByPosition(int position, Object value) throws TorqueException
position
- The field position.value
- field value.
IllegalArgumentException
- if object type of value does not match
field object type.
TorqueException
- If a problem occurs with the set[Field] method.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |