NAME

Data::Object::Kind

ABSTRACT

Data-Object Kind Class

SYNOPSIS

use parent 'Data::Object::Kind';

DESCRIPTION

Data::Object::Kind is an abstract base class that mostly provides identity and classification for Data::Object classes, and common routines for operating on any type of Data-Object object.

METHODS

This package implements the following methods.

class

class() : Str

The class method returns the class name for the given class or object.

class example
# given $self (Foo::Bar)

$self->class();

# Foo::Bar (string)

space

space(Str $arg1) : Object

The space method returns a Data::Object::Space object for the given class, object or argument.

space example
# given $self (Foo::Bar)

$self->space();

# Foo::Bar (space object)

$self->space('Foo/Baz');

# Foo::Baz (space object)