public class DataRelation extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.DataRelation
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Data
|
static java.lang.String |
className
Qualified class name: System.Data.DataRelation
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
DataRelation() |
DataRelation(java.lang.Object instance)
Internal constructor.
|
DataRelation(java.lang.String relationName,
DataColumn[] parentColumns,
DataColumn[] childColumns) |
DataRelation(java.lang.String relationName,
DataColumn[] parentColumns,
DataColumn[] childColumns,
boolean createConstraints) |
DataRelation(java.lang.String relationName,
DataColumn parentColumn,
DataColumn childColumn) |
DataRelation(java.lang.String relationName,
DataColumn parentColumn,
DataColumn childColumn,
boolean createConstraints) |
DataRelation(java.lang.String relationName,
java.lang.String parentTableName,
java.lang.String childTableName,
java.lang.String[] parentColumnNames,
java.lang.String[] childColumnNames,
boolean nested) |
DataRelation(java.lang.String relationName,
java.lang.String parentTableName,
java.lang.String parentTableNamespace,
java.lang.String childTableName,
java.lang.String childTableNamespace,
java.lang.String[] parentColumnNames,
java.lang.String[] childColumnNames,
boolean nested) |
| Modifier and Type | Method and Description |
|---|---|
static DataRelation |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into DataRelation, a cast assert is made to check if types are compatible. |
DataColumn[] |
getChildColumns() |
ForeignKeyConstraint |
getChildKeyConstraint() |
DataTable |
getChildTable() |
DataSet |
getDataSet() |
PropertyCollection |
getExtendedProperties() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
boolean |
getNested() |
DataColumn[] |
getParentColumns() |
UniqueConstraint |
getParentKeyConstraint() |
DataTable |
getParentTable() |
java.lang.String |
getRelationName() |
void |
setJCOInstance(JCObject instance) |
void |
setNested(boolean Nested) |
void |
setRelationName(java.lang.String RelationName) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public DataRelation()
throws java.lang.Throwable
java.lang.Throwablepublic DataRelation(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic DataRelation(java.lang.String relationName,
DataColumn[] parentColumns,
DataColumn[] childColumns)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
MissingManifestResourceException,
NotImplementedException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException
public DataRelation(java.lang.String relationName,
DataColumn[] parentColumns,
DataColumn[] childColumns,
boolean createConstraints)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
FormatException
public DataRelation(java.lang.String relationName,
DataColumn parentColumn,
DataColumn childColumn)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
MissingManifestResourceException,
NotImplementedException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException
public DataRelation(java.lang.String relationName,
DataColumn parentColumn,
DataColumn childColumn,
boolean createConstraints)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
FormatException
public DataRelation(java.lang.String relationName,
java.lang.String parentTableName,
java.lang.String childTableName,
java.lang.String[] parentColumnNames,
java.lang.String[] childColumnNames,
boolean nested)
throws java.lang.Throwable
java.lang.Throwablepublic DataRelation(java.lang.String relationName,
java.lang.String parentTableName,
java.lang.String parentTableNamespace,
java.lang.String childTableName,
java.lang.String childTableNamespace,
java.lang.String[] parentColumnNames,
java.lang.String[] childColumnNames,
boolean nested)
throws java.lang.Throwable
java.lang.Throwablepublic static DataRelation cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DataRelation, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDataRelation instancejava.lang.Throwable - in case of error during cast operationpublic final DataColumn[] getChildColumns() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException
public ForeignKeyConstraint getChildKeyConstraint() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException
public DataTable getChildTable() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException
public DataSet getDataSet() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException
public PropertyCollection getExtendedProperties() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, FormatException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionFormatExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic boolean getNested()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
MissingManifestResourceException,
NotImplementedException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException
public final DataColumn[] getParentColumns() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException
public UniqueConstraint getParentKeyConstraint() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException
public DataTable getParentTable() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException
public java.lang.String getRelationName()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
MissingManifestResourceException,
NotImplementedException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException
public void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void setNested(boolean Nested)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
CultureNotFoundException,
KeyNotFoundException,
NotSupportedException
public void setRelationName(java.lang.String RelationName)
throws java.lang.Throwable,
ArgumentNullException,
TypeLoadException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotSupportedException,
CultureNotFoundException,
ArgumentOutOfRangeException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatException