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.String
assemblyFullName
Fully assembly qualified name: System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: System.Data.Entitystatic java.lang.String
className
Qualified class name: System.Data.Metadata.Edm.ObjectItemCollectionstatic JCType
classType
The 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 ObjectItemCollection
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoObjectItemCollection
, a cast assert is made to check if types are compatible.NetType
GetClrType(EnumType objectSpaceType)
NetType
GetClrType(StructuralType objectSpaceType)
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typevoid
LoadFromAssembly(Assembly assembly)
void
LoadFromAssembly(Assembly assembly, EdmItemCollection edmItemCollection)
void
setJCOInstance(JCObject instance)
boolean
TryGetClrType(EnumType objectSpaceType, JCORefOut<NetType> clrType)
boolean
TryGetClrType(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.Throwable
Internal 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:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classItemCollection
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classItemCollection
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classItemCollection
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classItemCollection
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classItemCollection
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classItemCollection
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static ObjectItemCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoObjectItemCollection
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ObjectItemCollection
instance- 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.Throwable
ArgumentNullException
NotImplementedException
ArgumentException
ArgumentOutOfRangeException
MissingManifestResourceException
InvalidOperationException
IndexOutOfRangeException
OutOfMemoryException
MetadataException
MappingException
CultureNotFoundException
NotSupportedException
-
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.Throwable
ArgumentNullException
NotImplementedException
ArgumentException
ArgumentOutOfRangeException
MissingManifestResourceException
InvalidOperationException
IndexOutOfRangeException
OutOfMemoryException
MetadataException
MappingException
CultureNotFoundException
NotSupportedException
-
-