public class DataContract extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Runtime.Serialization.DataContracts.DataContract
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.Private.DataContractSerialization, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.DataContractSerialization
|
static java.lang.String |
className
Qualified class name: System.Runtime.Serialization.DataContracts.DataContract
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
DataContract() |
DataContract(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static DataContract |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into DataContract, a cast assert is made to check if types are compatible. |
XmlQualifiedName |
GetArrayTypeName(boolean isNullable) |
DataContract |
getBaseContract() |
static DataContract |
GetBuiltInDataContract(java.lang.String name,
java.lang.String ns) |
java.lang.String |
getContractType() |
boolean |
getIsBuiltInDataContract() |
boolean |
getIsISerializable() |
boolean |
getIsReference() |
boolean |
getIsValueType() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
NetType |
getOriginalUnderlyingType() |
XmlDictionaryString |
getTopLevelElementName() |
XmlDictionaryString |
getTopLevelElementNamespace() |
NetType |
getUnderlyingType() |
XmlQualifiedName |
getXmlName() |
static XmlQualifiedName |
GetXmlName(NetType type) |
boolean |
IsDictionaryLike(JCORefOut keyName,
JCORefOut valueName,
JCORefOut itemName) |
void |
setIsISerializable(boolean IsISerializable) |
void |
setIsReference(boolean IsReference) |
void |
setIsValueType(boolean IsValueType) |
void |
setJCOInstance(JCObject instance) |
void |
setTopLevelElementName(XmlDictionaryString TopLevelElementName) |
void |
setTopLevelElementNamespace(XmlDictionaryString TopLevelElementNamespace) |
void |
setXmlName(XmlQualifiedName XmlName) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public DataContract()
throws java.lang.Throwable
java.lang.Throwablepublic DataContract(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static DataContract cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DataContract, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDataContract instancejava.lang.Throwable - in case of error during cast operationpublic XmlQualifiedName GetArrayTypeName(boolean isNullable) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, XmlSchemaException, ArgumentOutOfRangeException, XmlException, PlatformNotSupportedException, InvalidDataContractException, OutOfMemoryException, NullReferenceException, NotImplementedException, RegexMatchTimeoutException, ArrayTypeMismatchException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionXmlSchemaExceptionArgumentOutOfRangeExceptionXmlExceptionPlatformNotSupportedExceptionInvalidDataContractExceptionOutOfMemoryExceptionNullReferenceExceptionNotImplementedExceptionRegexMatchTimeoutExceptionArrayTypeMismatchExceptionpublic DataContract getBaseContract() throws java.lang.Throwable
java.lang.Throwablepublic static DataContract GetBuiltInDataContract(java.lang.String name, java.lang.String ns) throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, InvalidDataContractException
public java.lang.String getContractType()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsBuiltInDataContract()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsISerializable()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsReference()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsValueType()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic NetType getOriginalUnderlyingType() throws java.lang.Throwable
java.lang.Throwablepublic XmlDictionaryString getTopLevelElementName() throws java.lang.Throwable
java.lang.Throwablepublic XmlDictionaryString getTopLevelElementNamespace() throws java.lang.Throwable
java.lang.Throwablepublic NetType getUnderlyingType() throws java.lang.Throwable
java.lang.Throwablepublic XmlQualifiedName getXmlName() throws java.lang.Throwable
java.lang.Throwablepublic static XmlQualifiedName GetXmlName(NetType type) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, InvalidDataContractException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException
public boolean IsDictionaryLike(JCORefOut keyName, JCORefOut valueName, JCORefOut itemName) throws java.lang.Throwable
java.lang.Throwablepublic void setIsISerializable(boolean IsISerializable)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
InvalidDataContractException
public void setIsReference(boolean IsReference)
throws java.lang.Throwable
java.lang.Throwablepublic void setIsValueType(boolean IsValueType)
throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void setTopLevelElementName(XmlDictionaryString TopLevelElementName) throws java.lang.Throwable
java.lang.Throwablepublic void setTopLevelElementNamespace(XmlDictionaryString TopLevelElementNamespace) throws java.lang.Throwable
java.lang.Throwablepublic void setXmlName(XmlQualifiedName XmlName) throws java.lang.Throwable
java.lang.Throwable