public class DataRelation extends NetObject
.NET documentation at https://learn.microsoft.com/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.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Data.Common
|
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)
Initializes a new instance by invoking the .NET constructor.
|
DataRelation(java.lang.String relationName,
DataColumn[] parentColumns,
DataColumn[] childColumns,
boolean createConstraints)
Initializes a new instance by invoking the .NET constructor.
|
DataRelation(java.lang.String relationName,
DataColumn parentColumn,
DataColumn childColumn)
Initializes a new instance by invoking the .NET constructor.
|
DataRelation(java.lang.String relationName,
DataColumn parentColumn,
DataColumn childColumn,
boolean createConstraints)
Initializes a new instance by invoking the .NET constructor.
|
DataRelation(java.lang.String relationName,
java.lang.String parentTableName,
java.lang.String childTableName,
java.lang.String[] parentColumnNames,
java.lang.String[] childColumnNames,
boolean nested)
Initializes a new instance by invoking the .NET constructor.
|
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)
Initializes a new instance by invoking the .NET constructor.
|
| 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()
Gets the value of the .NET property ChildColumns.
|
ForeignKeyConstraint |
getChildKeyConstraint()
Gets the value of the .NET property ChildKeyConstraint.
|
DataTable |
getChildTable()
Gets the value of the .NET property ChildTable.
|
DataSet |
getDataSet()
Gets the value of the .NET property DataSet.
|
PropertyCollection |
getExtendedProperties()
Gets the value of the .NET property ExtendedProperties.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
boolean |
getNested()
Gets the value of the .NET property Nested.
|
DataColumn[] |
getParentColumns()
Gets the value of the .NET property ParentColumns.
|
UniqueConstraint |
getParentKeyConstraint()
Gets the value of the .NET property ParentKeyConstraint.
|
DataTable |
getParentTable()
Gets the value of the .NET property ParentTable.
|
java.lang.String |
getRelationName()
Gets the value of the .NET property RelationName.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setNested(boolean Nested)
Sets the value of the .NET property Nested.
|
void |
setRelationName(java.lang.String RelationName)
Sets the value of the .NET property 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
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic DataRelation(java.lang.String relationName,
DataColumn[] parentColumns,
DataColumn[] childColumns)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentNullException,
InvalidOperationException,
ArgumentException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
FormatException,
EventSourceException,
InvalidConstraintException
relationName - the argument of type java.lang.StringparentColumns - the argument of type DataColumn[]childColumns - the argument of type DataColumn[]java.lang.Throwable - if the .NET constructor failsPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itInvalidConstraintException - if the .NET member raises itpublic DataRelation(java.lang.String relationName,
DataColumn[] parentColumns,
DataColumn[] childColumns,
boolean createConstraints)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentNullException,
InvalidOperationException,
ArgumentException,
ArgumentOutOfRangeException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
FormatException,
EventSourceException,
ObjectDisposedException,
InvalidConstraintException,
NotSupportedException
relationName - the argument of type java.lang.StringparentColumns - the argument of type DataColumn[]childColumns - the argument of type DataColumn[]createConstraints - the argument of type booleanjava.lang.Throwable - if the .NET constructor failsPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidConstraintException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic DataRelation(java.lang.String relationName,
DataColumn parentColumn,
DataColumn childColumn)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
EventSourceException,
InvalidConstraintException
relationName - the argument of type java.lang.StringparentColumn - the argument of type DataColumnchildColumn - the argument of type DataColumnjava.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itInvalidConstraintException - if the .NET member raises itpublic DataRelation(java.lang.String relationName,
DataColumn parentColumn,
DataColumn childColumn,
boolean createConstraints)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
EventSourceException,
InvalidConstraintException
relationName - the argument of type java.lang.StringparentColumn - the argument of type DataColumnchildColumn - the argument of type DataColumncreateConstraints - the argument of type booleanjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itInvalidConstraintException - if the .NET member raises itpublic 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
relationName - the argument of type java.lang.StringparentTableName - the argument of type java.lang.StringchildTableName - the argument of type java.lang.StringparentColumnNames - the argument of type java.lang.String[]childColumnNames - the argument of type java.lang.String[]nested - the argument of type booleanjava.lang.Throwable - if the .NET constructor failspublic 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
relationName - the argument of type java.lang.StringparentTableName - the argument of type java.lang.StringparentTableNamespace - the argument of type java.lang.StringchildTableName - the argument of type java.lang.StringchildTableNamespace - the argument of type java.lang.StringparentColumnNames - the argument of type java.lang.String[]childColumnNames - the argument of type java.lang.String[]nested - the argument of type booleanjava.lang.Throwable - if the .NET constructor failspublic 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, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic ForeignKeyConstraint getChildKeyConstraint() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic DataTable getChildTable() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic DataSet getDataSet() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic PropertyCollection getExtendedProperties() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic boolean getNested()
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic final DataColumn[] getParentColumns() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic UniqueConstraint getParentKeyConstraint() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic DataTable getParentTable() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic java.lang.String getRelationName()
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic void setNested(boolean Nested)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentNullException,
InvalidOperationException,
ArgumentException,
ArgumentOutOfRangeException,
FormatException,
IndexOutOfRangeException,
EventSourceException,
KeyNotFoundException,
ArrayTypeMismatchException,
SynchronizationLockException
Nested - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itEventSourceException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itpublic void setRelationName(java.lang.String RelationName)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentNullException,
InvalidOperationException,
ArgumentException,
ArgumentOutOfRangeException,
FormatException,
IndexOutOfRangeException,
EventSourceException,
NotSupportedException,
CultureNotFoundException,
ArrayTypeMismatchException
RelationName - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itEventSourceException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises it