use strict;
return 1;

=head1 Name

OSSTag - A Social Tagging Engine

Copyright (c) 2006 Open Source Development Labs, Inc.

-- semantic mapping
	CREATE TABLE osstag_semmap (
	id int(11) NOT NULL auto_increment,
	phymap_fk int(11) NOT NULL,
	sem_desc varchar(2000),
	sem_aspect_fk int(11) NOT NULL,
	PRIMARY KEY  (id)
);

=cut

package osstag_obj_semmap;
use osstag_obj_phymap;

sub new($$$$)
{
	my $class = shift;
	my $self = {};
	bless $self, $class;

	my ($id, $phymap, $sem_desc, $sem_aspect) = @_;
	$self->{id} = $id;
	$self->{phymap} = $phymap;
#	bless $self->{phymap}, 'osstag_obj_phymap';
	$self->{sem_desc} = $sem_desc;
	$self->{sem_aspect} = $sem_aspect;

	$self->{phymap}->addSemMap($self);
	return $self;
}

sub addAssoziation($)
{
	my $self = shift;
	my ($assoziation) = @_;
	bless $assoziation, 'osstag_obj_assoziations';
	push @{$self->{assoziations}}, $assoziation;
}

=head1 License

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License 
version 2 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

=head1 Version

Version: 0.2

Date:    07-JUN-2006

=head1 Author

Author:  Jan Kechel (jan@kechel.de)

=cut

# the end

