|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.crystaldecisions.sdk.occa.report.data.ConnectionInfo
This object enables you to get and set information for the data
source connection.
Use the IConnectionInfo interface to manipulate this object.
| Constructor Summary | |
ConnectionInfo()
|
|
ConnectionInfo(IConnectionInfo src)
|
|
| Method Summary | |
java.lang.Object |
clone(boolean deepClone)
Returns the new object that has been cloned. |
void |
copyTo(java.lang.Object destObject,
boolean deepCopy)
Copies the object. |
java.lang.Object |
createMember(java.lang.String eleName,
org.xml.sax.Attributes attrs,
com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt,
java.util.Map objState,
boolean[] bLoaded)
For internal use only. |
void |
endElement(java.lang.String eleName,
java.util.Map objState)
For internal use only. |
PropertyBag |
getAttributes()
Returns the property bag for the data source connection. |
ConnectionInfoKind |
getKind()
Returns the kind of connection. |
java.lang.String |
getPassword()
Returns the password used to connect to the data source. |
java.lang.String |
getUserName()
Returns the user name used to connect to the data source. |
boolean |
hasContent(java.lang.Object obj)
Returns true if this object contains the same elements
as the passed in object. |
boolean |
isMatch(IConnectionInfo info,
boolean completeMatching)
Checks whether two connections match. |
void |
readElement(java.lang.String eleName,
java.lang.String sVal,
org.xml.sax.Attributes attrs,
java.util.Map objState)
For internal use only. |
void |
save(com.crystaldecisions.xml.serialization.XMLWriter writer,
com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt)
For internal use only. |
void |
save(com.crystaldecisions.xml.serialization.XMLWriter writer,
java.lang.String sTag,
com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt)
For internal use only. |
void |
saveContents(com.crystaldecisions.xml.serialization.XMLWriter writer,
com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt)
For internal use only. |
void |
setAttributes(PropertyBag attributes)
Sets the property bag for the data source connection. |
void |
setKind(ConnectionInfoKind kind)
Returns the kind of connection. |
void |
setPassword(java.lang.String password)
Returns the password used to connect to the data source. |
void |
setUserName(java.lang.String userName)
Sets the user name used to connect to the data source. |
boolean |
skipWritingIdenticalObject()
For internal use only. |
void |
startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
For internal use only. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ConnectionInfo(IConnectionInfo src)
public ConnectionInfo()
| Method Detail |
public java.lang.Object clone(boolean deepClone)
ICloneReturns the new object that has been cloned.
clone in interface IClonedeepClone - true to use deep clone,
false to use shallow.
public void copyTo(java.lang.Object destObject,
boolean deepCopy)
ICloneCopies the object.
copyTo in interface IClonedestObject - The destination object to copy to.deepCopy - true to use deep copy,
false to use shallow.
public java.lang.Object createMember(java.lang.String eleName,
org.xml.sax.Attributes attrs,
com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt,
java.util.Map objState,
boolean[] bLoaded)
For internal use only.
public void endElement(java.lang.String eleName,
java.util.Map objState)
For internal use only.
public PropertyBag getAttributes()
IConnectionInfoReturns the property bag for the data source connection.
getAttributes in interface IConnectionInfoPropertyBag object.public ConnectionInfoKind getKind()
IConnectionInfoReturns the kind of connection. For example, connection kinds include SQL, query, meta data, database file, and Crystal Report Query Engine (CRQE).
getKind in interface IConnectionInfoConnectionInfoKind object.public java.lang.String getPassword()
IConnectionInfoReturns the password used to connect to the data source.
getPassword in interface IConnectionInfoString.public java.lang.String getUserName()
IConnectionInfoReturns the user name used to connect to the data source.
getUserName in interface IConnectionInfoString.public boolean hasContent(java.lang.Object obj)
ICloneReturns true if this object contains the same elements
as the passed in object.
hasContent in interface ICloneobj - The object to check for content.
true if this object contains the same elements
as the passed in object, otherwise false.
public void readElement(java.lang.String eleName,
java.lang.String sVal,
org.xml.sax.Attributes attrs,
java.util.Map objState)
For internal use only.
public void save(com.crystaldecisions.xml.serialization.XMLWriter writer,
com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt)
throws java.io.IOException
For internal use only.
java.io.IOException
public void save(com.crystaldecisions.xml.serialization.XMLWriter writer,
java.lang.String sTag,
com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt)
throws java.io.IOException
For internal use only.
java.io.IOException
public void saveContents(com.crystaldecisions.xml.serialization.XMLWriter writer,
com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt)
throws java.io.IOException
For internal use only.
java.io.IOExceptionpublic void setAttributes(PropertyBag attributes)
IConnectionInfoSets the property bag for the data source connection.
setAttributes in interface IConnectionInfoattributes - The property bag as a PropertyBag
object.public void setKind(ConnectionInfoKind kind)
IConnectionInfoReturns the kind of connection. For example, connection kinds include SQL, query, meta data, database file, and Crystal Report Query Engine (CRQE).
setKind in interface IConnectionInfokind - The connection kind as a
ConnectionInfoKind object.public void setPassword(java.lang.String password)
IConnectionInfoReturns the password used to connect to the data source.
setPassword in interface IConnectionInfopassword - The password as a String.public void setUserName(java.lang.String userName)
IConnectionInfoSets the user name used to connect to the data source.
setUserName in interface IConnectionInfouserName - The user name as a String.
public void startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
For internal use only.
public boolean skipWritingIdenticalObject()
For internal use only.
public boolean isMatch(IConnectionInfo info,
boolean completeMatching)
IConnectionInfo
Checks whether two connections match. Returns true if they match,
and false otherwise.
isMatch in interface IConnectionInfoinfo - The IConnectionInfo object that this connection will be
compared against.
true if they match, and false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||