NAME
OWL::DirectSemantics::Element - base class for OWL elements.
DESCRIPTION
This could porssibly be refactored into a Moose::Role - not sure yet.
Constructor
Attributes
annotations
-
A list of annotations associated with this object. The value is a ArrayRef.
metadata
-
This metadata may be used by Writers, etc if available.
Method
element_name
-
Returns undef on the base class or any abstract subclasses. Returns the element name (e.g. 'ClassAssertion' or 'Declaration') on other subclasses.
SEE ALSO
AUTHOR
Toby Inkster <tobyink@cpan.org>.
COPYRIGHT
Copyright 2011 Toby Inkster
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.