NAME

Nano::Types - Type Library

ABSTRACT

Type Library

SYNOPSIS

package main;

use Nano::Types;

1;

DESCRIPTION

This package provides type constraints for the Nano object persistence framework.

LIBRARIES

This package uses type constraints from:

Types::Standard

CONSTRAINTS

This package declares the following type constraints:

changes

Changes

This type is defined in the Nano::Types library.

changes parent
Object
changes composition
InstanceOf["Nano::Changes"]
changes example #1
# given: synopsis

use Nano::Changes;

my $changes = Nano::Changes->new;

domain

Domain

This type is defined in the Nano::Types library.

domain parent
Object
domain composition
InstanceOf["Zing::Domain"]
domain example #1
# given: synopsis

use Zing::Domain;

my $domain = Zing::Domain->new(name => 'changelog');

env

Env

This type is defined in the Nano::Types library.

env parent
Object
env composition
InstanceOf["Nano::Env"]
env example #1
# given: synopsis

use Nano::Env;

my $env = Nano::Env->new;

keyval

KeyVal

This type is defined in the Nano::Types library.

keyval parent
Object
keyval composition
InstanceOf["Zing::KeyVal"]
keyval example #1
# given: synopsis

use Zing::KeyVal;

my $domain = Zing::KeyVal->new(name => 'user-12345');

nano

Nano

This type is defined in the Nano::Types library.

nano parent
Object
nano composition
InstanceOf["Nano"]
nano example #1
# given: synopsis

use Nano;

my $nano = Nano->new;

node

Node

This type is defined in the Nano::Types library.

node parent
Object
node composition
InstanceOf["Nano::Node"]
node example #1
# given: synopsis

use Nano::Node;

my $node = Nano::Node->new;

nodes

Nodes

This type is defined in the Nano::Types library.

nodes parent
Object
nodes composition
InstanceOf["Nano::Nodes"]
nodes example #1
# given: synopsis

use Nano::Nodes;

my $nodes = Nano::Nodes->new;
Search

This type is defined in the Nano::Types library.

search parent
Object
search composition
InstanceOf["Nano::Search"]
search example #1
# given: synopsis

use Nano::Nodes;
use Nano::Search;

my $search = Nano::Search->new(nodes => Nano::Nodes->new);

stash

Stash

This type is defined in the Nano::Types library.

stash parent
Object
stash composition
ConsumerOf["Nano::Stash"]
stash example #1
# given: synopsis

package Example::Stash;

use Moo;

extends 'Nano::Node';

with 'Nano::Stash';

package main;

my $stash = Example::Stash->new;

table

Table

This type is defined in the Nano::Types library.

table parent
Object
table composition
InstanceOf["Zing::Table"]
table example #1
# given: synopsis

use Zing::Table;

my $lookup = Zing::Table->new(name => 'users');

track

Track

This type is defined in the Nano::Types library.

track parent
Object
track composition
ConsumerOf["Nano::Track"]
track example #1
# given: synopsis

package Example::Track;

use Moo;

extends 'Nano::Node';

with 'Nano::Track';

package main;

my $track = Example::Track->new;

AUTHOR

Al Newkirk, awncorp@cpan.org

LICENSE

Copyright (C) 2011-2019, Al Newkirk, et al.

This is free software; you can redistribute it and/or modify it under the terms of the The Apache License, Version 2.0, as elucidated in the "license file".

PROJECT

Wiki

Project

Initiatives

Milestones

Contributing

Issues