Package system.servicemodel.description
Class MetadataSection
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.servicemodel.description.MetadataSection
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class MetadataSection extends NetObject
The base .NET class managing System.ServiceModel.Description.MetadataSection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.ServiceModel.Description.MetadataSection
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.StringassemblyFullNameFully assembly qualified name: System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.ServiceModelstatic java.lang.StringclassNameQualified class name: System.ServiceModel.Description.MetadataSectionstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description MetadataSection()MetadataSection(java.lang.Object instance)Internal constructor.MetadataSection(java.lang.String dialect, java.lang.String identifier, NetObject metadata)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetadataSectioncast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoMetadataSection, a cast assert is made to check if types are compatible.static MetadataSectionCreateFromPolicy(XmlElement policy, java.lang.String identifier)static MetadataSectionCreateFromSchema(XmlSchema schema)static MetadataSectionCreateFromServiceDescription(ServiceDescription serviceDescription)java.lang.StringgetDialect()java.lang.StringgetIdentifier()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 TypeNetObjectgetMetadata()static java.lang.StringgetMetadataExchangeDialect()static java.lang.StringgetPolicyDialect()static java.lang.StringgetServiceDescriptionDialect()static java.lang.StringgetXmlSchemaDialect()voidsetDialect(java.lang.String Dialect)voidsetIdentifier(java.lang.String Identifier)voidsetJCOInstance(JCObject instance)voidsetMetadata(NetObject Metadata)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.ServiceModel- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.ServiceModel.Description.MetadataSection- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MetadataSection
public MetadataSection(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
MetadataSection
public MetadataSection() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
MetadataSection
public MetadataSection(java.lang.String dialect, java.lang.String identifier, NetObject metadata) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static MetadataSection cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoMetadataSection, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
MetadataSectioninstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
CreateFromPolicy
public static MetadataSection CreateFromPolicy(XmlElement policy, java.lang.String identifier) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException
-
CreateFromSchema
public static MetadataSection CreateFromSchema(XmlSchema schema) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException
-
CreateFromServiceDescription
public static MetadataSection CreateFromServiceDescription(ServiceDescription serviceDescription) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException
-
getMetadata
public NetObject getMetadata() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setMetadata
public void setMetadata(NetObject Metadata) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getDialect
public java.lang.String getDialect() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setDialect
public void setDialect(java.lang.String Dialect) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getIdentifier
public java.lang.String getIdentifier() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setIdentifier
public void setIdentifier(java.lang.String Identifier) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getMetadataExchangeDialect
public static java.lang.String getMetadataExchangeDialect() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getPolicyDialect
public static java.lang.String getPolicyDialect() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getServiceDescriptionDialect
public static java.lang.String getServiceDescriptionDialect() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getXmlSchemaDialect
public static java.lang.String getXmlSchemaDialect() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-