Home > Contents > Index >
IList.getObject
Gets an object from the specified column.
Syntax
public Object getObject(String colname) throws NoSuchFieldExceptionParameters
colname
- The name of the column to get the object from.
Description
The
getObject
method gets an object from a column.This method is similar to
getValue
but can return list-specific data. For example, if the list represents a database query, the object returned will be null unless the column represents a byte array. Other lists may return particular types.
Returns
Returns the object from the column.
Throws
NoSuchFieldException
- When you specify a
colname
that does not exist in the list.
Home > Contents > Index > ![]()
Oracle JAVA Reference
Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.