net.ezcontent.impl.eos.base
Class BaseDocumentSubject

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

public abstract class BaseDocumentSubject
extends Object
implements Serializable

This is an object that contains data related to the `DocSubject` 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  int hashCode
           
private  Set hijos
           
private  String name
           
private  DocumentSubject parent
           
private  int priority
           
private  int subjectID
           
 
Constructor Summary
BaseDocumentSubject()
           
BaseDocumentSubject(int subjectID)
          Constructor for primary key
BaseDocumentSubject(int subjectID, String name, int priority)
          Constructor for required fields
 
Method Summary
 void addToHijos(Object obj)
           
 boolean equals(Object obj)
           
 Set getHijos()
           
 String getName()
           
 DocumentSubject getParent()
           
 int getPriority()
           
 int getSubjectID()
          Return the unique identifier of this class
 int hashCode()
           
 void setHijos(Set hijos)
           
 void setName(String name)
          Set the value related to the column: nombre
 void setParent(DocumentSubject parent)
          Set the value related to the column: parent_id
 void setPriority(int priority)
          Set the value related to the column: prioridad
 void setSubjectID(int subjectID)
          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

subjectID

private int subjectID

name

private String name

priority

private int priority

parent

private DocumentSubject parent

hijos

private Set hijos
Constructor Detail

BaseDocumentSubject

public BaseDocumentSubject()

BaseDocumentSubject

public BaseDocumentSubject(int subjectID)
Constructor for primary key


BaseDocumentSubject

public BaseDocumentSubject(int subjectID,
                           String name,
                           int priority)
Constructor for required fields

Method Detail

getSubjectID

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


setSubjectID

public void setSubjectID(int subjectID)
Set the unique identifier of this class

Parameters:
subjectID - the new ID

getName

public String getName()

setName

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

Parameters:
name - the nombre value

getPriority

public int getPriority()

setPriority

public void setPriority(int priority)
Set the value related to the column: prioridad

Parameters:
priority - the prioridad value

getParent

public DocumentSubject getParent()

setParent

public void setParent(DocumentSubject parent)
Set the value related to the column: parent_id

Parameters:
parent - the parent_id value

getHijos

public Set getHijos()

setHijos

public void setHijos(Set hijos)

addToHijos

public void addToHijos(Object obj)

equals

public boolean equals(Object obj)

hashCode

public int hashCode()