public class TimeSpanValidatorAttribute extends ConfigurationValidatorAttribute
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Configuration.TimeSpanValidatorAttribute
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.Configuration.ConfigurationManager, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.Configuration.ConfigurationManager
|
static java.lang.String |
className
Qualified class name: System.Configuration.TimeSpanValidatorAttribute
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
TimeSpanValidatorAttribute()
Initializes a new instance by invoking the .NET constructor.
|
TimeSpanValidatorAttribute(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static TimeSpanValidatorAttribute |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into TimeSpanValidatorAttribute, a cast assert is made to check if types are compatible. |
boolean |
getExcludeRange()
Gets the value of the .NET property ExcludeRange.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
TimeSpan |
getMaxValue()
Gets the value of the .NET property MaxValue.
|
java.lang.String |
getMaxValueString()
Gets the value of the .NET property MaxValueString.
|
TimeSpan |
getMinValue()
Gets the value of the .NET property MinValue.
|
java.lang.String |
getMinValueString()
Gets the value of the .NET property MinValueString.
|
void |
setExcludeRange(boolean ExcludeRange)
Sets the value of the .NET property ExcludeRange.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setMaxValue(TimeSpan MaxValue)
Sets the value of the .NET property MaxValue.
|
void |
setMaxValueString(java.lang.String MaxValueString)
Sets the value of the .NET property MaxValueString.
|
void |
setMinValue(TimeSpan MinValue)
Sets the value of the .NET property MinValue.
|
void |
setMinValueString(java.lang.String MinValueString)
Sets the value of the .NET property MinValueString.
|
getValidatorInstance, getValidatorTypeGetCustomAttribute, GetCustomAttribute, GetCustomAttribute, GetCustomAttribute, GetCustomAttribute, GetCustomAttribute, GetCustomAttribute, GetCustomAttribute, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, getTypeId, IsDefaultAttribute, IsDefined, IsDefined, IsDefined, IsDefined, IsDefined, IsDefined, IsDefined, IsDefined, Matchpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public TimeSpanValidatorAttribute()
throws java.lang.Throwable
java.lang.Throwable - if the .NET constructor failspublic TimeSpanValidatorAttribute(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic static TimeSpanValidatorAttribute cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into TimeSpanValidatorAttribute, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedTimeSpanValidatorAttribute instancejava.lang.Throwable - in case of error during cast operationpublic boolean getExcludeRange()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ConfigurationValidatorAttributepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ConfigurationValidatorAttributepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ConfigurationValidatorAttributenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ConfigurationValidatorAttributepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class ConfigurationValidatorAttributepublic TimeSpan getMaxValue() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getMaxValueString()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic TimeSpan getMinValue() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getMinValueString()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setExcludeRange(boolean ExcludeRange)
throws java.lang.Throwable
ExcludeRange - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class ConfigurationValidatorAttributeinstance - the new underlying objectpublic void setMaxValue(TimeSpan MaxValue) throws java.lang.Throwable
MaxValue - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setMaxValueString(java.lang.String MaxValueString)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
OverflowException
MaxValueString - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itOverflowException - if the .NET member raises itpublic void setMinValue(TimeSpan MinValue) throws java.lang.Throwable
MinValue - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setMinValueString(java.lang.String MinValueString)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
OverflowException
MinValueString - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itOverflowException - if the .NET member raises it