net.sf.imca.model.entities
Class DesignEntity

java.lang.Object
  extended by net.sf.imca.model.entities.DesignEntity

public class DesignEntity
extends java.lang.Object

An persistence entity description. There is no logic just getter and setters, for the properties. This Object represents a table in the database and the properties are fields.

Author:
dougculnane

Constructor Summary
DesignEntity()
           
 
Method Summary
 java.lang.String getDescription()
           
 java.util.Collection<PersonEntity> getDesigners()
           
 long getId()
           
 java.lang.String getName()
           
 int getYear()
           
 void setDescription(java.lang.String description)
           
 void setDesigners(java.util.Collection<PersonEntity> designers)
           
 void setId(long id)
           
 void setName(java.lang.String name)
           
 void setYear(int year)
           
 java.lang.String toString()
          Override the Object method to give a usable human readable representation of the Object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DesignEntity

public DesignEntity()
Method Detail

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getYear

public int getYear()

setYear

public void setYear(int year)

getId

public long getId()

setId

public void setId(long id)

getDesigners

public java.util.Collection<PersonEntity> getDesigners()

setDesigners

public void setDesigners(java.util.Collection<PersonEntity> designers)

toString

public java.lang.String toString()
Override the Object method to give a usable human readable representation of the Object.

Overrides:
toString in class java.lang.Object


Copyright © 2007-2008 The International Moth Class Association (IMCA).. All Rights Reserved.