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;

Represents a business entity in the registry. This class could be used to store both commercial business entities and non-profit organization informations, eventually through subclassing.

Author(s):
rlogiacco
Hibernate.joined:
subclass schema="registry" table="`business`"
Hibernate.joined:
subclass-key column="`id`"
public class Business extends Entity {
	private static final long serialVersionUID = 2400674709089161829L;

The main address of the business, usually defined as legal situs .

Directed:
true
Identifing code usually used as unique financial reference to the business.
	private String idCode;

Returns the main address of the business, usually defined as legal situs .

Returns:
the main address of the business.
Hibernate.many:
to-one column="`legalSitus`"
		return ;
	}

Sets the main address of the business, usually defined as legal situs .

Parameters:
legalSitus the main address of the business.
	public void setLegalSitus(MailAddress legalSitus) {
		this. = legalSitus;
	}

Returns the identifing code usually used as unique financial reference to the business.

Returns:
returns the identifing code.
Hibernate.property:
column="`idCode`"
	public String getIdCode() {
		return ;
	}

Sets the identifing code usually used as unique financial reference to the business.

Parameters:
idCode the identifing code.
	public void setIdCode(String idCode) {
		this. = idCode;
	}
New to GrepCode? Check out our FAQ X