org.hibernate.test.mixed
Class Item

java.lang.Object
  extended by org.hibernate.test.mixed.Item
Direct Known Subclasses:
Document, Folder

public abstract class Item
extends Object


Constructor Summary
Item()
           
 
Method Summary
 Long getId()
           
 String getName()
           
 Folder getParent()
           
 void setId(Long id)
           
 void setName(String name)
           
 void setParent(Folder parent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Item

public Item()
Method Detail

getParent

public Folder getParent()
Returns:
Returns the parent.

setParent

public void setParent(Folder parent)
Parameters:
parent - The parent to set.

getId

public Long getId()
Returns:
Returns the id.

setId

public void setId(Long id)
Parameters:
id - The id to set.

getName

public String getName()
Returns:
Returns the name.

setName

public void setName(String name)
Parameters:
name - The name to set.


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.