Class: RDF::Literal::UnsignedLong
- Inherits:
-
NonNegativeInteger
- Object
- Integer
- NonNegativeInteger
- RDF::Literal::UnsignedLong
- Defined in:
- lib/rdf/xsd/integer.rb
Overview
unsignedLong is derived from nonNegativeInteger by setting the value of maxInclusive to be 18446744073709551615. The base type of unsignedLong is nonNegativeInteger.
Direct Known Subclasses
Constant Summary collapse
- GRAMMAR =
/^\d+$/.freeze
- DATATYPE =
RDF::XSD.unsignedLong
Instance Method Summary collapse
Instance Method Details
#valid? ⇒ Boolean
147 148 149 |
# File 'lib/rdf/xsd/integer.rb', line 147 def valid? super && @object >= 0 && @object <= 18446744073709551615 end |