BrightSide Workbench Full Report + Source Code
org.turro.students.entities.TalentCategory Class Reference
Inheritance diagram for org.turro.students.entities.TalentCategory:
Collaboration diagram for org.turro.students.entities.TalentCategory:

Public Member Functions

Long getId ()
 
void setId (Long id)
 
String getName ()
 
void setName (String name)
 
Object entityId ()
 
boolean isEmpty ()
 
void prepareSave ()
 
- Public Member Functions inherited from org.turro.jpa.entity.IDaoEntity
default boolean isNew ()
 
default void prepareDelete ()
 
default void removeEmpties ()
 
default Collection< Collection > collections ()
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 36 of file TalentCategory.java.

Member Function Documentation

◆ entityId()

Object org.turro.students.entities.TalentCategory.entityId ( )

Implements org.turro.jpa.entity.IDaoEntity.

Definition at line 64 of file TalentCategory.java.

64  {
65  return id;
66  }

◆ getId()

Long org.turro.students.entities.TalentCategory.getId ( )

Definition at line 45 of file TalentCategory.java.

45  {
46  return id;
47  }

◆ getName()

String org.turro.students.entities.TalentCategory.getName ( )

Definition at line 53 of file TalentCategory.java.

53  {
54  return name;
55  }
Here is the caller graph for this function:

◆ isEmpty()

boolean org.turro.students.entities.TalentCategory.isEmpty ( )

Implements org.turro.jpa.entity.IDaoEntity.

Definition at line 69 of file TalentCategory.java.

69  {
70  return Strings.isBlank(name);
71  }

◆ prepareSave()

void org.turro.students.entities.TalentCategory.prepareSave ( )

Implements org.turro.jpa.entity.IDaoEntity.

Definition at line 74 of file TalentCategory.java.

74  {
75  IDaoEntity.super.prepareSave();
76  if(id == null || id == 0) {
77  id = IdUtils.getNewLongIdFromLong(new StudentsPU(), "TalentCategory", "id");
78  }
79  }
Here is the call graph for this function:

◆ setId()

void org.turro.students.entities.TalentCategory.setId ( Long  id)

Definition at line 49 of file TalentCategory.java.

49  {
50  this.id = id;
51  }

◆ setName()

void org.turro.students.entities.TalentCategory.setName ( String  name)

Definition at line 57 of file TalentCategory.java.

57  {
58  this.name = name;
59  }

The documentation for this class was generated from the following file: