BrightSide Workbench Full Report + Source Code
org.turro.alliance.db.entities.AxTalentCategory Class Reference
Inheritance diagram for org.turro.alliance.db.entities.AxTalentCategory:
Collaboration diagram for org.turro.alliance.db.entities.AxTalentCategory:

Public Member Functions

Long getCategoryId ()
 
void setCategoryId (Long categoryId)
 
String getName ()
 
void setName (String name)
 
Object entityId ()
 
boolean isEmpty ()
 
void prepareSave ()
 
String toJson ()
 
String toJson (Map< String, Object > properties)
 
- Public Member Functions inherited from org.turro.jpa.entity.IDaoEntity
default boolean isNew ()
 
default void prepareDelete ()
 
default void removeEmpties ()
 
default Collection< Collection > collections ()
 

Static Public Member Functions

static AxTalentCategory fromJson (JsonValue value)
 

Detailed Description

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

Definition at line 38 of file AxTalentCategory.java.

Member Function Documentation

◆ entityId()

Object org.turro.alliance.db.entities.AxTalentCategory.entityId ( )

Implements org.turro.jpa.entity.IDaoEntity.

Definition at line 63 of file AxTalentCategory.java.

63  {
64  return categoryId;
65  }

◆ fromJson()

static AxTalentCategory org.turro.alliance.db.entities.AxTalentCategory.fromJson ( JsonValue  value)
static

Definition at line 92 of file AxTalentCategory.java.

92  {
93  return IJSONizable.fromJson(value.toString(), AxTalentCategory.class);
94  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getCategoryId()

Long org.turro.alliance.db.entities.AxTalentCategory.getCategoryId ( )

Definition at line 44 of file AxTalentCategory.java.

44  {
45  return categoryId;
46  }
Here is the caller graph for this function:

◆ getName()

String org.turro.alliance.db.entities.AxTalentCategory.getName ( )

Definition at line 52 of file AxTalentCategory.java.

52  {
53  return name;
54  }

◆ isEmpty()

boolean org.turro.alliance.db.entities.AxTalentCategory.isEmpty ( )

Implements org.turro.jpa.entity.IDaoEntity.

Definition at line 68 of file AxTalentCategory.java.

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

◆ prepareSave()

void org.turro.alliance.db.entities.AxTalentCategory.prepareSave ( )

Implements org.turro.jpa.entity.IDaoEntity.

Definition at line 73 of file AxTalentCategory.java.

73  {
74  IDaoEntity.super.prepareSave();
75  if(Zero.orNull(categoryId)) {
76  categoryId = IdUtils.getNewLongIdFromLong(new AlliancePU(), "AxTalentCategory", "categoryId");
77  }
78  }
Here is the call graph for this function:

◆ setCategoryId()

void org.turro.alliance.db.entities.AxTalentCategory.setCategoryId ( Long  categoryId)

Definition at line 48 of file AxTalentCategory.java.

48  {
49  this.categoryId = categoryId;
50  }

◆ setName()

void org.turro.alliance.db.entities.AxTalentCategory.setName ( String  name)

Definition at line 56 of file AxTalentCategory.java.

56  {
57  this.name = name;
58  }
Here is the caller graph for this function:

◆ toJson() [1/2]

String org.turro.alliance.db.entities.AxTalentCategory.toJson ( )

Definition at line 83 of file AxTalentCategory.java.

83  {
84  return toJson(this);
85  }
Here is the caller graph for this function:

◆ toJson() [2/2]

String org.turro.alliance.db.entities.AxTalentCategory.toJson ( Map< String, Object >  properties)

Definition at line 88 of file AxTalentCategory.java.

88  {
89  return toJson(this, properties);
90  }
Here is the call graph for this function:

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