# PODNAME: RDF::Cowl::Lib::Gen::Class::DatatypeRestr
# ABSTRACT: Generated docs for RDF::Cowl::DatatypeRestr

## DO NOT EDIT
## Generated via maint/tt/Class.pod.tt

__END__

=pod

=encoding UTF-8

=head1 NAME

RDF::Cowl::Lib::Gen::Class::DatatypeRestr - Generated docs for RDF::Cowl::DatatypeRestr

=head1 VERSION

version 1.0.0

=head1 MAIN MODULE

L<RDF::Cowl::DatatypeRestr>

=head1 CONSTRUCTORS

=head2 new

B<Signature>:

  RDF::Cowl::DatatypeRestr->new(CowlVector $restrictions)

B<Params>:

  CowlDatatype $datatype 
  CowlVector $restrictions 

Documentation:

  Returns a retained datatype restriction.
  
  @param datatype The datatype that this data range restricts.
  @param restrictions Set of facet restrictions.
  @return Retained datatype restriction. Throws exception on error.

Throws exception on error.

=over 2

B<C function name>: C<< cowl_datatype_restr >>

=back

=head1 METHODS

=head2 get_datatype

B<Signature>:

  $self->get_datatype()

B<Params>:

  CowlDatatypeRestr $restr 

Documentation:

  Gets the datatype that this data range restricts.
  
  @param restr The datatype restriction.
  @return The datatype.

=over 2

B<C function name>: C<< cowl_datatype_restr_get_datatype >>

=back

=head2 get_restrictions

B<Signature>:

  $self->get_restrictions()

B<Params>:

  CowlDatatypeRestr $restr 

Documentation:

  Gets the facet restrictions.
  
  @param restr The datatype restriction.
  @return The facet restrictions.

=over 2

B<C function name>: C<< cowl_datatype_restr_get_restrictions >>

=back

=head1 AUTHOR

Zakariyya Mughal <zmughal@cpan.org>

=head1 COPYRIGHT AND LICENSE

Copyright (C) 2024 by Auto-Parallel Technologies, Inc..

This is free software, licensed under Eclipse Public License - v 2.0.

=cut
