Package de.xima.fc.dto
Class BasicProjectDto
- java.lang.Object
-
- de.xima.fc.dto.NamedEntityDto
-
- de.xima.fc.dto.BasicProjectDto
-
- All Implemented Interfaces:
Serializable
public class BasicProjectDto extends NamedEntityDto
Simple DTO wrapping a project's 'id', 'name', 'titel' and 'aktiv' attributes.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BasicProjectDto(Long id, String name, String title, boolean active)Creates a new instance based on the provided attributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetTitle()booleanisActive()StringtoString()-
Methods inherited from class de.xima.fc.dto.NamedEntityDto
getId, getName
-
-
-
-
Field Detail
-
title
public final String title
-
active
public final boolean active
-
-
Constructor Detail
-
BasicProjectDto
public BasicProjectDto(Long id, String name, String title, boolean active)
Creates a new instance based on the provided attributes.- Parameters:
id- the project's idname- the project's nametitle- the value of the project's 'titel' attributeactive- false if this project is deactivated ('offline'), true otherwise
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toStringin classNamedEntityDto
-
getTitle
public String getTitle()
-
isActive
public boolean isActive()
-
-