The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

NAME

RDF::Cowl::Lib::Gen::Class::DataCard - Generated docs for RDF::Cowl::DataCard

VERSION

version 1.0.0

MAIN MODULE

RDF::Cowl::DataCard

CONSTRUCTORS

new

Signature:

RDF::Cowl::DataCard->new(CowlAnyDataPropExp $prop, Maybe[ CowlAnyDataRange ] $range, Ulib_uint $cardinality)

Params:

CowlCardType $type
CowlAnyDataPropExp $prop
Maybe[ CowlAnyDataRange ] $range I<[optional]>
Ulib_uint $cardinality

Documentation:

Returns a retained data property cardinality restriction.
@param type The type.
@param prop The data property.
@param range [optional] Range of the restriction.
@param cardinality Cardinality of the restriction.
@return Retained restriction. Throws exception on error.

Throws exception on error.

    C function name: cowl_data_card

METHODS

get_type

Signature:

$self->get_type()

Params:

CowlDataCard $restr

Documentation:

Gets the type of the specified data property cardinality restriction.
@param restr The restriction.
@return The type.

    C function name: cowl_data_card_get_type

get_prop

Signature:

$self->get_prop()

Params:

CowlDataCard $restr

Documentation:

Gets the property of the restriction.
@param restr The restriction.
@return The property.

    C function name: cowl_data_card_get_prop

get_range

Signature:

$self->get_range()

Params:

CowlDataCard $restr

Documentation:

Gets the range of the restriction.
@param restr The restriction.
@return The range.

    C function name: cowl_data_card_get_range

get_cardinality

Signature:

$self->get_cardinality()

Params:

CowlDataCard $restr

Documentation:

Gets the cardinality of the restriction.
@param restr The restriction.
@return The cardinality.

    C function name: cowl_data_card_get_cardinality

AUTHOR

Zakariyya Mughal <zmughal@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2024 by Auto-Parallel Technologies, Inc..

This is free software, licensed under Eclipse Public License - v 2.0.