NAME

RDF::Base::Constants

SYNOPSIS

  use RDF::Base::Constants qw( $C_business_persona );

  $label = $C_business_persona->loc;

import

  use Constants qw( $C_class ... )

The use statement calls import()

on_startup

new

hurry_init

find

  RDF::Base::Constants->find(\%query, \%args)

Adds the criterion { label_exist => 1 } and calls RDF::Base::Resource/find

get_set

  RDF::Base::Constants->get_set( $label )

As get(), but creates the node if not existing.

get_by_id

  RDF::Base::Constants->get_by_id( $id )

Returns:

a RDF::Base::Constant object or RDF::Base::Undef

get

  RDF::Base::Constants->get( $label )

Returns:

a RDF::Base::Resource

Exceptions:

croaks if constant doesn't exist

AUTOLOAD

SEE ALSO

  L<Para::Frame>,
  L<RDF::Base>