net.ezcontent.impl.eos.base
Class BaseDocumentReference

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

public abstract class BaseDocumentReference
extends Object
implements Serializable

This is an object that contains data related to the `DocReference` 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  String destClass
           
private  int destID
           
private  int hashCode
           
private  String name
           
private  SimpleDocument owningDocument
           
private  boolean ownsDestination
           
private  int refID
           
 
Constructor Summary
BaseDocumentReference()
           
BaseDocumentReference(int refID)
          Constructor for primary key
BaseDocumentReference(int refID, String name, String destClass, int destID)
          Constructor for required fields
 
Method Summary
 boolean equals(Object obj)
           
 String getDestClass()
           
 int getDestID()
           
 String getName()
           
 SimpleDocument getOwningDocument()
           
 int getRefID()
          Return the unique identifier of this class
 int hashCode()
           
 boolean isOwnsDestination()
           
 void setDestClass(String destClass)
          Set the value related to the column: dest_class
 void setDestID(int destID)
          Set the value related to the column: dest_id
 void setName(String name)
          Set the value related to the column: name
 void setOwningDocument(SimpleDocument owningDocument)
          Set the value related to the column: owner_id
 void setOwnsDestination(boolean ownsDestination)
          Set the value related to the column: owns_dest
 void setRefID(int refID)
          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

refID

private int refID

name

private String name

ownsDestination

private boolean ownsDestination

destClass

private String destClass

destID

private int destID

owningDocument

private SimpleDocument owningDocument
Constructor Detail

BaseDocumentReference

public BaseDocumentReference()

BaseDocumentReference

public BaseDocumentReference(int refID)
Constructor for primary key


BaseDocumentReference

public BaseDocumentReference(int refID,
                             String name,
                             String destClass,
                             int destID)
Constructor for required fields

Method Detail

getRefID

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


setRefID

public void setRefID(int refID)
Set the unique identifier of this class

Parameters:
refID - the new ID

getName

public String getName()

setName

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

Parameters:
name - the name value

isOwnsDestination

public boolean isOwnsDestination()

setOwnsDestination

public void setOwnsDestination(boolean ownsDestination)
Set the value related to the column: owns_dest

Parameters:
ownsDestination - the owns_dest value

getDestClass

public String getDestClass()

setDestClass

public void setDestClass(String destClass)
Set the value related to the column: dest_class

Parameters:
destClass - the dest_class value

getDestID

public int getDestID()

setDestID

public void setDestID(int destID)
Set the value related to the column: dest_id

Parameters:
destID - the dest_id value

getOwningDocument

public SimpleDocument getOwningDocument()

setOwningDocument

public void setOwningDocument(SimpleDocument owningDocument)
Set the value related to the column: owner_id

Parameters:
owningDocument - the owner_id value

equals

public boolean equals(Object obj)

hashCode

public int hashCode()