Package system.data
Class DataRelationCollection
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- org.mases.jcobridge.netreflection.NetObjectEnumerable
-
- system.data.InternalDataCollectionBase
-
- system.data.DataRelationCollection
-
- All Implemented Interfaces:
java.lang.Iterable<NetObject>,IEnumerable,IJCOBridgeReflected
public class DataRelationCollection extends InternalDataCollectionBase
The base .NET class managing System.Data.DataRelationCollection, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.DataRelationCollection
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Datastatic java.lang.StringclassNameQualified class name: System.Data.DataRelationCollectionstatic JCTypeclassTypeThe type managed from JCOBridge.-
Fields inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
Null
-
-
Constructor Summary
Constructors Constructor Description DataRelationCollection()DataRelationCollection(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DataRelationAdd(java.lang.String name, DataColumn[] parentColumns, DataColumn[] childColumns)DataRelationAdd(java.lang.String name, DataColumn[] parentColumns, DataColumn[] childColumns, boolean createConstraints)DataRelationAdd(java.lang.String name, DataColumn parentColumn, DataColumn childColumn)DataRelationAdd(java.lang.String name, DataColumn parentColumn, DataColumn childColumn, boolean createConstraints)DataRelationAdd(DataColumn[] parentColumns, DataColumn[] childColumns)DataRelationAdd(DataColumn parentColumn, DataColumn childColumn)voidAdd(DataRelation relation)voidaddCollectionChanged(CollectionChangeEventHandler handler)voidAddRange(DataRelation[] relations)booleanCanRemove(DataRelation relation)static DataRelationCollectioncast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoDataRelationCollection, a cast assert is made to check if types are compatible.voidClear()booleanContains(java.lang.String name)voidCopyTo(DataRelation[] array, int index)java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeintIndexOf(java.lang.String relationName)intIndexOf(DataRelation relation)voidRemove(java.lang.String name)voidRemove(DataRelation relation)voidRemoveAt(int index)voidremoveCollectionChanged(CollectionChangeEventHandler handler)voidsetJCOInstance(JCObject instance)-
Methods inherited from class system.data.InternalDataCollectionBase
CopyTo, getCount, getIsReadOnly, getIsSynchronized, getSyncRoot
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
GetEnumerator, iterator
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Data- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Data.DataRelationCollection- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DataRelationCollection
public DataRelationCollection(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
DataRelationCollection
public DataRelationCollection() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classInternalDataCollectionBase- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classInternalDataCollectionBase- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classInternalDataCollectionBase- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classInternalDataCollectionBase- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classInternalDataCollectionBase
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classInternalDataCollectionBase- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static DataRelationCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoDataRelationCollection, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
DataRelationCollectioninstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
CanRemove
public boolean CanRemove(DataRelation relation) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
Contains
public boolean Contains(java.lang.String name) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, IndexOutOfRangeException, ArgumentException, ObjectDisposedException, CultureNotFoundException
-
IndexOf
public int IndexOf(DataRelation relation) throws java.lang.Throwable, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
IndexOf
public int IndexOf(java.lang.String relationName) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, IndexOutOfRangeException, ArgumentException, ObjectDisposedException, CultureNotFoundException
-
Add
public DataRelation Add(DataColumn parentColumn, DataColumn childColumn) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException
-
Add
public DataRelation Add(DataColumn[] parentColumns, DataColumn[] childColumns) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException
-
Add
public DataRelation Add(java.lang.String name, DataColumn parentColumn, DataColumn childColumn) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException
-
Add
public DataRelation Add(java.lang.String name, DataColumn parentColumn, DataColumn childColumn, boolean createConstraints) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException
-
Add
public DataRelation Add(java.lang.String name, DataColumn[] parentColumns, DataColumn[] childColumns) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException
-
Add
public DataRelation Add(java.lang.String name, DataColumn[] parentColumns, DataColumn[] childColumns, boolean createConstraints) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException
-
Add
public void Add(DataRelation relation) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException
-
AddRange
public void AddRange(DataRelation[] relations) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException
-
Clear
public void Clear() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException
-
CopyTo
public void CopyTo(DataRelation[] array, int index) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, NotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionNotSupportedException
-
Remove
public void Remove(DataRelation relation) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException
-
Remove
public void Remove(java.lang.String name) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, NotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionNotSupportedException
-
RemoveAt
public void RemoveAt(int index) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, NotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionNotSupportedException
-
addCollectionChanged
public void addCollectionChanged(CollectionChangeEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeCollectionChanged
public void removeCollectionChanged(CollectionChangeEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-