Package system.data.sqltypes
Class SqlMoney
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.ValueType
-
- system.data.sqltypes.SqlMoney
-
- All Implemented Interfaces:
IJCOBridgeReflected
,IXmlSerializable
public class SqlMoney extends ValueType implements IXmlSerializable
The base .NET class managing System.Data.SqlTypes.SqlMoney, System.Data.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..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
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Data.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Data.Commonstatic java.lang.String
className
Qualified class name: System.Data.SqlTypes.SqlMoneystatic JCType
classType
The type managed from JCOBridge.
-
Method Summary
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.xml.serialization.IXmlSerializable
GetSchema, ReadXml, WriteXml
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Data.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Data.Common- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Data.SqlTypes.SqlMoney- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SqlMoney
public SqlMoney(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
SqlMoney
public SqlMoney() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
SqlMoney
public SqlMoney(double value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, OverflowException, IndexOutOfRangeException, SqlNullValueException, SqlTruncateException, DivideByZeroException
-
SqlMoney
public SqlMoney(int value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
SqlMoney
public SqlMoney(long value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, OverflowException
-
SqlMoney
public SqlMoney(Decimal value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, SqlNullValueException, SqlTruncateException, OverflowException, DivideByZeroException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
IndexOutOfRangeException
SqlNullValueException
SqlTruncateException
OverflowException
DivideByZeroException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOAssemblyName
in interfaceIXmlSerializable
- Overrides:
getJCOAssemblyName
in classValueType
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOClassName
in interfaceIXmlSerializable
- Overrides:
getJCOClassName
in classValueType
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOObjectName
in interfaceIXmlSerializable
- Overrides:
getJCOObjectName
in classValueType
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Specified by:
getJCOInstance
in interfaceIXmlSerializable
- Overrides:
getJCOInstance
in classValueType
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classValueType
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceIXmlSerializable
- Overrides:
getJCOType
in classValueType
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static SqlMoney cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoSqlMoney
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
SqlMoney
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Equals
public boolean Equals(SqlMoney other) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, SqlNullValueException
-
ToDouble
public double ToDouble() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, SqlNullValueException, IndexOutOfRangeException, FormatException, ArgumentOutOfRangeException, NotSupportedException
-
CompareTo
public int CompareTo(SqlMoney value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CompareTo
public int CompareTo(NetObject value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
-
ToInt32
public int ToInt32() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, SqlNullValueException
-
GetTdsValue
public long GetTdsValue() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, SqlNullValueException
-
ToInt64
public long ToInt64() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, SqlNullValueException
-
Equals
public static SqlBoolean Equals(SqlMoney x, SqlMoney y) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GreaterThan
public static SqlBoolean GreaterThan(SqlMoney x, SqlMoney y) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GreaterThanOrEqual
public static SqlBoolean GreaterThanOrEqual(SqlMoney x, SqlMoney y) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
LessThan
public static SqlBoolean LessThan(SqlMoney x, SqlMoney y) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
LessThanOrEqual
public static SqlBoolean LessThanOrEqual(SqlMoney x, SqlMoney y) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
NotEquals
public static SqlBoolean NotEquals(SqlMoney x, SqlMoney y) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToSqlBoolean
public SqlBoolean ToSqlBoolean() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToSqlByte
public SqlByte ToSqlByte() throws java.lang.Throwable, ArgumentException, SqlNullValueException
- Throws:
java.lang.Throwable
ArgumentException
SqlNullValueException
-
ToSqlDecimal
public SqlDecimal ToSqlDecimal() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException
-
ToSqlDouble
public SqlDouble ToSqlDouble() throws java.lang.Throwable, ArgumentException, SqlNullValueException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, OverflowException
-
ToSqlInt16
public SqlInt16 ToSqlInt16() throws java.lang.Throwable, ArgumentException, SqlNullValueException
- Throws:
java.lang.Throwable
ArgumentException
SqlNullValueException
-
ToSqlInt32
public SqlInt32 ToSqlInt32() throws java.lang.Throwable, ArgumentException, SqlNullValueException
- Throws:
java.lang.Throwable
ArgumentException
SqlNullValueException
-
ToSqlInt64
public SqlInt64 ToSqlInt64() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException
- Throws:
java.lang.Throwable
ArgumentException
InvalidOperationException
SqlNullValueException
-
Add
public static SqlMoney Add(SqlMoney x, SqlMoney y) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, OverflowException
-
Divide
public static SqlMoney Divide(SqlMoney x, SqlMoney y) throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, PlatformNotSupportedException, ArgumentOutOfRangeException, DivideByZeroException, OverflowException, NotSupportedException, SqlTruncateException
-
FromTdsValue
public static SqlMoney FromTdsValue(long value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Multiply
public static SqlMoney Multiply(SqlMoney x, SqlMoney y) throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, OverflowException, SqlTruncateException, DivideByZeroException
-
Parse
public 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
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ObjectDisposedException
OutOfMemoryException
IndexOutOfRangeException
SqlNullValueException
SqlTruncateException
OverflowException
DivideByZeroException
FormatException
-
Subtract
public static SqlMoney Subtract(SqlMoney x, SqlMoney y) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, OverflowException
-
ToSqlSingle
public SqlSingle ToSqlSingle() throws java.lang.Throwable, ArgumentException, SqlNullValueException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, OverflowException
-
ToSqlString
public SqlString ToSqlString() throws java.lang.Throwable, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
ToDecimal
public Decimal ToDecimal() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, SqlNullValueException, InvalidOperationException, IndexOutOfRangeException, FormatException
-
GetXsdType
public static XmlQualifiedName GetXsdType(XmlSchemaSet schemaSet) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getIsNull
public boolean getIsNull() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getValue
public Decimal getValue() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, SqlNullValueException, IndexOutOfRangeException, FormatException, ArgumentOutOfRangeException
-
-