All Packages Class Hierarchy This Package Previous Next Index
Class sdoOracle.sdoWorkspace
java.lang.Object
|
+----sdoOracle.sdoWorkspace
- public class sdoWorkspace
- extends Object
Class sdoWorkspace defines a connection to an Oracle database.
- See Also:
- sdoLayer
-
sdoWorkspace()
- Constructs a new sdoWorkspace object.
-
sdoWorkspace(Connection, String)
- Constructs a new sdoWorkspace object associating the inpu
parameters.
-
AddLayer(sdoLayer)
- Adds a new layer to this workspace.
-
CreateQueryWindow(double, double, double, double, double, double, boolean, int, int)
- Creates a window query layer (SDOWINJAVA) that must
be populated later, in order to perform spatial queries.
-
Define(Connection, String)
- Defines the sdoWorkspace parameteres.
-
First()
- Returns the first spatial layer.
-
GetConnection()
- Returns the sdoWorkspace connection.
-
GetItem(int)
- Returns the sdoLayer object related with input index.
-
GetLayers()
- Gets all spatial layers for this sdoWorkspace connection.
-
MaxComDiv(int, int)
- Returns the max common divisor of two integers.
-
Next()
- Returns the next spatial layer.
-
RemoveLayer(sdoLayer)
- Removes an existing layer from this workspace.
-
Size()
- Returns the actual number of layers.
-
UserName()
- Returns the sdoWorkspace user name.
sdoWorkspace
public sdoWorkspace()
- Constructs a new sdoWorkspace object.
sdoWorkspace
public sdoWorkspace(Connection conn,
String user)
- Constructs a new sdoWorkspace object associating the inpu
parameters.
Define
public void Define(Connection conn,
String user)
- Defines the sdoWorkspace parameteres.
UserName
public String UserName()
- Returns the sdoWorkspace user name.
- Returns:
- returns a String object.
GetConnection
public Connection GetConnection()
- Returns the sdoWorkspace connection.
- Returns:
- returns a Connection object.
GetLayers
public boolean GetLayers()
- Gets all spatial layers for this sdoWorkspace connection.
- Returns:
- returns a boolean value true or false.
AddLayer
public void AddLayer(sdoLayer layer)
- Adds a new layer to this workspace.
RemoveLayer
public void RemoveLayer(sdoLayer layer)
- Removes an existing layer from this workspace.
First
public sdoLayer First()
- Returns the first spatial layer.
- Returns:
- returns a sdoLayer object or null.
Next
public sdoLayer Next()
- Returns the next spatial layer.
- Returns:
- returns a sdoLayer object or null.
Size
public int Size()
- Returns the actual number of layers.
- Returns:
- returns an integer value.
GetItem
public sdoLayer GetItem(int index)
- Returns the sdoLayer object related with input index.
- Parameters:
- index - position in the list (starts at 0).
- Returns:
- returns a sdoLayer object or null.
CreateQueryWindow
public boolean CreateQueryWindow(double x1,
double y1,
double x2,
double y2,
double tolx,
double toly,
boolean hybridSchema,
int group_level,
int num_tiles)
- Creates a window query layer (SDOWINJAVA) that must
be populated later, in order to perform spatial queries.
Usually the extension of this layer should be equivalent to the
dimension of the layer that you want to query
- Returns:
- returns a boolean value true or false.
MaxComDiv
public int MaxComDiv(int first,
int second)
- Returns the max common divisor of two integers.
- Returns:
- returns an integer.
All Packages Class Hierarchy This Package Previous Next Index