Package org.apache.cayenne.map
Class DefaultScalarResultSegment
- java.lang.Object
-
- org.apache.cayenne.map.DefaultScalarResultSegment
-
- All Implemented Interfaces:
ScalarResultSegment
public class DefaultScalarResultSegment extends Object implements ScalarResultSegment
- Since:
- 3.0
-
-
Constructor Summary
Constructors Constructor Description DefaultScalarResultSegment(String column, int offset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getColumn()
int
getColumnOffset()
Returns a zero-based column index of the first column of this segment in the ResultSet.
-
-
-
Constructor Detail
-
DefaultScalarResultSegment
public DefaultScalarResultSegment(String column, int offset)
-
-
Method Detail
-
getColumn
public String getColumn()
- Specified by:
getColumn
in interfaceScalarResultSegment
-
getColumnOffset
public int getColumnOffset()
Description copied from interface:ScalarResultSegment
Returns a zero-based column index of the first column of this segment in the ResultSet.- Specified by:
getColumnOffset
in interfaceScalarResultSegment
-
-