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 java.lang.Object | 
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
 
 
 
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 - 
- when the objectName is null,
 
- when the objectName is > 30 bytes,
 
- when the schemaName is not null and it is > 30 bytes,
 
- when the columnName is null,
 
- when the columnName is > 30 bytes, or
 
- when rowID is null.
 
 
InvalidArgumentException 
ODMException
 
 
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