
OWL::DirectSemantics::Element - base class for OWL elements.

This could porssibly be refactored into a Moose::Role - not sure yet.
new(%attributes)Don't construct this base class directly. Constract a subclass instead.
annotationsA list of annotations associated with this object. The value is a ArrayRef.
metadataThis metadata may be used by Writers, etc if available.
element_nameReturns undef on the base class or any abstract subclasses. Returns the element name (e.g. 'ClassAssertion' or 'Declaration') on other subclasses.


Toby Inkster <tobyink@cpan.org>.

Copyright 2011-2012 Toby Inkster
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.