Package system.configuration
Class SettingsProperty
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.configuration.SettingsProperty
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class SettingsProperty extends NetObject
The base .NET class managing System.Configuration.SettingsProperty, System.Configuration.ConfigurationManager, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Configuration.SettingsProperty
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.Configuration.ConfigurationManager, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51static java.lang.StringassemblyShortNameAssembly name: System.Configuration.ConfigurationManagerstatic java.lang.StringclassNameQualified class name: System.Configuration.SettingsPropertystatic org.mases.jcobridge.JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description SettingsProperty()SettingsProperty(java.lang.Object instance)Internal constructor.SettingsProperty(java.lang.String name)SettingsProperty(java.lang.String name, NetType propertyType, SettingsProvider provider, boolean isReadOnly, NetObject defaultValue, SettingsSerializeAs serializeAs, SettingsAttributeDictionary attributes, boolean throwOnErrorDeserializing, boolean throwOnErrorSerializing)SettingsProperty(SettingsProperty propertyToCopy)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SettingsPropertycast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoSettingsProperty, a cast assert is made to check if types are compatible.SettingsAttributeDictionarygetAttributes()NetObjectgetDefaultValue()booleangetIsReadOnly()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 objectorg.mases.jcobridge.JCTypegetJCOType()Returns the instantiated class Typejava.lang.StringgetName()NetTypegetPropertyType()SettingsProvidergetProvider()SettingsSerializeAsgetSerializeAs()booleangetThrowOnErrorDeserializing()booleangetThrowOnErrorSerializing()voidsetAttributes(SettingsAttributeDictionary Attributes)voidsetDefaultValue(NetObject DefaultValue)voidsetIsReadOnly(boolean IsReadOnly)voidsetJCOInstance(org.mases.jcobridge.JCObject instance)voidsetName(java.lang.String Name)voidsetPropertyType(NetType PropertyType)voidsetProvider(SettingsProvider Provider)voidsetSerializeAs(SettingsSerializeAs SerializeAs)voidsetThrowOnErrorDeserializing(boolean ThrowOnErrorDeserializing)voidsetThrowOnErrorSerializing(boolean ThrowOnErrorSerializing)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Configuration.ConfigurationManager, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Configuration.ConfigurationManager- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Configuration.SettingsProperty- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
Constructor Detail
-
SettingsProperty
public SettingsProperty(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
SettingsProperty
public SettingsProperty() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
SettingsProperty
public SettingsProperty(SettingsProperty propertyToCopy) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException
-
SettingsProperty
public SettingsProperty(java.lang.String name, NetType propertyType, SettingsProvider provider, boolean isReadOnly, NetObject defaultValue, SettingsSerializeAs serializeAs, SettingsAttributeDictionary attributes, boolean throwOnErrorDeserializing, boolean throwOnErrorSerializing) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException
-
SettingsProperty
public SettingsProperty(java.lang.String name) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeException
-
-
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(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public org.mases.jcobridge.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 SettingsProperty cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoSettingsProperty, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
SettingsPropertyinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
getIsReadOnly
public boolean getIsReadOnly() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setIsReadOnly
public void setIsReadOnly(boolean IsReadOnly) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getThrowOnErrorDeserializing
public boolean getThrowOnErrorDeserializing() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setThrowOnErrorDeserializing
public void setThrowOnErrorDeserializing(boolean ThrowOnErrorDeserializing) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getThrowOnErrorSerializing
public boolean getThrowOnErrorSerializing() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setThrowOnErrorSerializing
public void setThrowOnErrorSerializing(boolean ThrowOnErrorSerializing) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getAttributes
public SettingsAttributeDictionary getAttributes() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAttributes
public void setAttributes(SettingsAttributeDictionary Attributes) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getProvider
public SettingsProvider getProvider() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setProvider
public void setProvider(SettingsProvider Provider) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSerializeAs
public SettingsSerializeAs getSerializeAs() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSerializeAs
public void setSerializeAs(SettingsSerializeAs SerializeAs) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getDefaultValue
public NetObject getDefaultValue() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDefaultValue
public void setDefaultValue(NetObject DefaultValue) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getName
public java.lang.String getName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setName
public void setName(java.lang.String Name) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getPropertyType
public NetType getPropertyType() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setPropertyType
public void setPropertyType(NetType PropertyType) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-