org.geebis.books.model.item
Class Manufacturer

java.lang.Object
  extended by org.geebis.books.model.item.Manufacturer
All Implemented Interfaces:
java.io.Serializable

@Name(value="manufacturer")
public class Manufacturer
extends java.lang.Object
implements java.io.Serializable

The Manufacturer class represents a RetailItem manufacturer

See Also:
Serialized Form

Constructor Summary
Manufacturer()
           
Manufacturer(java.lang.String name)
           
 
Method Summary
 java.lang.Long getId()
           
 java.lang.String getName()
          Gets the name of the manufacturer.
 java.lang.Integer getVersion()
           
 void setId(java.lang.Long id)
           
 void setName(java.lang.String name)
          Sets the name of the manufacturer.
 void setVersion(java.lang.Integer version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Manufacturer

public Manufacturer()

Manufacturer

public Manufacturer(java.lang.String name)
Method Detail

getName

public java.lang.String getName()
Gets the name of the manufacturer. This name is unique and is used to identify the manufacturer throughout the system

Returns:
the name of the manufacturer

setName

public void setName(java.lang.String name)
Sets the name of the manufacturer.

Parameters:
name - the new name for the manufacturer

getVersion

public java.lang.Integer getVersion()

setVersion

public void setVersion(java.lang.Integer version)

getId

public java.lang.Long getId()

setId

public void setId(java.lang.Long id)