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.String
assemblyFullName
Fully assembly qualified name: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Webstatic java.lang.String
className
Qualified class name: System.Web.ModelBinding.DataAnnotationsModelValidatorProviderstatic JCType
classType
The 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.Throwable
Internal 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:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classAssociatedValidatorProvider
- 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 classAssociatedValidatorProvider
- 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 classAssociatedValidatorProvider
- 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 classAssociatedValidatorProvider
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classAssociatedValidatorProvider
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classAssociatedValidatorProvider
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static DataAnnotationsModelValidatorProvider cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoDataAnnotationsModelValidatorProvider
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
DataAnnotationsModelValidatorProvider
instance- 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.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
-
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.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
-
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.Throwable
ArgumentNullException
InvalidOperationException
TypeLoadException
ArgumentException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
NotImplementedException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
FormatException
-
RegisterDefaultAdapterFactory
public static void RegisterDefaultAdapterFactory(DataAnnotationsModelValidationFactory factory) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentNullException
-
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.Throwable
ArgumentNullException
InvalidOperationException
TypeLoadException
ArgumentException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
NotImplementedException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
FormatException
-
RegisterDefaultValidatableObjectAdapterFactory
public static void RegisterDefaultValidatableObjectAdapterFactory(DataAnnotationsValidatableObjectAdapterFactory factory) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentNullException
-
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.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
-
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.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
-
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
-
-