NAME
[% obj.module_name %] - an automatically generated owl class!
SYNOPSIS
use [% obj.module_name %];
my $class = [% obj.module_name %]->new();
# get the uri for this class
my $uri = $class->uri;
[%- IF obj.datatype_properties -%] # add datatype properties [%- FOREACH child IN obj.datatype_properties %] use [% child.module_name %]; my $[% child.name %] = new [% child.module_name %]('some value'); $class->add_[% child.name %]($[% child.name %]); # get the [% child.name %] datatype properties my $[% child.name %]_property = $class->[% child.name %]; [%- END -%][%- END -%] [% IF obj.object_properties -%] # add object properties [%- FOREACH child IN obj.object_properties %] [%- SET childname = child.name %] [%- IF obj.values_from_property.$childname %] [%- FOREACH key IN obj.values_from_property.$childname.sort %] use [% key %]; # add a [% child.name %] property ([% key %]) $class->add_[% child.name %](new [% key %]()); [%- END %] [%- ELSE %] # Make sure to use the appropriate OWL class! # OWL::Data::OWL::Class used as an example $class->add_[% child.name %](new OWL::Data::OWL::Class('#someURI')); [% END %] # get the [% child.name %] object properties my $[% child.name %]_objects = $class->[% child.name %]; [%- END -%][%- END -%]
DESCRIPTION
Inherits from: [% FOREACH child IN obj.module_parent -%] "[% child %]" [% END %]
[%- IF obj.cardinality_constraints and obj.cardinality_constraints.keys.size > 0 -%] =head2 Cardinality constraints:
[%- FOREACH key IN obj.cardinality_constraints.keys.sort -%]
[% obj.cardinality_constraints.$key.name %]
[%- IF obj.cardinality_constraints.$key.min.defined %] =item * Minimum = [%- obj.cardinality_constraints.$key.min -%] [%- END -%]
[% IF obj.cardinality_constraints.$key.max.defined %] =item * Maximum = [%- obj.cardinality_constraints.$key.max -%] [%- END -%]
Constraints on hasValue
This class has the following values
[%- END %]
3 POD Errors
The following errors were encountered while parsing the POD:
- Around line 334:
=cut found outside a pod block. Skipping to next block.
- Around line 343:
=over should be: '=over' or '=over positive_number'
- Around line 354:
=cut found outside a pod block. Skipping to next block.