edu.iastate.metnet.hibernate
Class AbstractEntitywithcontext

java.lang.Object
  extended by edu.iastate.metnet.hibernate.AbstractEntitywithcontext
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Entitywithcontext

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

A class that represents a row in the entitywithcontext table. You can customize the behavior of this class by editing the class, Entitywithcontext(). WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized * by MyEclipse Hibernate tool integration.

See Also:
Serialized Form

Constructor Summary
AbstractEntitywithcontext()
          Simple constructor of AbstractEntitywithcontext instances.
AbstractEntitywithcontext(EntitywithcontextKey id)
          Constructor of AbstractEntitywithcontext instances given a composite primary key.
 
Method Summary
 boolean equals(java.lang.Object rhs)
          Implementation of the equals comparison on the basis of equality of the primary key values.
 EntitywithcontextKey getId()
          Return the composite id instance that identifies this object.
 int hashCode()
          Implementation of the hashCode method conforming to the Bloch pattern with the exception of array properties (these are very unlikely primary key types).
 void setId(EntitywithcontextKey id)
          Set the composite id instance that identifies this object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractEntitywithcontext

public AbstractEntitywithcontext()
Simple constructor of AbstractEntitywithcontext instances.


AbstractEntitywithcontext

public AbstractEntitywithcontext(EntitywithcontextKey id)
Constructor of AbstractEntitywithcontext instances given a composite primary key.

Parameters:
id -
Method Detail

getId

public EntitywithcontextKey getId()
Return the composite id instance that identifies this object.

Returns:
EntitywithcontextKey

setId

public void setId(EntitywithcontextKey id)
Set the composite id instance that identifies this object.

Parameters:
id -

equals

public boolean equals(java.lang.Object rhs)
Implementation of the equals comparison on the basis of equality of the primary key values.

Overrides:
equals in class java.lang.Object
Parameters:
rhs -
Returns:
boolean

hashCode

public int hashCode()
Implementation of the hashCode method conforming to the Bloch pattern with the exception of array properties (these are very unlikely primary key types).

Overrides:
hashCode in class java.lang.Object
Returns:
int