|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbr.com.arsmachina.example.entity.Project
public class Project
Class that represents a project.
| Field Summary | |
|---|---|
static int |
MAXIMUM_DESCRIPTION_LENGTH
Maximum description length. |
static int |
MAXIMUM_NAME_LENGTH
Maximum name length. |
static int |
MINIMUM_DESCRIPTION_LENGTH
Minimum description length. |
static int |
MINIMUM_NAME_LENGTH
Minimum name length. |
| Constructor Summary | |
|---|---|
Project()
|
|
| Method Summary | |
|---|---|
String |
getDescription()
Returns the value of the description property. |
Integer |
getId()
Returns the value of the id property. |
br.com.arsmachina.authentication.entity.User |
getManager()
Returns the value of the manager property. |
String |
getName()
Returns the value of the name property. |
void |
setDescription(String description)
Changes the value of the description property. |
void |
setId(Integer id)
Changes the value of the id property. |
void |
setManager(br.com.arsmachina.authentication.entity.User manager)
Changes the value of the manager property. |
void |
setName(String name)
Changes the value of the name property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int MINIMUM_NAME_LENGTH
public static final int MAXIMUM_NAME_LENGTH
public static final int MINIMUM_DESCRIPTION_LENGTH
public static final int MAXIMUM_DESCRIPTION_LENGTH
| Constructor Detail |
|---|
public Project()
| Method Detail |
|---|
public Integer getId()
id property.
Integer.public void setId(Integer id)
id property.
id - a Integer.
@Length(min=2,
max=30)
@NotNull
public String getName()
name property.
String.public void setName(String name)
name property.
name - a String.
@Length(min=0,
max=100)
@NotNull
public String getDescription()
description property.
String.public void setDescription(String description)
description property.
description - a String.@NotNull public br.com.arsmachina.authentication.entity.User getManager()
manager property.
User.public void setManager(br.com.arsmachina.authentication.entity.User manager)
manager property.
manager - a User.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||