public class SqlMoney extends ValueType implements IXmlSerializable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.SqlTypes.SqlMoney
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.Data.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Data.Common
|
static java.lang.String |
className
Qualified class name: System.Data.SqlTypes.SqlMoney
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
SqlMoney() |
SqlMoney(Decimal value) |
SqlMoney(double value) |
SqlMoney(int value) |
SqlMoney(long value) |
SqlMoney(java.lang.Object instance)
Internal constructor.
|
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToStringGetSchema, ReadXml, ToIXmlSerializable, WriteXmlpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public SqlMoney()
throws java.lang.Throwable
java.lang.Throwablepublic SqlMoney(Decimal value) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, SqlNullValueException, SqlTruncateException, OverflowException, DivideByZeroException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionSqlNullValueExceptionSqlTruncateExceptionOverflowExceptionDivideByZeroExceptionpublic SqlMoney(double value)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
OverflowException,
IndexOutOfRangeException,
SqlNullValueException,
SqlTruncateException,
DivideByZeroException
public SqlMoney(int value)
throws java.lang.Throwable
java.lang.Throwablepublic SqlMoney(long value)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
OverflowException
public SqlMoney(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static SqlMoney Add(SqlMoney x, SqlMoney y) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, OverflowException
public static SqlMoney cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into SqlMoney, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedSqlMoney instancejava.lang.Throwable - in case of error during cast operationpublic int CompareTo(NetObject value) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionpublic int CompareTo(SqlMoney value) throws java.lang.Throwable
java.lang.Throwablepublic static SqlMoney Divide(SqlMoney x, SqlMoney y) throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, PlatformNotSupportedException, ArgumentOutOfRangeException, DivideByZeroException, OverflowException, NotSupportedException, SqlTruncateException
public boolean Equals(SqlMoney other) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, SqlNullValueException
public static SqlBoolean Equals(SqlMoney x, SqlMoney y) throws java.lang.Throwable
java.lang.Throwablepublic static SqlMoney FromTdsValue(long value) throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsNull()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IXmlSerializablegetJCOAssemblyName in class ValueTypeString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IXmlSerializablegetJCOClassName in class ValueTypeString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IXmlSerializablegetJCOInstance in class ValueTypeObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IXmlSerializablegetJCOObjectName in class ValueTypeString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface IXmlSerializablegetJCOType in class ValueTypeJCType representing the CLR Type of the instantiated Classpublic long GetTdsValue()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
SqlNullValueException
public Decimal getValue() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, SqlNullValueException, IndexOutOfRangeException, FormatException, ArgumentOutOfRangeException
public static XmlQualifiedName GetXsdType(XmlSchemaSet schemaSet) throws java.lang.Throwable
java.lang.Throwablepublic static SqlBoolean GreaterThan(SqlMoney x, SqlMoney y) throws java.lang.Throwable
java.lang.Throwablepublic static SqlBoolean GreaterThanOrEqual(SqlMoney x, SqlMoney y) throws java.lang.Throwable
java.lang.Throwablepublic static SqlBoolean LessThan(SqlMoney x, SqlMoney y) throws java.lang.Throwable
java.lang.Throwablepublic static SqlBoolean LessThanOrEqual(SqlMoney x, SqlMoney y) throws java.lang.Throwable
java.lang.Throwablepublic static SqlMoney Multiply(SqlMoney x, SqlMoney y) throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, OverflowException, SqlTruncateException, DivideByZeroException
public static SqlBoolean NotEquals(SqlMoney x, SqlMoney y) throws java.lang.Throwable
java.lang.Throwablepublic static SqlMoney Parse(java.lang.String s) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, OutOfMemoryException, IndexOutOfRangeException, SqlNullValueException, SqlTruncateException, OverflowException, DivideByZeroException, FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionSqlNullValueExceptionSqlTruncateExceptionOverflowExceptionDivideByZeroExceptionFormatExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class ValueTypepublic static SqlMoney Subtract(SqlMoney x, SqlMoney y) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, OverflowException
public Decimal ToDecimal() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, SqlNullValueException, InvalidOperationException, IndexOutOfRangeException, FormatException
public double ToDouble()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
SqlNullValueException,
IndexOutOfRangeException,
FormatException,
ArgumentOutOfRangeException,
NotSupportedException
public int ToInt32()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
SqlNullValueException
public long ToInt64()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
SqlNullValueException
public SqlBoolean ToSqlBoolean() throws java.lang.Throwable
java.lang.Throwablepublic SqlByte ToSqlByte() throws java.lang.Throwable, ArgumentException, SqlNullValueException
java.lang.ThrowableArgumentExceptionSqlNullValueExceptionpublic SqlDecimal ToSqlDecimal() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException
public SqlDouble ToSqlDouble() throws java.lang.Throwable, ArgumentException, SqlNullValueException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, OverflowException
public SqlInt16 ToSqlInt16() throws java.lang.Throwable, ArgumentException, SqlNullValueException
java.lang.ThrowableArgumentExceptionSqlNullValueExceptionpublic SqlInt32 ToSqlInt32() throws java.lang.Throwable, ArgumentException, SqlNullValueException
java.lang.ThrowableArgumentExceptionSqlNullValueExceptionpublic SqlInt64 ToSqlInt64() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionSqlNullValueExceptionpublic SqlSingle ToSqlSingle() throws java.lang.Throwable, ArgumentException, SqlNullValueException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, OverflowException
public SqlString ToSqlString() throws java.lang.Throwable, PlatformNotSupportedException, CultureNotFoundException, NullReferenceException, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException