edu.uoc.tfc.dbmodel
Class TipusSiniestre

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

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

Classe que representa un tipus de sinistre al model de base de dades

See Also:
Serialized Form

Nested Class Summary
static class TipusSiniestre.Factory
          Constructs new instances of TipusSiniestre.
 
Constructor Summary
TipusSiniestre()
           
 
Method Summary
 boolean equals(java.lang.Object object)
          Returns true if the argument is an TipusSiniestre instance and all identifiers for this entity equal the identifiers of the argument entity.
 java.lang.Boolean getActiu()
           Indicador que representa si el tipus de sinistre es troba actiu/inactiu
 java.lang.Long getId()
           
 java.lang.String getNom()
           Nom del tipus de sinistre
 java.util.Collection getParts()
           
 int hashCode()
          Returns a hash code based on this entity's identifiers.
 void setActiu(java.lang.Boolean actiu)
           
 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

TipusSiniestre

public TipusSiniestre()
Method Detail

getNom

public java.lang.String getNom()

Nom del tipus de sinistre


setNom

public void setNom(java.lang.String nom)

getActiu

public java.lang.Boolean getActiu()

Indicador que representa si el tipus de sinistre es troba actiu/inactiu


setActiu

public void setActiu(java.lang.Boolean actiu)

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 TipusSiniestre 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