FileDocCategorySizeDatePackage
Document.javaAPI DocHibernate 3.2.51983Fri Mar 03 17:17:58 GMT 2006org.hibernate.test.instrument.domain

Document

public class Document extends Object
author
Gavin King

Fields Summary
private Long
id
private String
name
private String
upperCaseName
private String
summary
private String
text
private Owner
owner
private Folder
folder
private Date
lastTextModification
Constructors Summary
Methods Summary
public FoldergetFolder()

return
Returns the folder.

	    	 
	   
		return folder;
	
public java.lang.LonggetId()

return
Returns the id.

		return id;
	
public java.lang.StringgetName()

return
Returns the name.

		return name;
	
public OwnergetOwner()

return
Returns the owner.

		return owner;
	
public java.lang.StringgetSummary()

return
Returns the summary.

		return summary;
	
public java.lang.StringgetText()

return
Returns the text.

		return text;
	
public java.lang.StringgetUpperCaseName()

return
Returns the upperCaseName.

		return upperCaseName;
	
public voidsetFolder(Folder folder)

param
folder The folder to set.

		this.folder = folder;
	
public voidsetId(java.lang.Long id)

param
id The id to set.

		this.id = id;
	
public voidsetName(java.lang.String name)

param
name The name to set.

		this.name = name;
	
public voidsetOwner(Owner owner)

param
owner The owner to set.

		this.owner = owner;
	
public voidsetSummary(java.lang.String summary)

param
summary The summary to set.

		this.summary = summary;
	
private voidsetText(java.lang.String text)

param
text The text to set.

		this.text = text;
	
public voidsetUpperCaseName(java.lang.String upperCaseName)

param
upperCaseName The upperCaseName to set.

		this.upperCaseName = upperCaseName;
	
public voidupdateText(java.lang.String newText)

		if ( !newText.equals(text) ) {
			this.text = newText;
			lastTextModification = new Date();
		}