Class: RDF::Literal::UnsignedInt
- Inherits:
-
UnsignedLong
- Object
- Integer
- NonNegativeInteger
- UnsignedLong
- RDF::Literal::UnsignedInt
- 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
Constant Summary collapse
- DATATYPE =
RDF::XSD.unsignedInt
Constants inherited from UnsignedLong
RDF::Literal::UnsignedLong::GRAMMAR
Constants inherited from NonNegativeInteger
Instance Method Summary collapse
Instance Method Details
#valid? ⇒ Boolean
160 161 162 |
# File 'lib/rdf/xsd/integer.rb', line 160 def valid? super && @object >= 0 && @object <= 4294967295 end |