public class ImportDefinition extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.ComponentModel.Composition.Primitives.ImportDefinition
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.ComponentModel.Composition, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.ComponentModel.Composition
|
static java.lang.String |
className
Qualified class name: System.ComponentModel.Composition.Primitives.ImportDefinition
|
static org.mases.jcobridge.JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ImportDefinition() |
ImportDefinition(Expression_1 constraint,
java.lang.String contractName,
ImportCardinality cardinality,
boolean isRecomposable,
boolean isPrerequisite) |
ImportDefinition(Expression_1 constraint,
java.lang.String contractName,
ImportCardinality cardinality,
boolean isRecomposable,
boolean isPrerequisite,
IDictionary_2 metadata) |
ImportDefinition(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ImportDefinition |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ImportDefinition, a cast assert is made to check if types are compatible. |
ImportCardinality |
getCardinality() |
Expression_1 |
getConstraint() |
java.lang.String |
getContractName() |
boolean |
getIsPrerequisite() |
boolean |
getIsRecomposable() |
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
|
org.mases.jcobridge.JCType |
getJCOType()
Returns the instantiated class Type
|
IDictionary_2 |
getMetadata() |
boolean |
IsConstraintSatisfiedBy(ExportDefinition exportDefinition) |
void |
setJCOInstance(org.mases.jcobridge.JCObject instance) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public static org.mases.jcobridge.JCType classType
JCTypepublic ImportDefinition()
throws java.lang.Throwable
java.lang.Throwablepublic ImportDefinition(Expression_1 constraint, java.lang.String contractName, ImportCardinality cardinality, boolean isRecomposable, boolean isPrerequisite) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, NotImplementedException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionNotImplementedExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionpublic ImportDefinition(Expression_1 constraint, java.lang.String contractName, ImportCardinality cardinality, boolean isRecomposable, boolean isPrerequisite, IDictionary_2 metadata) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, NotImplementedException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionNotImplementedExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionpublic ImportDefinition(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static ImportDefinition cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ImportDefinition, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedImportDefinition instancejava.lang.Throwable - in case of error during cast operationpublic ImportCardinality getCardinality() throws java.lang.Throwable
java.lang.Throwablepublic Expression_1 getConstraint() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, InvalidOperationException, NotImplementedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionInvalidOperationExceptionNotImplementedExceptionpublic java.lang.String getContractName()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsPrerequisite()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsRecomposable()
throws java.lang.Throwable
java.lang.Throwablepublic 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 org.mases.jcobridge.JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic IDictionary_2 getMetadata() throws java.lang.Throwable
java.lang.Throwablepublic boolean IsConstraintSatisfiedBy(ExportDefinition exportDefinition) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentOutOfRangeException, NotSupportedException, ArgumentException, InvalidOperationException, SecurityException, KeyNotFoundException
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
setJCOInstance in class NetObject