NAME¶
OWL::DirectSemantics::Element - base class for OWL elements.
DESCRIPTION¶
This could porssibly be refactored into a Moose::Role - not sure yet.
Constructor¶
- "new(%attributes)"
- Don't construct this base class directly. Constract a subclass
instead.
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¶
OWL::DirectSemantics.
AUTHOR¶
Toby Inkster <tobyink@cpan.org>.
COPYRIGHT¶
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.
DISCLAIMER OF WARRANTIES¶
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.