net.ezcontent.impl.eos.base
Class BasePermiso

java.lang.Object
  extended bynet.ezcontent.impl.eos.base.BasePermiso
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Permiso

public abstract class BasePermiso
extends Object
implements Serializable

This is an object that contains data related to the `Permiso` table. Do not modify this class because it will be overwritten if the configuration file related to this class is modified. For more information visit The Hibernate Synchronizer page, or contact Joe Hudson

See Also:
Serialized Form

Field Summary
private  Set grupos
           
private  int hashCode
           
private  String name
           
private  int perm_id
           
 
Constructor Summary
BasePermiso()
           
BasePermiso(int perm_id)
          Constructor for primary key
BasePermiso(int perm_id, String name)
          Constructor for required fields
 
Method Summary
 void addToGrupos(Object obj)
           
 boolean equals(Object obj)
           
 Set getGrupos()
           
 String getName()
           
 int getPerm_id()
          Return the unique identifier of this class
 int hashCode()
           
 void setGrupos(Set grupos)
           
 void setName(String name)
          Set the value related to the column: permiso
 void setPerm_id(int perm_id)
          Set the unique identifier of this class
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hashCode

private int hashCode

perm_id

private int perm_id

name

private String name

grupos

private Set grupos
Constructor Detail

BasePermiso

public BasePermiso()

BasePermiso

public BasePermiso(int perm_id)
Constructor for primary key


BasePermiso

public BasePermiso(int perm_id,
                   String name)
Constructor for required fields

Method Detail

getPerm_id

public int getPerm_id()
Return the unique identifier of this class


setPerm_id

public void setPerm_id(int perm_id)
Set the unique identifier of this class

Parameters:
perm_id - the new ID

getName

public String getName()

setName

public void setName(String name)
Set the value related to the column: permiso

Parameters:
name - the permiso value

getGrupos

public Set getGrupos()

setGrupos

public void setGrupos(Set grupos)

addToGrupos

public void addToGrupos(Object obj)

equals

public boolean equals(Object obj)

hashCode

public int hashCode()