oracle.dmt.odm
Class Location

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

public class Location
extends MiningObject

For internal use only

Since:
9.0.1
See Also:
Serialized Form

Constructor Summary
Location(java.lang.String unifiedLoc)
          Creates an instance of Location for the specified location string.
Location(java.lang.String name, java.lang.String schema)
          Creates an instance of Location for the specified object name and schema name.
 
Method Summary
TypeMethod
 java.lang.String getObjectName()
           
 java.lang.String getSchema()
           
 java.lang.String toString()
          Converts a location information contained in the object into a single string.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Location

public Location(java.lang.String unifiedLoc)
         throws InvalidArgumentException,
                ODMException
Creates an instance of Location for the specified location string. The format of a location string is schema.object.
Parameters:
unifiedLoc - string in this format: schema.object
Throws:
InvalidArgumentException - is thrown
- when the unifiedLoc is null
- when the unifiedLoc > 61 bytes
- when the unifiedLoc is invalid format

Location

public Location(java.lang.String name,
                java.lang.String schema)
         throws InvalidArgumentException,
                ODMException
Creates an instance of Location for the specified object name and schema name.
Parameters:
name - object name
schema - db schema
Throws:
InvalidArgumentException - is thrown
- when the name is null
- when the name is > 30 bytes - when the schema is not null and it is > 30 bytes
Method Detail

getObjectName

public java.lang.String getObjectName()
Returns:
String object name

getSchema

public java.lang.String getSchema()
Returns:
String db schema name

toString

public java.lang.String toString()
Converts a location information contained in the object into a single string.
Overrides:
toString in class java.lang.Object
Returns:
String in this format: schema.object