public class JsonPropertyInfo extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Text.Json.Serialization.Metadata.JsonPropertyInfo
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.Text.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.Text.Json
|
static java.lang.String |
className
Qualified class name: System.Text.Json.Serialization.Metadata.JsonPropertyInfo
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
JsonPropertyInfo() |
JsonPropertyInfo(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static JsonPropertyInfo |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into JsonPropertyInfo, a cast assert is made to check if types are compatible. |
JsonParameterInfo |
getAssociatedParameter()
Gets the value of the .NET property AssociatedParameter.
|
ICustomAttributeProvider |
getAttributeProvider()
Gets the value of the .NET property AttributeProvider.
|
JsonConverter |
getCustomConverter()
Gets the value of the .NET property CustomConverter.
|
NetType |
getDeclaringType()
Gets the value of the .NET property DeclaringType.
|
Func_2 |
getGet()
Gets the value of the .NET property Get.
|
boolean |
getIsExtensionData()
Gets the value of the .NET property IsExtensionData.
|
boolean |
getIsGetNullable()
Gets the value of the .NET property IsGetNullable.
|
boolean |
getIsRequired()
Gets the value of the .NET property IsRequired.
|
boolean |
getIsSetNullable()
Gets the value of the .NET property IsSetNullable.
|
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. |
java.lang.String |
getName()
Gets the value of the .NET property Name.
|
Nullable_1 |
getNumberHandling()
Gets the value of the .NET property NumberHandling.
|
Nullable_1 |
getObjectCreationHandling()
Gets the value of the .NET property ObjectCreationHandling.
|
JsonSerializerOptions |
getOptions()
Gets the value of the .NET property Options.
|
int |
getOrder()
Gets the value of the .NET property Order.
|
NetType |
getPropertyType()
Gets the value of the .NET property PropertyType.
|
Action_2 |
getSet()
Gets the value of the .NET property Set.
|
Func_3 |
getShouldSerialize()
Gets the value of the .NET property ShouldSerialize.
|
void |
setAssociatedParameter(JsonParameterInfo AssociatedParameter)
Sets the value of the .NET property AssociatedParameter.
|
void |
setAttributeProvider(ICustomAttributeProvider AttributeProvider)
Sets the value of the .NET property AttributeProvider.
|
void |
setCustomConverter(JsonConverter CustomConverter)
Sets the value of the .NET property CustomConverter.
|
void |
setGet(Func_2 Get)
Sets the value of the .NET property Get.
|
void |
setIsExtensionData(boolean IsExtensionData)
Sets the value of the .NET property IsExtensionData.
|
void |
setIsGetNullable(boolean IsGetNullable)
Sets the value of the .NET property IsGetNullable.
|
void |
setIsRequired(boolean IsRequired)
Sets the value of the .NET property IsRequired.
|
void |
setIsSetNullable(boolean IsSetNullable)
Sets the value of the .NET property IsSetNullable.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setName(java.lang.String Name)
Sets the value of the .NET property Name.
|
void |
setNumberHandling(Nullable_1 NumberHandling)
Sets the value of the .NET property NumberHandling.
|
void |
setObjectCreationHandling(Nullable_1 ObjectCreationHandling)
Sets the value of the .NET property ObjectCreationHandling.
|
void |
setOrder(int Order)
Sets the value of the .NET property Order.
|
void |
setSet(Action_2 Set)
Sets the value of the .NET property Set.
|
void |
setShouldSerialize(Func_3 ShouldSerialize)
Sets the value of the .NET property ShouldSerialize.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public JsonPropertyInfo()
throws java.lang.Throwable
java.lang.Throwablepublic JsonPropertyInfo(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 JsonPropertyInfo cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into JsonPropertyInfo, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedJsonPropertyInfo instancejava.lang.Throwable - in case of error during cast operationpublic JsonParameterInfo getAssociatedParameter() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic ICustomAttributeProvider getAttributeProvider() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
java.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 itpublic JsonConverter getCustomConverter() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetType getDeclaringType() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Func_2 getGet() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsExtensionData()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsGetNullable()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsRequired()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsSetNullable()
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 NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic java.lang.String getName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Nullable_1 getNumberHandling() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Nullable_1 getObjectCreationHandling() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic JsonSerializerOptions getOptions() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getOrder()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetType getPropertyType() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Action_2 getSet() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Func_3 getShouldSerialize() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setAssociatedParameter(JsonParameterInfo AssociatedParameter) throws java.lang.Throwable
AssociatedParameter - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setAttributeProvider(ICustomAttributeProvider AttributeProvider) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
AttributeProvider - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setCustomConverter(JsonConverter CustomConverter) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
CustomConverter - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setGet(Func_2 Get) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
Get - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setIsExtensionData(boolean IsExtensionData)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
NotSupportedException,
FormatException
IsExtensionData - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itpublic void setIsGetNullable(boolean IsGetNullable)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
NotSupportedException,
FormatException
IsGetNullable - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itpublic void setIsRequired(boolean IsRequired)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException
IsRequired - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setIsSetNullable(boolean IsSetNullable)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
NotSupportedException,
FormatException
IsSetNullable - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic void setName(java.lang.String Name)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException
Name - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setNumberHandling(Nullable_1 NumberHandling) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
NumberHandling - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setObjectCreationHandling(Nullable_1 ObjectCreationHandling) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
ObjectCreationHandling - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic void setOrder(int Order)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException
Order - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setSet(Action_2 Set) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
Set - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setShouldSerialize(Func_3 ShouldSerialize) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
ShouldSerialize - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises it