net.ezcontent.impl.eos.base
Class BaseAttachment

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

public abstract class BaseAttachment
extends Object
implements Serializable

This is an object that contains data related to the `Attachment` 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 attID
           
private  BinaryData blob
           
private  String filename
           
private  int hashCode
           
private  String name
           
private  SimpleDocument owner
           
 
Constructor Summary
BaseAttachment()
           
BaseAttachment(int attID)
          Constructor for primary key
 
Method Summary
 boolean equals(Object obj)
           
 int getAttID()
          Return the unique identifier of this class
 BinaryData getBlob()
           
 String getFilename()
           
 String getName()
           
 SimpleDocument getOwner()
           
 int hashCode()
           
 void setAttID(int attID)
          Set the unique identifier of this class
 void setBlob(BinaryData blob)
          Set the value related to the column: blob_id
 void setFilename(String filename)
          Set the value related to the column: filename
 void setName(String name)
          Set the value related to the column: name
 void setOwner(SimpleDocument owner)
          Set the value related to the column: subject_id
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hashCode

private int hashCode

attID

private int attID

name

private String name

filename

private String filename

owner

private SimpleDocument owner

blob

private BinaryData blob
Constructor Detail

BaseAttachment

public BaseAttachment()

BaseAttachment

public BaseAttachment(int attID)
Constructor for primary key

Method Detail

getAttID

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


setAttID

public void setAttID(int attID)
Set the unique identifier of this class

Parameters:
attID - 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

getFilename

public String getFilename()

setFilename

public void setFilename(String filename)
Set the value related to the column: filename

Parameters:
filename - the filename value

getBlob

public BinaryData getBlob()

setBlob

public void setBlob(BinaryData blob)
Set the value related to the column: blob_id

Parameters:
blob - the blob_id value

getOwner

public SimpleDocument getOwner()

setOwner

public void setOwner(SimpleDocument owner)
Set the value related to the column: subject_id

Parameters:
owner - the subject_id value

equals

public boolean equals(Object obj)

hashCode

public int hashCode()