Package system.data.metadata.edm
Class ObjectItemCollection
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- org.mases.jcobridge.netreflection.NetObjectEnumerable
-
- system.data.metadata.edm.ItemCollection
-
- system.data.metadata.edm.ObjectItemCollection
-
- All Implemented Interfaces:
java.lang.Iterable<NetObject>,IEnumerable,IJCOBridgeReflected
public class ObjectItemCollection extends ItemCollection
The base .NET class managing System.Data.Metadata.Edm.ObjectItemCollection, System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.Metadata.Edm.ObjectItemCollection
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.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Data.Entitystatic java.lang.StringclassNameQualified class name: System.Data.Metadata.Edm.ObjectItemCollectionstatic JCTypeclassTypeThe type managed from JCOBridge.-
Fields inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
Null
-
-
Constructor Summary
Constructors Constructor Description ObjectItemCollection()ObjectItemCollection(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ObjectItemCollectioncast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoObjectItemCollection, a cast assert is made to check if types are compatible.NetTypeGetClrType(EnumType objectSpaceType)NetTypeGetClrType(StructuralType objectSpaceType)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 TypevoidLoadFromAssembly(Assembly assembly)voidLoadFromAssembly(Assembly assembly, EdmItemCollection edmItemCollection)voidsetJCOInstance(JCObject instance)booleanTryGetClrType(EnumType objectSpaceType, JCORefOut<NetType> clrType)booleanTryGetClrType(StructuralType objectSpaceType, JCORefOut<NetType> clrType)-
Methods inherited from class system.data.metadata.edm.ItemCollection
getDataSpace, GetEntityContainer, GetEntityContainer, GetType, GetType, TryGetEntityContainer, TryGetEntityContainer, TryGetType, TryGetType
-
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.Entity, 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.Entity- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Data.Metadata.Edm.ObjectItemCollection- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ObjectItemCollection
public ObjectItemCollection(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
ObjectItemCollection
public ObjectItemCollection() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, CultureNotFoundException, NotSupportedException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classItemCollection- 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 classItemCollection- 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 classItemCollection- 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 classItemCollection- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classItemCollection
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classItemCollection- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static ObjectItemCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoObjectItemCollection, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ObjectItemCollectioninstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
TryGetClrType
public boolean TryGetClrType(EnumType objectSpaceType, JCORefOut<NetType> clrType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
-
TryGetClrType
public boolean TryGetClrType(StructuralType objectSpaceType, JCORefOut<NetType> clrType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
-
GetClrType
public NetType GetClrType(EnumType objectSpaceType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException
-
GetClrType
public NetType GetClrType(StructuralType objectSpaceType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException
-
LoadFromAssembly
public void LoadFromAssembly(Assembly assembly) throws java.lang.Throwable, ArgumentNullException, NotImplementedException, ArgumentException, ArgumentOutOfRangeException, MissingManifestResourceException, InvalidOperationException, IndexOutOfRangeException, OutOfMemoryException, MetadataException, MappingException, CultureNotFoundException, NotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionNotImplementedExceptionArgumentExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionInvalidOperationExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionMetadataExceptionMappingExceptionCultureNotFoundExceptionNotSupportedException
-
LoadFromAssembly
public void LoadFromAssembly(Assembly assembly, EdmItemCollection edmItemCollection) throws java.lang.Throwable, ArgumentNullException, NotImplementedException, ArgumentException, ArgumentOutOfRangeException, MissingManifestResourceException, InvalidOperationException, IndexOutOfRangeException, OutOfMemoryException, MetadataException, MappingException, CultureNotFoundException, NotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionNotImplementedExceptionArgumentExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionInvalidOperationExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionMetadataExceptionMappingExceptionCultureNotFoundExceptionNotSupportedException
-
-