edu.uoc.tfc.dbmodel
Class Asseguradora

java.lang.Object
  extended by edu.uoc.tfc.dbmodel.Asseguradora
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AsseguradoraImpl

public abstract class Asseguradora
extends java.lang.Object
implements java.io.Serializable

Classe que representa una companyia asseguradora al model de base de dades

See Also:
Serialized Form

Nested Class Summary
static class Asseguradora.Factory
          Constructs new instances of Asseguradora.
 
Constructor Summary
Asseguradora()
           
 
Method Summary
 boolean equals(java.lang.Object object)
          Returns true if the argument is an Asseguradora instance and all identifiers for this entity equal the identifiers of the argument entity.
 java.lang.Boolean getActiva()
           Indicador que representa si l'asseguradora es troba activa/inactiva
 java.lang.String getDescripcio()
           Descripció de la companyia asseguradora
 java.lang.Long getId()
           
 java.lang.String getNom()
           Nom de la companyia asseguradora
 java.util.Collection getParts()
           
 int hashCode()
          Returns a hash code based on this entity's identifiers.
 void setActiva(java.lang.Boolean activa)
           
 void setDescripcio(java.lang.String descripcio)
           
 void setId(java.lang.Long id)
           
 void setNom(java.lang.String nom)
           
 void setParts(java.util.Collection parts)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Asseguradora

public Asseguradora()
Method Detail

getNom

public java.lang.String getNom()

Nom de la companyia asseguradora


setNom

public void setNom(java.lang.String nom)

getDescripcio

public java.lang.String getDescripcio()

Descripció de la companyia asseguradora


setDescripcio

public void setDescripcio(java.lang.String descripcio)

getActiva

public java.lang.Boolean getActiva()

Indicador que representa si l'asseguradora es troba activa/inactiva


setActiva

public void setActiva(java.lang.Boolean activa)

getId

public java.lang.Long getId()

setId

public void setId(java.lang.Long id)

getParts

public java.util.Collection getParts()

setParts

public void setParts(java.util.Collection parts)

equals

public boolean equals(java.lang.Object object)
Returns true if the argument is an Asseguradora instance and all identifiers for this entity equal the identifiers of the argument entity. Returns false otherwise.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hash code based on this entity's identifiers.

Overrides:
hashCode in class java.lang.Object