Oracle Data Mining Java API Reference
10g Release 1 (10.1)

B12276-01

oracle.dmt.odm
Class LocationCellAccessData

java.lang.Object
  |
  +--oracle.dmt.odm.MiningObject
        |
        +--oracle.dmt.odm.LocationAccessData
              |
              +--oracle.dmt.odm.LocationCellAccessData
All Implemented Interfaces:
java.io.Serializable

public class LocationCellAccessData
extends LocationAccessData

This class allows users to specify a particular row and column in specified schema and table.

See Also:
Serialized Form

Constructor Summary
LocationCellAccessData(java.lang.String objectName, java.lang.String schemaName, java.lang.String columnName, oracle.sql.ROWID rowID)
          Creates an instance of LocationCellAccessData for the specified row and column in specified schema and table.

 

Method Summary
 java.lang.String getColumnName()
          Returns column name.
 oracle.sql.ROWID getRowID()
          Returns the row id object.
 boolean validate(Connection connection)
          Validate that connection specifes an actual location.

 

Methods inherited from class oracle.dmt.odm.LocationAccessData
getObjectName, getSchema, isEqual, toString

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

LocationCellAccessData

public LocationCellAccessData(java.lang.String objectName,
                              java.lang.String schemaName,
                              java.lang.String columnName,
                              oracle.sql.ROWID rowID)
                       throws InvalidArgumentException,
ODMException
Creates an instance of LocationCellAccessData for the specified row and column in specified schema and table.
Parameters:
objectName - table name
schemaName - schema name
columnName - name of column
rowID - row id
Throws:
InvalidArgumentException -
InvalidArgumentException
ODMException
Method Detail

getColumnName

public java.lang.String getColumnName()
Returns column name.
Returns:
column name

getRowID

public oracle.sql.ROWID getRowID()
Returns the row id object.
Returns:
row id

validate

public boolean validate(Connection connection)
                 throws InvalidArgumentException,
ODMException
Validate that connection specifes an actual location. If the connection is made successfully, validate returns true.
Overrides:
validate in class LocationAccessData
Parameters:
connection - Connection returned from DataMiningServer login
Returns:
true if validation is successful
Throws:
InvalidArgumentException - the connection is null
ODMException - when validation cannot be performed
InvalidArgumentException
ODMException

Copyright © 2003 Oracle Corporation. All Rights Reserved.