Package system.text.json.serialization
Class JsonDerivedTypeAttribute
- java.lang.Object
- 
- org.mases.jcobridge.netreflection.NetObject
- 
- system.Attribute
- 
- system.text.json.serialization.JsonAttribute
- 
- system.text.json.serialization.JsonDerivedTypeAttribute
 
 
 
 
- 
- All Implemented Interfaces:
- IJCOBridgeReflected
 
 public class JsonDerivedTypeAttribute extends JsonAttribute The base .NET class managing System.Text.Json.Serialization.JsonDerivedTypeAttribute, System.Text.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Text.Json.Serialization.JsonDerivedTypeAttribute Powered by JCOBridge: more info at https://www.jcobridge.com - Author:
- MASES s.r.l https://masesgroup.com
 
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Text.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51static java.lang.StringassemblyShortNameAssembly name: System.Text.Jsonstatic java.lang.StringclassNameQualified class name: System.Text.Json.Serialization.JsonDerivedTypeAttributestatic JCTypeclassTypeThe type managed from JCOBridge.
 - 
Constructor SummaryConstructors Constructor Description JsonDerivedTypeAttribute()JsonDerivedTypeAttribute(java.lang.Object instance)Internal constructor.JsonDerivedTypeAttribute(NetType derivedType)JsonDerivedTypeAttribute(NetType derivedType, int typeDiscriminator)JsonDerivedTypeAttribute(NetType derivedType, java.lang.String typeDiscriminator)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JsonDerivedTypeAttributecast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoJsonDerivedTypeAttribute, a cast assert is made to check if types are compatible.NetTypegetDerivedType()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeNetObjectgetTypeDiscriminator()voidsetJCOInstance(JCObject instance)- 
Methods inherited from class system.AttributeGetCustomAttribute, 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, Match
 
- 
 
- 
- 
- 
Field Detail- 
assemblyFullNamepublic static final java.lang.String assemblyFullName Fully assembly qualified name: System.Text.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51- See Also:
- Constant Field Values
 
 - 
assemblyShortNamepublic static final java.lang.String assemblyShortName Assembly name: System.Text.Json- See Also:
- Constant Field Values
 
 - 
classNamepublic static final java.lang.String className Qualified class name: System.Text.Json.Serialization.JsonDerivedTypeAttribute- See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
JsonDerivedTypeAttributepublic JsonDerivedTypeAttribute(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
- java.lang.Throwable
 
 - 
JsonDerivedTypeAttributepublic JsonDerivedTypeAttribute() throws java.lang.Throwable- Throws:
- java.lang.Throwable
 
 - 
JsonDerivedTypeAttributepublic JsonDerivedTypeAttribute(NetType derivedType, int typeDiscriminator) throws java.lang.Throwable - Throws:
- java.lang.Throwable
 
 - 
JsonDerivedTypeAttributepublic JsonDerivedTypeAttribute(NetType derivedType, java.lang.String typeDiscriminator) throws java.lang.Throwable - Throws:
- java.lang.Throwable
 
 - 
JsonDerivedTypeAttributepublic JsonDerivedTypeAttribute(NetType derivedType) throws java.lang.Throwable - Throws:
- java.lang.Throwable
 
 
- 
 - 
Method Detail- 
getJCOAssemblyNamepublic java.lang.String getJCOAssemblyName() Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
- getJCOAssemblyNamein interface- IJCOBridgeReflected
- Overrides:
- getJCOAssemblyNamein class- JsonAttribute
- Returns:
- A Stringrepresenting the Fullname of reflected Assembly
 
 - 
getJCOClassNamepublic java.lang.String getJCOClassName() Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
- getJCOClassNamein interface- IJCOBridgeReflected
- Overrides:
- getJCOClassNamein class- JsonAttribute
- Returns:
- A Stringrepresenting the Fullname of reflected Class
 
 - 
getJCOObjectNamepublic java.lang.String getJCOObjectName() Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
- getJCOObjectNamein interface- IJCOBridgeReflected
- Overrides:
- getJCOObjectNamein class- JsonAttribute
- Returns:
- A Stringrepresenting the name used to allocated the object in CLR context
 
 - 
getJCOInstancepublic java.lang.Object getJCOInstance() Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
- getJCOInstancein interface- IJCOBridgeReflected
- Overrides:
- getJCOInstancein class- JsonAttribute
- Returns:
- An Objectrepresenting the CLR instance of the instantiated Class
 
 - 
setJCOInstancepublic void setJCOInstance(JCObject instance) - Overrides:
- setJCOInstancein class- JsonAttribute
 
 - 
getJCOTypepublic JCType getJCOType() Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
- getJCOTypein interface- IJCOBridgeReflected
- Overrides:
- getJCOTypein class- JsonAttribute
- Returns:
- A JCTyperepresenting the CLR Type of the instantiated Class
 
 - 
castpublic static JsonDerivedTypeAttribute cast(IJCOBridgeReflected from) throws java.lang.Throwable Try to cast theIJCOBridgeReflectedinstance intoJsonDerivedTypeAttribute, a cast assert is made to check if types are compatible.- Parameters:
- from-- IJCOBridgeReflectedinstance to be casted
- Returns:
- JsonDerivedTypeAttributeinstance
- Throws:
- java.lang.Throwable- in case of error during cast operation
 
 - 
getTypeDiscriminatorpublic NetObject getTypeDiscriminator() throws java.lang.Throwable - Throws:
- java.lang.Throwable
 
 - 
getDerivedTypepublic NetType getDerivedType() throws java.lang.Throwable - Throws:
- java.lang.Throwable
 
 
- 
 
-