DataConnection
Inheritance: java.lang.Object
public class DataConnection
Abstracts communication between one or more DataRecordset elements and a non-XML data source.
Constructors
Constructor | Description |
---|---|
DataConnection() | Constructor. |
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getAlwaysUseConnectionFile() | The default value is false. |
getClass() | |
getCommand() | The command string used to query the data source. |
getConnectionString() | The connection string that defines the parameters necessary to connect to a data source. |
getFileName() | The name of the connection file. |
getID() | The ID assigned by Visio for a given connection, unique within the document. |
getTimeout() | wait time in minutes while trying to establish a connection before terminating the attempt. |
hashCode() | |
notify() | |
notifyAll() | |
setAlwaysUseConnectionFile(int value) | For the description of this property, please see getAlwaysUseConnectionFile() |
setCommand(String value) | For the description of this property, please see getCommand() |
setConnectionString(String value) | For the description of this property, please see getConnectionString() |
setFileName(String value) | For the description of this property, please see getFileName() |
setID(long value) | For the description of this property, please see {@link DataConnection#(getID() & 0xFFFFFFFFL)} |
setTimeout(long value) | For the description of this property, please see getTimeout() |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
DataConnection()
public DataConnection()
Constructor.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getAlwaysUseConnectionFile()
public int getAlwaysUseConnectionFile()
The default value is false. See Remarks for more information.
Returns: int
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class>
getCommand()
public String getCommand()
The command string used to query the data source.
Returns: java.lang.String
getConnectionString()
public String getConnectionString()
The connection string that defines the parameters necessary to connect to a data source.
Returns: java.lang.String
getFileName()
public String getFileName()
The name of the connection file. See Remarks for more information.
Returns: java.lang.String
getID()
public long getID()
The ID assigned by Visio for a given connection, unique within the document.
Returns: long
getTimeout()
public long getTimeout()
wait time in minutes while trying to establish a connection before terminating the attempt.
Returns: long
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setAlwaysUseConnectionFile(int value)
public void setAlwaysUseConnectionFile(int value)
For the description of this property, please see getAlwaysUseConnectionFile()
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setCommand(String value)
public void setCommand(String value)
For the description of this property, please see getCommand()
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setConnectionString(String value)
public void setConnectionString(String value)
For the description of this property, please see getConnectionString()
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setFileName(String value)
public void setFileName(String value)
For the description of this property, please see getFileName()
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setID(long value)
public void setID(long value)
For the description of this property, please see {@link DataConnection#(getID() & 0xFFFFFFFFL)}
Parameters:
Parameter | Type | Description |
---|---|---|
value | long |
setTimeout(long value)
public void setTimeout(long value)
For the description of this property, please see getTimeout()
Parameters:
Parameter | Type | Description |
---|---|---|
value | long |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |