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=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.See: https://docs.microsoft.com/en-us/dotnet/api/System.Data.SqlTypes.SqlMoney
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic String
assemblyShortName
Assembly name: System.Data.Commonstatic String
className
Qualified class name: System.Data.SqlTypes.SqlMoneystatic JCType
classType
The type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SqlMoney
Add(SqlMoney x, SqlMoney y)
static SqlMoney
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoSqlMoney
, a cast assert is made to check if types are compatible.int
CompareTo(NetObject value)
int
CompareTo(SqlMoney value)
static SqlMoney
Divide(SqlMoney x, SqlMoney y)
static SqlBoolean
Equals(SqlMoney x, SqlMoney y)
boolean
getIsNull()
String
getJCOAssemblyName()
Returns the reflected Assembly nameString
getJCOClassName()
Returns the reflected Class nameObject
getJCOInstance()
Returns the instantiated classString
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeXmlSchema
GetSchema()
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.Decimal
getValue()
static XmlQualifiedName
GetXsdType(XmlSchemaSet schemaSet)
static SqlBoolean
GreaterThan(SqlMoney x, SqlMoney y)
static SqlBoolean
GreaterThanOrEqual(SqlMoney x, SqlMoney y)
static SqlBoolean
LessThan(SqlMoney x, SqlMoney y)
static SqlBoolean
LessThanOrEqual(SqlMoney x, SqlMoney y)
static SqlMoney
Multiply(SqlMoney x, SqlMoney y)
static SqlBoolean
NotEquals(SqlMoney x, SqlMoney y)
static SqlMoney
Parse(String s)
void
ReadXml(XmlReader reader)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.void
setJCOInstance(JCObject instance)
static SqlMoney
Subtract(SqlMoney x, SqlMoney y)
Decimal
ToDecimal()
double
ToDouble()
int
ToInt32()
long
ToInt64()
SqlBoolean
ToSqlBoolean()
SqlByte
ToSqlByte()
SqlDecimal
ToSqlDecimal()
SqlDouble
ToSqlDouble()
SqlInt16
ToSqlInt16()
SqlInt32
ToSqlInt32()
SqlInt64
ToSqlInt64()
SqlSingle
ToSqlSingle()
SqlString
ToSqlString()
void
WriteXml(XmlWriter writer)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final String assemblyFullName
Fully assembly qualified name: System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final String assemblyShortName
Assembly name: System.Data.Common- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Data.SqlTypes.SqlMoney- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SqlMoney
public SqlMoney(Object instance) throws Throwable
Internal constructor. Use with caution- Throws:
Throwable
-
SqlMoney
public SqlMoney(double value) throws Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, SqlNullValueException, SqlTruncateException, OverflowException, DivideByZeroException
-
SqlMoney
public SqlMoney(long value) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, OverflowException
-
SqlMoney
public SqlMoney(Decimal value) throws Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, SqlNullValueException, SqlTruncateException, OverflowException, DivideByZeroException
-
-
Method Detail
-
getJCOAssemblyName
public 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 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 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 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 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:
Throwable
- in case of error during cast operation
-
ToDouble
public double ToDouble() throws Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, SqlNullValueException, ArgumentOutOfRangeException
-
CompareTo
public int CompareTo(NetObject value) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException
-
ToInt32
public int ToInt32() throws Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, SqlNullValueException
-
ToInt64
public long ToInt64() throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, SqlNullValueException
-
Equals
public static SqlBoolean Equals(SqlMoney x, SqlMoney y) throws Throwable
- Throws:
Throwable
-
GreaterThan
public static SqlBoolean GreaterThan(SqlMoney x, SqlMoney y) throws Throwable
- Throws:
Throwable
-
GreaterThanOrEqual
public static SqlBoolean GreaterThanOrEqual(SqlMoney x, SqlMoney y) throws Throwable
- Throws:
Throwable
-
LessThan
public static SqlBoolean LessThan(SqlMoney x, SqlMoney y) throws Throwable
- Throws:
Throwable
-
LessThanOrEqual
public static SqlBoolean LessThanOrEqual(SqlMoney x, SqlMoney y) throws Throwable
- Throws:
Throwable
-
NotEquals
public static SqlBoolean NotEquals(SqlMoney x, SqlMoney y) throws Throwable
- Throws:
Throwable
-
ToSqlBoolean
public SqlBoolean ToSqlBoolean() throws Throwable
- Throws:
Throwable
-
ToSqlByte
public SqlByte ToSqlByte() throws Throwable, ArgumentNullException, ArgumentException, SqlNullValueException
-
ToSqlDecimal
public SqlDecimal ToSqlDecimal() throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, SqlNullValueException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException
-
ToSqlDouble
public SqlDouble ToSqlDouble() throws Throwable, ArgumentNullException, ArgumentException, SqlNullValueException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, OverflowException
-
ToSqlInt16
public SqlInt16 ToSqlInt16() throws Throwable, ArgumentNullException, ArgumentException, SqlNullValueException
-
ToSqlInt32
public SqlInt32 ToSqlInt32() throws Throwable, ArgumentNullException, ArgumentException, SqlNullValueException
-
ToSqlInt64
public SqlInt64 ToSqlInt64() throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, SqlNullValueException
-
Add
public static SqlMoney Add(SqlMoney x, SqlMoney y) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, OverflowException
-
Divide
public static SqlMoney Divide(SqlMoney x, SqlMoney y) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, SqlNullValueException, ArgumentOutOfRangeException, PlatformNotSupportedException, DivideByZeroException, IndexOutOfRangeException, SqlTruncateException, OverflowException
-
Multiply
public static SqlMoney Multiply(SqlMoney x, SqlMoney y) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, SqlNullValueException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, SqlTruncateException, OverflowException, DivideByZeroException
-
Parse
public static SqlMoney Parse(String s) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, NotSupportedException, IndexOutOfRangeException, InvalidOperationException, SqlNullValueException, SqlTruncateException, OverflowException, DivideByZeroException
-
Subtract
public static SqlMoney Subtract(SqlMoney x, SqlMoney y) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, OverflowException
-
ToSqlSingle
public SqlSingle ToSqlSingle() throws Throwable, ArgumentNullException, ArgumentException, SqlNullValueException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, OverflowException
-
ToSqlString
public SqlString ToSqlString() throws Throwable, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
ToDecimal
public Decimal ToDecimal() throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, SqlNullValueException, ArgumentOutOfRangeException
-
GetXsdType
public static XmlQualifiedName GetXsdType(XmlSchemaSet schemaSet) throws Throwable
- Throws:
Throwable
-
GetSchema
@Deprecated public XmlSchema GetSchema() throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIXmlSerializable method available in IXmlSerializable to obtain an object with an invocable method- Specified by:
GetSchema
in interfaceIXmlSerializable
- Throws:
Throwable
-
ReadXml
@Deprecated public void ReadXml(XmlReader reader) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIXmlSerializable method available in IXmlSerializable to obtain an object with an invocable method- Specified by:
ReadXml
in interfaceIXmlSerializable
- Throws:
Throwable
-
WriteXml
@Deprecated public void WriteXml(XmlWriter writer) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIXmlSerializable method available in IXmlSerializable to obtain an object with an invocable method- Specified by:
WriteXml
in interfaceIXmlSerializable
- Throws:
Throwable
-
getValue
public Decimal getValue() throws Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, SqlNullValueException, ArgumentOutOfRangeException
-
-