//$Id$
package mapping.mixed;
/**
* @author Gavin King
*/
public abstract class Item {
private Long id;
private String name;
private Folder parent;
/**
* @return Returns the parent.
*/
public Folder getParent() {
return parent;
}
/**
* @param parent The parent to set.
*/
public void setParent(Folder parent) {
this.parent = parent;
}
/**
* @return Returns the id.
*/
public Long getId() {
return id;
}
/**
* @param id The id to set.
*/
public void setId(Long id) {
this.id = id;
}
/**
* @return Returns the name.
*/
public String getName() {
return name;
}
/**
* @param name The name to set.
*/
public void setName(String name) {
this.name = name;
}
}