org.geebis.books.model.partner
Class Trackable

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

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

The Trackable class represents a product that a customer owns that you want to keep track of. Trackables can either be created when a trackable part is sold by you or you manually create one

See Also:
Serialized Form

Constructor Summary
Trackable()
           
Trackable(java.lang.String serial)
           
 
Method Summary
 Customer getCustomer()
          Gets the Customer of the trackable
 java.lang.Long getId()
           
 java.util.List<Label> getLabels()
          Gets the labels attached to this trackable
 java.lang.String getNotes()
          Gets the notes of the trackable
 java.lang.String getSerialNumber()
          Gets the serial number number of the trackable
 java.lang.Integer getVersion()
           
 void setCustomer(Customer customer)
          Sets the Customer of the trackable
 void setId(java.lang.Long id)
           
 void setLabels(java.util.List<Label> labels)
          Sets the labels attached to this trackable
 void setNotes(java.lang.String notes)
          Sets the notes of the trackable
 void setSerialNumber(java.lang.String serialNumber)
          Sets the serial number of the trackable
 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

Trackable

public Trackable()

Trackable

public Trackable(java.lang.String serial)
Method Detail

getSerialNumber

public java.lang.String getSerialNumber()
Gets the serial number number of the trackable

Returns:
the serial number number of the trackable

setSerialNumber

public void setSerialNumber(java.lang.String serialNumber)
Sets the serial number of the trackable

Parameters:
serialNumber - the new serial number of the trackable

getNotes

public java.lang.String getNotes()
Gets the notes of the trackable

Returns:
the notes of the trackable

setNotes

public void setNotes(java.lang.String notes)
Sets the notes of the trackable

Parameters:
notes - the new notes for the trackable

getCustomer

public Customer getCustomer()
Gets the Customer of the trackable

Returns:
the Customer of the trackable

setCustomer

public void setCustomer(Customer customer)
Sets the Customer of the trackable

Parameters:
customer - the new Customer for the trackable

getLabels

public java.util.List<Label> getLabels()
Gets the labels attached to this trackable

Returns:
the labels attached to this trackable

setLabels

public void setLabels(java.util.List<Label> labels)
Sets the labels attached to this trackable

Parameters:
labels - the new labels attached to this trackable

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)