public class SqlMoney extends ValueType
.NET documentation at https://learn.microsoft.com/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=9.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)
Initializes a new instance by invoking the .NET constructor.
|
SqlMoney(double value)
Initializes a new instance by invoking the .NET constructor.
|
SqlMoney(int value)
Initializes a new instance by invoking the .NET constructor.
|
SqlMoney(long value)
Initializes a new instance by invoking the .NET constructor.
|
SqlMoney(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static SqlMoney |
Add(SqlMoney x,
SqlMoney y)
Invokes the .NET member Add.
|
static SqlMoney |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into SqlMoney, a cast assert is made to check if types are compatible. |
int |
CompareTo(NetObject value)
Invokes the .NET member CompareTo.
|
int |
CompareTo(SqlMoney value)
Invokes the .NET member CompareTo.
|
static SqlMoney |
Divide(SqlMoney x,
SqlMoney y)
Invokes the .NET member Divide.
|
boolean |
Equals(SqlMoney other)
Invokes the .NET member Equals.
|
static SqlBoolean |
Equals(SqlMoney x,
SqlMoney y)
Invokes the .NET member Equals.
|
static SqlMoney |
FromTdsValue(long value)
Invokes the .NET member FromTdsValue.
|
boolean |
getIsNull()
Gets the value of the .NET property IsNull.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
long |
GetTdsValue()
Invokes the .NET member GetTdsValue.
|
Decimal |
getValue()
Gets the value of the .NET property Value.
|
static XmlQualifiedName |
GetXsdType(XmlSchemaSet schemaSet)
Invokes the .NET member GetXsdType.
|
static SqlBoolean |
GreaterThan(SqlMoney x,
SqlMoney y)
Invokes the .NET member GreaterThan.
|
static SqlBoolean |
GreaterThanOrEqual(SqlMoney x,
SqlMoney y)
Invokes the .NET member GreaterThanOrEqual.
|
static SqlBoolean |
LessThan(SqlMoney x,
SqlMoney y)
Invokes the .NET member LessThan.
|
static SqlBoolean |
LessThanOrEqual(SqlMoney x,
SqlMoney y)
Invokes the .NET member LessThanOrEqual.
|
static SqlMoney |
Multiply(SqlMoney x,
SqlMoney y)
Invokes the .NET member Multiply.
|
static SqlBoolean |
NotEquals(SqlMoney x,
SqlMoney y)
Invokes the .NET member NotEquals.
|
static SqlMoney |
Parse(java.lang.String s)
Invokes the .NET member Parse.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
static SqlMoney |
Subtract(SqlMoney x,
SqlMoney y)
Invokes the .NET member Subtract.
|
Decimal |
ToDecimal()
Invokes the .NET member ToDecimal.
|
double |
ToDouble()
Invokes the .NET member ToDouble.
|
int |
ToInt32()
Invokes the .NET member ToInt32.
|
long |
ToInt64()
Invokes the .NET member ToInt64.
|
SqlBoolean |
ToSqlBoolean()
Invokes the .NET member ToSqlBoolean.
|
SqlByte |
ToSqlByte()
Invokes the .NET member ToSqlByte.
|
SqlDecimal |
ToSqlDecimal()
Invokes the .NET member ToSqlDecimal.
|
SqlDouble |
ToSqlDouble()
Invokes the .NET member ToSqlDouble.
|
SqlInt16 |
ToSqlInt16()
Invokes the .NET member ToSqlInt16.
|
SqlInt32 |
ToSqlInt32()
Invokes the .NET member ToSqlInt32.
|
SqlInt64 |
ToSqlInt64()
Invokes the .NET member ToSqlInt64.
|
SqlSingle |
ToSqlSingle()
Invokes the .NET member ToSqlSingle.
|
SqlString |
ToSqlString()
Invokes the .NET member ToSqlString.
|
public 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, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, SqlNullValueException, SqlTruncateException, OverflowException, DivideByZeroException
value - the argument of type Decimaljava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itSqlNullValueException - if the .NET member raises itSqlTruncateException - if the .NET member raises itOverflowException - if the .NET member raises itDivideByZeroException - if the .NET member raises itpublic SqlMoney(double value)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
OverflowException,
IndexOutOfRangeException,
SqlNullValueException,
SqlTruncateException,
DivideByZeroException
value - the argument of type doublejava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOverflowException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itSqlNullValueException - if the .NET member raises itSqlTruncateException - if the .NET member raises itDivideByZeroException - if the .NET member raises itpublic SqlMoney(int value)
throws java.lang.Throwable
value - the argument of type intjava.lang.Throwable - if the .NET constructor failspublic SqlMoney(long value)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException,
OverflowException
value - the argument of type longjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOverflowException - if the .NET member raises itpublic SqlMoney(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic static SqlMoney Add(SqlMoney x, SqlMoney y) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, OverflowException
x - the argument of type SqlMoneyy - the argument of type SqlMoneyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOverflowException - if the .NET member raises itpublic 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, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
value - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic int CompareTo(SqlMoney value) throws java.lang.Throwable
value - the argument of type SqlMoneyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static SqlMoney Divide(SqlMoney x, SqlMoney y) throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, PlatformNotSupportedException, ArgumentOutOfRangeException, DivideByZeroException, OverflowException, NotSupportedException, SqlTruncateException
x - the argument of type SqlMoneyy - the argument of type SqlMoneyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itSqlNullValueException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itDivideByZeroException - if the .NET member raises itOverflowException - if the .NET member raises itNotSupportedException - if the .NET member raises itSqlTruncateException - if the .NET member raises itpublic boolean Equals(SqlMoney other) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, SqlNullValueException
other - the argument of type SqlMoneyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itSqlNullValueException - if the .NET member raises itpublic static SqlBoolean Equals(SqlMoney x, SqlMoney y) throws java.lang.Throwable
x - the argument of type SqlMoneyy - the argument of type SqlMoneyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static SqlMoney FromTdsValue(long value) throws java.lang.Throwable
value - the argument of type longjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsNull()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ValueTypepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ValueTypepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ValueTypenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ValueTypepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class ValueTypepublic long GetTdsValue()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
SqlNullValueException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itSqlNullValueException - if the .NET member raises itpublic Decimal getValue() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, SqlNullValueException, IndexOutOfRangeException, FormatException, ArgumentOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itSqlNullValueException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic static XmlQualifiedName GetXsdType(XmlSchemaSet schemaSet) throws java.lang.Throwable
schemaSet - the argument of type XmlSchemaSetjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static SqlBoolean GreaterThan(SqlMoney x, SqlMoney y) throws java.lang.Throwable
x - the argument of type SqlMoneyy - the argument of type SqlMoneyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static SqlBoolean GreaterThanOrEqual(SqlMoney x, SqlMoney y) throws java.lang.Throwable
x - the argument of type SqlMoneyy - the argument of type SqlMoneyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static SqlBoolean LessThan(SqlMoney x, SqlMoney y) throws java.lang.Throwable
x - the argument of type SqlMoneyy - the argument of type SqlMoneyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static SqlBoolean LessThanOrEqual(SqlMoney x, SqlMoney y) throws java.lang.Throwable
x - the argument of type SqlMoneyy - the argument of type SqlMoneyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static SqlMoney Multiply(SqlMoney x, SqlMoney y) throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, OverflowException, SqlTruncateException, DivideByZeroException
x - the argument of type SqlMoneyy - the argument of type SqlMoneyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itSqlNullValueException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itOverflowException - if the .NET member raises itSqlTruncateException - if the .NET member raises itDivideByZeroException - if the .NET member raises itpublic static SqlBoolean NotEquals(SqlMoney x, SqlMoney y) throws java.lang.Throwable
x - the argument of type SqlMoneyy - the argument of type SqlMoneyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static SqlMoney Parse(java.lang.String s) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, OutOfMemoryException, IndexOutOfRangeException, SqlNullValueException, SqlTruncateException, OverflowException, DivideByZeroException, FormatException
s - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itSqlNullValueException - if the .NET member raises itSqlTruncateException - if the .NET member raises itOverflowException - if the .NET member raises itDivideByZeroException - if the .NET member raises itFormatException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class ValueTypeinstance - the new underlying objectpublic static SqlMoney Subtract(SqlMoney x, SqlMoney y) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, OverflowException
x - the argument of type SqlMoneyy - the argument of type SqlMoneyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOverflowException - if the .NET member raises itpublic Decimal ToDecimal() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, SqlNullValueException, InvalidOperationException, IndexOutOfRangeException, FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itSqlNullValueException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic double ToDouble()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
SqlNullValueException,
IndexOutOfRangeException,
FormatException,
ArgumentOutOfRangeException,
NotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itSqlNullValueException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic int ToInt32()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
SqlNullValueException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itSqlNullValueException - if the .NET member raises itpublic long ToInt64()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
SqlNullValueException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itSqlNullValueException - if the .NET member raises itpublic SqlBoolean ToSqlBoolean() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic SqlByte ToSqlByte() throws java.lang.Throwable, ArgumentException, SqlNullValueException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itSqlNullValueException - if the .NET member raises itpublic SqlDecimal ToSqlDecimal() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itSqlNullValueException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic SqlDouble ToSqlDouble() throws java.lang.Throwable, ArgumentException, SqlNullValueException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, OverflowException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itSqlNullValueException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itOverflowException - if the .NET member raises itpublic SqlInt16 ToSqlInt16() throws java.lang.Throwable, ArgumentException, SqlNullValueException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itSqlNullValueException - if the .NET member raises itpublic SqlInt32 ToSqlInt32() throws java.lang.Throwable, ArgumentException, SqlNullValueException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itSqlNullValueException - if the .NET member raises itpublic SqlInt64 ToSqlInt64() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itSqlNullValueException - if the .NET member raises itpublic SqlSingle ToSqlSingle() throws java.lang.Throwable, ArgumentException, SqlNullValueException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, OverflowException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itSqlNullValueException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itOverflowException - if the .NET member raises itpublic SqlString ToSqlString() throws java.lang.Throwable, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises it