NAME
Data::Identifier::Interface::Simple - format independent identifier object
VERSION
version v0.17
SYNOPSIS
use parent 'Data::Identifier::Interface::Simple';
(since v0.16, experimental)
This interface is for packages implementing some kind of identifier and/or objects having an identifier.
Note: This is an experimental interface. It may be changed, renamed, or removed without notice.
METHODS
as
my $res = $obj->as($as, %opts);
This method implements the same interface and features as "as" in Data::Identifier.
The default implementation is a proxy for "as" in Data::Identifier.
displayname
my $displayname = $obj->displayname( [ %opts ] );
This method returns a string suitable to display to the user.
The interface and options are the same as "displayname" in Data::Identifier.
The default implementation is equivalent to:
return $obj->as('Data::Identifier')->displayname(%opts);
ise
my $ise = $onj->ise( [ %opts ] );
Returns the ISE (UUID, OID, or URI) for the current object or die if no ISE is known nor can be calculated.
The interface and options are the same as for "ise" in Data::Identifier.
The default implementation is equivalent to:
return $obj->as('Data::Identifier')->ise(%opts);
AUTHOR
Löwenfelsen UG (haftungsbeschränkt) <support@loewenfelsen.net>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2023-2025 by Löwenfelsen UG (haftungsbeschränkt) <support@loewenfelsen.net>.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)