Class: RDF::Literal::UnsignedInt

Inherits:
UnsignedLong show all
Defined in:
lib/rdf/xsd/integer.rb

Overview

unsignedInt is derived from unsignedLong by setting the value of maxInclusive to be 4294967295. The base type of unsignedInt is unsignedLong.

Direct Known Subclasses

UnsignedShort

Constant Summary collapse

DATATYPE =
RDF::XSD.unsignedInt

Constants inherited from UnsignedLong

RDF::Literal::UnsignedLong::GRAMMAR

Constants inherited from NonNegativeInteger

NonNegativeInteger::GRAMMAR

Instance Method Summary collapse

Instance Method Details

#valid?Boolean


162
163
164
# File 'lib/rdf/xsd/integer.rb', line 162

def valid?
  super && @object >= 0 && @object <= 4294967295
end