cz.muni.fi.pclis.commons.domain
Class NamedDomainObject

java.lang.Object
  extended by cz.muni.fi.pclis.commons.domain.DomainObject
      extended by cz.muni.fi.pclis.commons.domain.NamedDomainObject
Direct Known Subclasses:
PeerEvaluationAssignment, ProjectPackage, Term, UploadedFile

public abstract class NamedDomainObject
extends DomainObject

Superclass for all entities with name User: Ľuboš Pecho Date: 6.7.2009 Time: 18:12:19


Field Summary
private  String name
          Name of the enity
 
Constructor Summary
protected NamedDomainObject()
           
protected NamedDomainObject(String name)
           
 
Method Summary
 String getName()
           
 void setName(String name)
          Sets the name
 
Methods inherited from class cz.muni.fi.pclis.commons.domain.DomainObject
equals, getId, hashCode, setId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

private String name
Name of the enity

Constructor Detail

NamedDomainObject

protected NamedDomainObject()

NamedDomainObject

protected NamedDomainObject(String name)
Method Detail

getName

public String getName()
Returns:
the name

setName

public void setName(String name)
Sets the name

Parameters:
name -


Copyright © 2009-2010 Faculty of Informatics, Masaryk university, Brno. All Rights Reserved.