From: idfx Date: Sun, 17 Aug 2003 19:13:19 +0000 (+0000) Subject: some changes in the model classes and its xml-descriptions X-Git-Tag: BEFORE_MERGE_1_1~74 X-Git-Url: http://erislabs.net/gitweb/?p=mir.git;a=commitdiff_plain;h=6b673616661447785d86eeb1ea92f83bbbcfcdf9 some changes in the model classes and its xml-descriptions --- diff --git a/source/mir/core/model/ArticleType.java b/source/mir/core/model/ArticleType.java index 489ab2f0..83694493 100755 --- a/source/mir/core/model/ArticleType.java +++ b/source/mir/core/model/ArticleType.java @@ -1,3 +1,35 @@ +/* + * ArticleType.java + * + * Copyright (C) 2001, 2002, 2003 The Mir-coders group + * + * This file is part of Mir. + * + * Mir is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * Mir 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 Mir; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * In addition, as a special exception, The Mir-coders gives permission to link + * the code of this program with any library licensed under the Apache Software License, + * The Sun (tm) Java Advanced Imaging library (JAI), The Sun JIMI library + * (or with modified versions of the above that use the same license as the above), + * and distribute linked combinations including the two. You must obey the + * GNU General Public License in all respects for all of the code used other than + * the above mentioned libraries. If you modify this file, you may extend this + * exception to your version of the file, but you are not obligated to do so. + * If you do not wish to do so, delete this exception statement from your version. + */ + package mir.core.model; import java.io.Serializable; @@ -9,7 +41,7 @@ import org.apache.commons.lang.builder.ToStringBuilder; /** * ArticleType * @author idefix - * @version $Id: ArticleType.java,v 1.3 2003/08/17 16:37:29 idfx Exp $ + * @version $Id: ArticleType.java,v 1.4 2003/08/17 19:13:19 idfx Exp $ */ public class ArticleType implements Serializable { diff --git a/source/mir/core/model/Audio.java b/source/mir/core/model/Audio.java index e9ae1641..f7afc7c1 100755 --- a/source/mir/core/model/Audio.java +++ b/source/mir/core/model/Audio.java @@ -1,10 +1,47 @@ +/* + * Audio.java + * + * Copyright (C) 2001, 2002, 2003 The Mir-coders group + * + * This file is part of Mir. + * + * Mir is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * Mir 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 Mir; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * In addition, as a special exception, The Mir-coders gives permission to link + * the code of this program with any library licensed under the Apache Software License, + * The Sun (tm) Java Advanced Imaging library (JAI), The Sun JIMI library + * (or with modified versions of the above that use the same license as the above), + * and distribute linked combinations including the two. You must obey the + * GNU General Public License in all respects for all of the code used other than + * the above mentioned libraries. If you modify this file, you may extend this + * exception to your version of the file, but you are not obligated to do so. + * If you do not wish to do so, delete this exception statement from your version. + */ + package mir.core.model; import java.io.Serializable; import org.apache.commons.lang.builder.ToStringBuilder; -/** @author Hibernate CodeGenerator */ +/** + * + * Audio + * @author idefix + * @version $Id: Audio.java,v 1.2 2003/08/17 19:13:19 idfx Exp $ + */ public class Audio extends UploadedMedia implements Serializable { /** nullable persistent field */ diff --git a/source/mir/core/model/BreakingNewsItem.java b/source/mir/core/model/BreakingNewsItem.java index 723d8d68..d2c63d9d 100755 --- a/source/mir/core/model/BreakingNewsItem.java +++ b/source/mir/core/model/BreakingNewsItem.java @@ -1,3 +1,34 @@ +/* + * BreakingNewsItem.java + * + * Copyright (C) 2001, 2002, 2003 The Mir-coders group + * + * This file is part of Mir. + * + * Mir is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * Mir 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 Mir; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * In addition, as a special exception, The Mir-coders gives permission to link + * the code of this program with any library licensed under the Apache Software License, + * The Sun (tm) Java Advanced Imaging library (JAI), The Sun JIMI library + * (or with modified versions of the above that use the same license as the above), + * and distribute linked combinations including the two. You must obey the + * GNU General Public License in all respects for all of the code used other than + * the above mentioned libraries. If you modify this file, you may extend this + * exception to your version of the file, but you are not obligated to do so. + * If you do not wish to do so, delete this exception statement from your version. + */ package mir.core.model; import java.io.Serializable; @@ -6,7 +37,12 @@ import org.apache.commons.lang.builder.EqualsBuilder; import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.commons.lang.builder.ToStringBuilder; -/** @author Hibernate CodeGenerator */ +/** + * + * BreakingNewsItem + * @author idefix + * @version $Id: BreakingNewsItem.java,v 1.2 2003/08/17 19:13:19 idfx Exp $ + */ public class BreakingNewsItem implements Serializable { /** identifier field */ diff --git a/source/mir/core/model/Comment.java b/source/mir/core/model/Comment.java index 04d70570..19de47b4 100755 --- a/source/mir/core/model/Comment.java +++ b/source/mir/core/model/Comment.java @@ -1,3 +1,34 @@ +/* + * Comment.java + * + * Copyright (C) 2001, 2002, 2003 The Mir-coders group + * + * This file is part of Mir. + * + * Mir is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * Mir 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 Mir; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * In addition, as a special exception, The Mir-coders gives permission to link + * the code of this program with any library licensed under the Apache Software License, + * The Sun (tm) Java Advanced Imaging library (JAI), The Sun JIMI library + * (or with modified versions of the above that use the same license as the above), + * and distribute linked combinations including the two. You must obey the + * GNU General Public License in all respects for all of the code used other than + * the above mentioned libraries. If you modify this file, you may extend this + * exception to your version of the file, but you are not obligated to do so. + * If you do not wish to do so, delete this exception statement from your version. + */ package mir.core.model; import java.io.Serializable; @@ -6,7 +37,12 @@ import org.apache.commons.lang.builder.EqualsBuilder; import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.commons.lang.builder.ToStringBuilder; -/** @author Hibernate CodeGenerator */ +/** + * + * Comment + * @author idefix + * @version $Id: Comment.java,v 1.2 2003/08/17 19:13:19 idfx Exp $ + */ public class Comment implements Serializable { /** identifier field */ diff --git a/source/mir/core/model/CommentStatus.java b/source/mir/core/model/CommentStatus.java index eb28fda0..1c954d83 100755 --- a/source/mir/core/model/CommentStatus.java +++ b/source/mir/core/model/CommentStatus.java @@ -1,3 +1,34 @@ +/* + * CommentStatus.java + * + * Copyright (C) 2001, 2002, 2003 The Mir-coders group + * + * This file is part of Mir. + * + * Mir is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * Mir 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 Mir; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * In addition, as a special exception, The Mir-coders gives permission to link + * the code of this program with any library licensed under the Apache Software License, + * The Sun (tm) Java Advanced Imaging library (JAI), The Sun JIMI library + * (or with modified versions of the above that use the same license as the above), + * and distribute linked combinations including the two. You must obey the + * GNU General Public License in all respects for all of the code used other than + * the above mentioned libraries. If you modify this file, you may extend this + * exception to your version of the file, but you are not obligated to do so. + * If you do not wish to do so, delete this exception statement from your version. + */ package mir.core.model; import java.io.Serializable; @@ -6,7 +37,12 @@ import org.apache.commons.lang.builder.EqualsBuilder; import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.commons.lang.builder.ToStringBuilder; -/** @author Hibernate CodeGenerator */ +/** + * + * CommentStatus + * @author idefix + * @version $Id: CommentStatus.java,v 1.2 2003/08/17 19:13:19 idfx Exp $ + */ public class CommentStatus implements Serializable { /** identifier field */ diff --git a/source/mir/core/model/Content.java b/source/mir/core/model/Content.java index 1ea213ca..00e67b6f 100755 --- a/source/mir/core/model/Content.java +++ b/source/mir/core/model/Content.java @@ -1,3 +1,34 @@ +/* + * Content.java + * + * Copyright (C) 2001, 2002, 2003 The Mir-coders group + * + * This file is part of Mir. + * + * Mir is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * Mir 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 Mir; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * In addition, as a special exception, The Mir-coders gives permission to link + * the code of this program with any library licensed under the Apache Software License, + * The Sun (tm) Java Advanced Imaging library (JAI), The Sun JIMI library + * (or with modified versions of the above that use the same license as the above), + * and distribute linked combinations including the two. You must obey the + * GNU General Public License in all respects for all of the code used other than + * the above mentioned libraries. If you modify this file, you may extend this + * exception to your version of the file, but you are not obligated to do so. + * If you do not wish to do so, delete this exception statement from your version. + */ package mir.core.model; import java.io.Serializable; @@ -5,7 +36,12 @@ import java.util.Set; import org.apache.commons.lang.builder.ToStringBuilder; -/** @author Hibernate CodeGenerator */ +/** + * + * Content + * @author idefix + * @version $Id: Content.java,v 1.2 2003/08/17 19:13:19 idfx Exp $ + */ public class Content extends Media implements Serializable { /** persistent field */ diff --git a/source/mir/core/model/Feature.java b/source/mir/core/model/Feature.java index a6228b9c..c348a1e9 100755 --- a/source/mir/core/model/Feature.java +++ b/source/mir/core/model/Feature.java @@ -1,3 +1,34 @@ +/* + * Feature.java + * + * Copyright (C) 2001, 2002, 2003 The Mir-coders group + * + * This file is part of Mir. + * + * Mir is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * Mir 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 Mir; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * In addition, as a special exception, The Mir-coders gives permission to link + * the code of this program with any library licensed under the Apache Software License, + * The Sun (tm) Java Advanced Imaging library (JAI), The Sun JIMI library + * (or with modified versions of the above that use the same license as the above), + * and distribute linked combinations including the two. You must obey the + * GNU General Public License in all respects for all of the code used other than + * the above mentioned libraries. If you modify this file, you may extend this + * exception to your version of the file, but you are not obligated to do so. + * If you do not wish to do so, delete this exception statement from your version. + */ package mir.core.model; import java.io.Serializable; @@ -6,7 +37,12 @@ import org.apache.commons.lang.builder.EqualsBuilder; import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.commons.lang.builder.ToStringBuilder; -/** @author Hibernate CodeGenerator */ +/** + * + * Feature + * @author idefix + * @version $Id: Feature.java,v 1.2 2003/08/17 19:13:19 idfx Exp $ + */ public class Feature implements Serializable { /** identifier field */ diff --git a/source/mir/core/model/Image.java b/source/mir/core/model/Image.java index a4777f33..37a56213 100755 --- a/source/mir/core/model/Image.java +++ b/source/mir/core/model/Image.java @@ -1,3 +1,34 @@ +/* + * Image.java + * + * Copyright (C) 2001, 2002, 2003 The Mir-coders group + * + * This file is part of Mir. + * + * Mir is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * Mir 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 Mir; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * In addition, as a special exception, The Mir-coders gives permission to link + * the code of this program with any library licensed under the Apache Software License, + * The Sun (tm) Java Advanced Imaging library (JAI), The Sun JIMI library + * (or with modified versions of the above that use the same license as the above), + * and distribute linked combinations including the two. You must obey the + * GNU General Public License in all respects for all of the code used other than + * the above mentioned libraries. If you modify this file, you may extend this + * exception to your version of the file, but you are not obligated to do so. + * If you do not wish to do so, delete this exception statement from your version. + */ package mir.core.model; import java.io.Serializable; @@ -14,7 +45,12 @@ import org.postgresql.PGConnection; import org.postgresql.largeobject.LargeObject; import org.postgresql.largeobject.LargeObjectManager; -/** @author Hibernate CodeGenerator */ +/** + * + * Image + * @author idefix + * @version $Id: Image.java,v 1.3 2003/08/17 19:13:19 idfx Exp $ + */ public class Image extends UploadedMedia implements Serializable, Lifecycle { diff --git a/source/mir/core/model/Language.java b/source/mir/core/model/Language.java index dc7f5643..8b959c66 100755 --- a/source/mir/core/model/Language.java +++ b/source/mir/core/model/Language.java @@ -1,3 +1,34 @@ +/* + * Language.java + * + * Copyright (C) 2001, 2002, 2003 The Mir-coders group + * + * This file is part of Mir. + * + * Mir is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * Mir 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 Mir; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * In addition, as a special exception, The Mir-coders gives permission to link + * the code of this program with any library licensed under the Apache Software License, + * The Sun (tm) Java Advanced Imaging library (JAI), The Sun JIMI library + * (or with modified versions of the above that use the same license as the above), + * and distribute linked combinations including the two. You must obey the + * GNU General Public License in all respects for all of the code used other than + * the above mentioned libraries. If you modify this file, you may extend this + * exception to your version of the file, but you are not obligated to do so. + * If you do not wish to do so, delete this exception statement from your version. + */ package mir.core.model; import java.io.Serializable; @@ -6,7 +37,12 @@ import org.apache.commons.lang.builder.EqualsBuilder; import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.commons.lang.builder.ToStringBuilder; -/** @author Hibernate CodeGenerator */ +/** + * + * Language + * @author idefix + * @version $Id: Language.java,v 1.2 2003/08/17 19:13:19 idfx Exp $ + */ public class Language implements Serializable { /** identifier field */ diff --git a/source/mir/core/model/Media.java b/source/mir/core/model/Media.java index 41280b0f..3d7a76c2 100755 --- a/source/mir/core/model/Media.java +++ b/source/mir/core/model/Media.java @@ -1,3 +1,35 @@ +/* + * Media.java + * + * Copyright (C) 2001, 2002, 2003 The Mir-coders group + * + * This file is part of Mir. + * + * Mir is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * Mir 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 Mir; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * In addition, as a special exception, The Mir-coders gives permission to link + * the code of this program with any library licensed under the Apache Software License, + * The Sun (tm) Java Advanced Imaging library (JAI), The Sun JIMI library + * (or with modified versions of the above that use the same license as the above), + * and distribute linked combinations including the two. You must obey the + * GNU General Public License in all respects for all of the code used other than + * the above mentioned libraries. If you modify this file, you may extend this + * exception to your version of the file, but you are not obligated to do so. + * If you do not wish to do so, delete this exception statement from your version. + */ + package mir.core.model; import java.io.Serializable; @@ -8,7 +40,12 @@ import org.apache.commons.lang.builder.EqualsBuilder; import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.commons.lang.builder.ToStringBuilder; -/** @author Hibernate CodeGenerator */ +/** + * + * Media + * @author idefix + * @version $Id: Media.java,v 1.3 2003/08/17 19:13:19 idfx Exp $ + */ public class Media implements Serializable { /** identifier field */ diff --git a/source/mir/core/model/MediaFolder.java b/source/mir/core/model/MediaFolder.java index 0a1dfa0f..5b1c8d3a 100755 --- a/source/mir/core/model/MediaFolder.java +++ b/source/mir/core/model/MediaFolder.java @@ -1,3 +1,35 @@ +/* + * MediaFolder.java + * + * Copyright (C) 2001, 2002, 2003 The Mir-coders group + * + * This file is part of Mir. + * + * Mir is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * Mir 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 Mir; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * In addition, as a special exception, The Mir-coders gives permission to link + * the code of this program with any library licensed under the Apache Software License, + * The Sun (tm) Java Advanced Imaging library (JAI), The Sun JIMI library + * (or with modified versions of the above that use the same license as the above), + * and distribute linked combinations including the two. You must obey the + * GNU General Public License in all respects for all of the code used other than + * the above mentioned libraries. If you modify this file, you may extend this + * exception to your version of the file, but you are not obligated to do so. + * If you do not wish to do so, delete this exception statement from your version. + */ + package mir.core.model; import java.io.Serializable; @@ -6,7 +38,12 @@ import org.apache.commons.lang.builder.EqualsBuilder; import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.commons.lang.builder.ToStringBuilder; -/** @author Hibernate CodeGenerator */ +/** + * + * MediaFolder + * @author idefix + * @version $Id: MediaFolder.java,v 1.2 2003/08/17 19:13:19 idfx Exp $ + */ public class MediaFolder implements Serializable { /** identifier field */ diff --git a/source/mir/core/model/MediaType.java b/source/mir/core/model/MediaType.java index 57b9e2a1..5ade06c7 100755 --- a/source/mir/core/model/MediaType.java +++ b/source/mir/core/model/MediaType.java @@ -1,3 +1,34 @@ +/* + * MediaType.java + * + * Copyright (C) 2001, 2002, 2003 The Mir-coders group + * + * This file is part of Mir. + * + * Mir is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * Mir 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 Mir; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * In addition, as a special exception, The Mir-coders gives permission to link + * the code of this program with any library licensed under the Apache Software License, + * The Sun (tm) Java Advanced Imaging library (JAI), The Sun JIMI library + * (or with modified versions of the above that use the same license as the above), + * and distribute linked combinations including the two. You must obey the + * GNU General Public License in all respects for all of the code used other than + * the above mentioned libraries. If you modify this file, you may extend this + * exception to your version of the file, but you are not obligated to do so. + * If you do not wish to do so, delete this exception statement from your version. + */ package mir.core.model; import java.io.Serializable; @@ -7,7 +38,12 @@ import org.apache.commons.lang.builder.EqualsBuilder; import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.commons.lang.builder.ToStringBuilder; -/** @author Hibernate CodeGenerator */ +/** + * + * MediaType + * @author idefix + * @version $Id: MediaType.java,v 1.3 2003/08/17 19:13:19 idfx Exp $ + */ public class MediaType implements Serializable { /** identifier field */ diff --git a/source/mir/core/model/Message.java b/source/mir/core/model/Message.java index 893864f2..4a0c7f75 100755 --- a/source/mir/core/model/Message.java +++ b/source/mir/core/model/Message.java @@ -1,3 +1,34 @@ +/* + * Message.java + * + * Copyright (C) 2001, 2002, 2003 The Mir-coders group + * + * This file is part of Mir. + * + * Mir is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * Mir 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 Mir; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * In addition, as a special exception, The Mir-coders gives permission to link + * the code of this program with any library licensed under the Apache Software License, + * The Sun (tm) Java Advanced Imaging library (JAI), The Sun JIMI library + * (or with modified versions of the above that use the same license as the above), + * and distribute linked combinations including the two. You must obey the + * GNU General Public License in all respects for all of the code used other than + * the above mentioned libraries. If you modify this file, you may extend this + * exception to your version of the file, but you are not obligated to do so. + * If you do not wish to do so, delete this exception statement from your version. + */ package mir.core.model; import java.io.Serializable; @@ -6,7 +37,12 @@ import org.apache.commons.lang.builder.EqualsBuilder; import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.commons.lang.builder.ToStringBuilder; -/** @author Hibernate CodeGenerator */ +/** + * + * Message + * @author idefix + * @version $Id: Message.java,v 1.2 2003/08/17 19:13:19 idfx Exp $ + */ public class Message implements Serializable { /** identifier field */ diff --git a/source/mir/core/model/MirUser.java b/source/mir/core/model/MirUser.java index 40b7a544..ef4211ab 100755 --- a/source/mir/core/model/MirUser.java +++ b/source/mir/core/model/MirUser.java @@ -1,3 +1,34 @@ +/* + * MirUser.java + * + * Copyright (C) 2001, 2002, 2003 The Mir-coders group + * + * This file is part of Mir. + * + * Mir is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * Mir 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 Mir; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * In addition, as a special exception, The Mir-coders gives permission to link + * the code of this program with any library licensed under the Apache Software License, + * The Sun (tm) Java Advanced Imaging library (JAI), The Sun JIMI library + * (or with modified versions of the above that use the same license as the above), + * and distribute linked combinations including the two. You must obey the + * GNU General Public License in all respects for all of the code used other than + * the above mentioned libraries. If you modify this file, you may extend this + * exception to your version of the file, but you are not obligated to do so. + * If you do not wish to do so, delete this exception statement from your version. + */ package mir.core.model; import java.io.Serializable; @@ -6,7 +37,12 @@ import org.apache.commons.lang.builder.EqualsBuilder; import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.commons.lang.builder.ToStringBuilder; -/** @author Hibernate CodeGenerator */ +/** + * + * MirUser + * @author idefix + * @version $Id: MirUser.java,v 1.2 2003/08/17 19:13:19 idfx Exp $ + */ public class MirUser implements Serializable { /** identifier field */ diff --git a/source/mir/core/model/OtherMedia.java b/source/mir/core/model/OtherMedia.java index 9b77bd5d..9e5e9cb9 100755 --- a/source/mir/core/model/OtherMedia.java +++ b/source/mir/core/model/OtherMedia.java @@ -1,10 +1,46 @@ +/* + * OtherMedia.java + * + * Copyright (C) 2001, 2002, 2003 The Mir-coders group + * + * This file is part of Mir. + * + * Mir is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * Mir 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 Mir; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * In addition, as a special exception, The Mir-coders gives permission to link + * the code of this program with any library licensed under the Apache Software License, + * The Sun (tm) Java Advanced Imaging library (JAI), The Sun JIMI library + * (or with modified versions of the above that use the same license as the above), + * and distribute linked combinations including the two. You must obey the + * GNU General Public License in all respects for all of the code used other than + * the above mentioned libraries. If you modify this file, you may extend this + * exception to your version of the file, but you are not obligated to do so. + * If you do not wish to do so, delete this exception statement from your version. + */ package mir.core.model; import java.io.Serializable; import org.apache.commons.lang.builder.ToStringBuilder; -/** @author Hibernate CodeGenerator */ +/** + * + * OtherMedia + * @author idefix + * @version $Id: OtherMedia.java,v 1.2 2003/08/17 19:13:19 idfx Exp $ + */ public class OtherMedia extends UploadedMedia implements Serializable { /** default constructor */ diff --git a/source/mir/core/model/Rights.java b/source/mir/core/model/Rights.java index 8f62fab0..93f6abc4 100755 --- a/source/mir/core/model/Rights.java +++ b/source/mir/core/model/Rights.java @@ -1,3 +1,34 @@ +/* + * Rights.java + * + * Copyright (C) 2001, 2002, 2003 The Mir-coders group + * + * This file is part of Mir. + * + * Mir is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * Mir 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 Mir; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * In addition, as a special exception, The Mir-coders gives permission to link + * the code of this program with any library licensed under the Apache Software License, + * The Sun (tm) Java Advanced Imaging library (JAI), The Sun JIMI library + * (or with modified versions of the above that use the same license as the above), + * and distribute linked combinations including the two. You must obey the + * GNU General Public License in all respects for all of the code used other than + * the above mentioned libraries. If you modify this file, you may extend this + * exception to your version of the file, but you are not obligated to do so. + * If you do not wish to do so, delete this exception statement from your version. + */ package mir.core.model; import java.io.Serializable; @@ -6,7 +37,12 @@ import org.apache.commons.lang.builder.EqualsBuilder; import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.commons.lang.builder.ToStringBuilder; -/** @author Hibernate CodeGenerator */ +/** + * + * Rights + * @author idefix + * @version $Id: Rights.java,v 1.2 2003/08/17 19:13:19 idfx Exp $ + */ public class Rights implements Serializable { /** identifier field */ diff --git a/source/mir/core/model/Topic.java b/source/mir/core/model/Topic.java index 3af85b09..4922f9ce 100755 --- a/source/mir/core/model/Topic.java +++ b/source/mir/core/model/Topic.java @@ -1,3 +1,34 @@ +/* + * Topic.java + * + * Copyright (C) 2001, 2002, 2003 The Mir-coders group + * + * This file is part of Mir. + * + * Mir is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * Mir 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 Mir; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * In addition, as a special exception, The Mir-coders gives permission to link + * the code of this program with any library licensed under the Apache Software License, + * The Sun (tm) Java Advanced Imaging library (JAI), The Sun JIMI library + * (or with modified versions of the above that use the same license as the above), + * and distribute linked combinations including the two. You must obey the + * GNU General Public License in all respects for all of the code used other than + * the above mentioned libraries. If you modify this file, you may extend this + * exception to your version of the file, but you are not obligated to do so. + * If you do not wish to do so, delete this exception statement from your version. + */ package mir.core.model; import java.io.Serializable; @@ -7,7 +38,12 @@ import org.apache.commons.lang.builder.EqualsBuilder; import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.commons.lang.builder.ToStringBuilder; -/** @author Hibernate CodeGenerator */ +/** + * + * Topic + * @author idefix + * @version $Id: Topic.java,v 1.2 2003/08/17 19:13:19 idfx Exp $ + */ public class Topic implements Serializable { /** identifier field */ diff --git a/source/mir/core/model/UploadedMedia.java b/source/mir/core/model/UploadedMedia.java index b41e0342..2e33ac60 100755 --- a/source/mir/core/model/UploadedMedia.java +++ b/source/mir/core/model/UploadedMedia.java @@ -1,10 +1,46 @@ +/* + * UploadedMedia.java + * + * Copyright (C) 2001, 2002, 2003 The Mir-coders group + * + * This file is part of Mir. + * + * Mir is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * Mir 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 Mir; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * In addition, as a special exception, The Mir-coders gives permission to link + * the code of this program with any library licensed under the Apache Software License, + * The Sun (tm) Java Advanced Imaging library (JAI), The Sun JIMI library + * (or with modified versions of the above that use the same license as the above), + * and distribute linked combinations including the two. You must obey the + * GNU General Public License in all respects for all of the code used other than + * the above mentioned libraries. If you modify this file, you may extend this + * exception to your version of the file, but you are not obligated to do so. + * If you do not wish to do so, delete this exception statement from your version. + */ package mir.core.model; import java.io.Serializable; import org.apache.commons.lang.builder.ToStringBuilder; -/** @author Hibernate CodeGenerator */ +/** + * + * UploadedMedia + * @author idefix + * @version $Id: UploadedMedia.java,v 1.3 2003/08/17 19:13:19 idfx Exp $ + */ public class UploadedMedia extends Media implements Serializable { /** persistent field */