Package system.web.modelbinding
Class DataAnnotationsModelValidatorProvider
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.web.modelbinding.ModelValidatorProvider
-
- system.web.modelbinding.AssociatedValidatorProvider
-
- system.web.modelbinding.DataAnnotationsModelValidatorProvider
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class DataAnnotationsModelValidatorProvider extends AssociatedValidatorProvider
The base .NET class managing System.Web.ModelBinding.DataAnnotationsModelValidatorProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Web.ModelBinding.DataAnnotationsModelValidatorProvider
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.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Webstatic java.lang.StringclassNameQualified class name: System.Web.ModelBinding.DataAnnotationsModelValidatorProviderstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description DataAnnotationsModelValidatorProvider()DataAnnotationsModelValidatorProvider(java.lang.Object instance)Internal constructor.
-
Method Summary
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Web- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Web.ModelBinding.DataAnnotationsModelValidatorProvider- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DataAnnotationsModelValidatorProvider
public DataAnnotationsModelValidatorProvider(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
DataAnnotationsModelValidatorProvider
public DataAnnotationsModelValidatorProvider() 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 classAssociatedValidatorProvider- 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 classAssociatedValidatorProvider- 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 classAssociatedValidatorProvider- 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 classAssociatedValidatorProvider- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classAssociatedValidatorProvider
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classAssociatedValidatorProvider- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static DataAnnotationsModelValidatorProvider cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoDataAnnotationsModelValidatorProvider, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
DataAnnotationsModelValidatorProviderinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
RegisterAdapter
public static void RegisterAdapter(NetType attributeType, NetType adapterType) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, TypeLoadException, ArgumentException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, NotImplementedException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, LockRecursionException, AbandonedMutexException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, SynchronizationLockException
- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionTypeLoadExceptionArgumentExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionNotImplementedExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionLockRecursionExceptionAbandonedMutexExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionSynchronizationLockException
-
RegisterAdapterFactory
public static void RegisterAdapterFactory(NetType attributeType, DataAnnotationsModelValidationFactory factory) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, TypeLoadException, ArgumentException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, NotImplementedException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, LockRecursionException, AbandonedMutexException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, SynchronizationLockException
- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionTypeLoadExceptionArgumentExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionNotImplementedExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionLockRecursionExceptionAbandonedMutexExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionSynchronizationLockException
-
RegisterDefaultAdapter
public static void RegisterDefaultAdapter(NetType adapterType) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, TypeLoadException, ArgumentException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, NotImplementedException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException
- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionTypeLoadExceptionArgumentExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionNotImplementedExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatException
-
RegisterDefaultAdapterFactory
public static void RegisterDefaultAdapterFactory(DataAnnotationsModelValidationFactory factory) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.ThrowableArgumentNullException
-
RegisterDefaultValidatableObjectAdapter
public static void RegisterDefaultValidatableObjectAdapter(NetType adapterType) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, TypeLoadException, ArgumentException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, NotImplementedException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException
- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionTypeLoadExceptionArgumentExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionNotImplementedExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatException
-
RegisterDefaultValidatableObjectAdapterFactory
public static void RegisterDefaultValidatableObjectAdapterFactory(DataAnnotationsValidatableObjectAdapterFactory factory) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.ThrowableArgumentNullException
-
RegisterValidatableObjectAdapter
public static void RegisterValidatableObjectAdapter(NetType modelType, NetType adapterType) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, TypeLoadException, ArgumentException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, NotImplementedException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, LockRecursionException, AbandonedMutexException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, SynchronizationLockException
- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionTypeLoadExceptionArgumentExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionNotImplementedExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionLockRecursionExceptionAbandonedMutexExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionSynchronizationLockException
-
RegisterValidatableObjectAdapterFactory
public static void RegisterValidatableObjectAdapterFactory(NetType modelType, DataAnnotationsValidatableObjectAdapterFactory factory) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, TypeLoadException, ArgumentException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, NotImplementedException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, LockRecursionException, AbandonedMutexException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, SynchronizationLockException
- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionTypeLoadExceptionArgumentExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionNotImplementedExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionLockRecursionExceptionAbandonedMutexExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionSynchronizationLockException
-
getAddImplicitRequiredAttributeForValueTypes
public static boolean getAddImplicitRequiredAttributeForValueTypes() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setAddImplicitRequiredAttributeForValueTypes
public static void setAddImplicitRequiredAttributeForValueTypes(boolean AddImplicitRequiredAttributeForValueTypes) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-