Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * The SmartWeb Framework
   * Copyright (C) 2004-2006
   *
   * This library is free software; you can redistribute it and/or
   * modify it under the terms of the GNU Lesser General Public
   * License as published by the Free Software Foundation; either
   * version 2.1 of the License, or (at your option) any later version.
   *
  * This library 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
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  *
  * For further informations on the SmartWeb Framework please visit
  *
  *                        http://smartweb.sourceforge.net
  */
  
 package net.smartlab.web.registry;
 
 import java.util.Set;

TODO documentation

Author(s):
rlogiacco
Hibernate.joined:
subclass schema="registry" table="`list`"
Hibernate.joined:
subclass-key column="`id`"
 
 public class List extends Entry {
 
 	private final static long serialVersionUID = 4149872229997965218L;
 
 	private String description;

Link:
aggregation <{Entry}>
Directed:
directed
SupplierCardinality:
0..*
 
 	private Set entries;

Number of entities members of this group.
 
 	private int size;


Returns the group description.

Returns:
returns the group description.
Hibernate.property:
column="description" type="text"
 
 	public String getDescription() {
 		return ;
 	}

Sets the group description.

Parameters:
description the group description to set.
 
 	public void setDescription(String description) {
 		this. = description;
 	}

Returns:
returns the members.
Hibernate.set:
lazy="true" schema="registry" table="`list_entry`" sort="natural"
Hibernate.collection:
key column="`list`"
Hibernate.collection:
many-to-many column="`entry`" class="net.smartlab.web.registry.Entry"
 
 	public Set getEntries() {
 		return ;
 	}

Sets the group members.

Parameters:
entries the members to set.
 
 	protected void setEntries(Set entries) {
 		this. = entries;
 	}

Ensures the group has no members.
 
 	public void clearEntries() {
 	}

TODO documentation

Parameters:
entry
	public void add(Entry entry) {
		.add(entry);
	}

TODO documentation

Parameters:
entry
	public void remove(Entry entry) {
	}

Returns the size of the list in terms of number of contained entries. The returned value will not count sub lists recursively.

Returns:
returns the list size.
Hibernate.property:
insert="false" update="false" formula="( select count(*) from `registry`.`list_entry` LE where LE.`list`=id )"
	public int getSize() {
		return ;
	}

Sets the list size.

Parameters:
size the list size.
	protected void setSize(int size) {
		this. = size;
	}
New to GrepCode? Check out our FAQ X