---
name: "OWL::DirectSemantics::Element"
section: "3pm"
platform: "linux"
package: "libowl-directsemantics-perl"
version: "0.001-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/OWL::DirectSemantics::Element"
---

# OWL::DirectSemantics::Element(3pm)

base class for OWL elements.

## 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.
