org.apache.xmlbeans
Interface XmlLong

All Superinterfaces:
XmlAnySimpleType, XmlDecimal, XmlInteger, XmlObject, XmlTokenSource
All Known Subinterfaces:
XmlByte, XmlInt, XmlShort

public interface XmlLong
extends XmlInteger

Corresponds to the XML Schema xs:long type. One of the derived types based on xs:decimal.

Naturally, convertible to a Java long.


Nested Class Summary
static class XmlLong.Factory
          A class with methods for creating instances of XmlLong.
 
Field Summary
static SchemaType type
          The constant SchemaType object representing this schema type.
 
Fields inherited from interface org.apache.xmlbeans.XmlObject
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL
 
Method Summary
 long getLongValue()
          Returns this value as a long
 long longValue()
          Deprecated. replaced with getLongValue()
 void set(long v)
          Deprecated. replaced with setLongValue(long)
 void setLongValue(long v)
          Sets this value as a long
 
Methods inherited from interface org.apache.xmlbeans.XmlInteger
bigIntegerValue, getBigIntegerValue, set, setBigIntegerValue
 
Methods inherited from interface org.apache.xmlbeans.XmlDecimal
bigDecimalValue, getBigDecimalValue, set, setBigDecimalValue
 
Methods inherited from interface org.apache.xmlbeans.XmlAnySimpleType
getStringValue, set, setStringValue, stringValue
 
Methods inherited from interface org.apache.xmlbeans.XmlObject
changeType, compareTo, compareValue, copy, copy, execQuery, execQuery, isImmutable, isNil, schemaType, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, setNil, substitute, toString, validate, validate, valueEquals, valueHashCode
 
Methods inherited from interface org.apache.xmlbeans.XmlTokenSource
documentProperties, dump, getDomNode, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, xmlText, xmlText
 

Field Detail

type

static final SchemaType type
The constant SchemaType object representing this schema type.

Method Detail

getLongValue

long getLongValue()
Returns this value as a long


setLongValue

void setLongValue(long v)
Sets this value as a long


longValue

long longValue()
Deprecated. replaced with getLongValue()

Returns this value as a long


set

void set(long v)
Deprecated. replaced with setLongValue(long)

Sets this value as a long