BrightSide Workbench Full Report + Source Code
ActivitySector.java
Go to the documentation of this file.
1
package
org.turro.crm.entity;
2
3
import
javax.persistence.*;
4
import
org.turro.string.Strings;
5
10
@Entity
11
public
class
ActivitySector
implements
java.io.Serializable {
12
13
@Id
14
@GeneratedValue(strategy=GenerationType.IDENTITY)
15
@Column(name=
"IDENTIFIER"
)
16
private
long
id;
17
18
private
String name;
19
20
public
long
getId
() {
21
return
id;
22
}
23
24
public
void
setId
(
long
id
) {
25
this.
id
= id;
26
}
27
28
public
String
getName
() {
29
return
name;
30
}
31
32
public
void
setName
(String name) {
33
this.name = name;
34
}
35
36
/* Helpers */
37
38
public
boolean
isValid
() {
39
return
!Strings.isBlank(name);
40
}
41
42
}
org.turro.crm.entity.ActivitySector
Definition:
ActivitySector.java:11
org.turro.crm.entity.ActivitySector.getName
String getName()
Definition:
ActivitySector.java:28
org.turro.crm.entity.ActivitySector.isValid
boolean isValid()
Definition:
ActivitySector.java:38
org.turro.crm.entity.ActivitySector.setName
void setName(String name)
Definition:
ActivitySector.java:32
org.turro.crm.entity.ActivitySector.setId
void setId(long id)
Definition:
ActivitySector.java:24
org.turro.crm.entity.ActivitySector.getId
long getId()
Definition:
ActivitySector.java:20
TurroProjects
Public
BrightSide
elephant-crm
src
main
java
org
turro
crm
entity
ActivitySector.java
Generated on Tue Mar 12 2024 07:01:17 for BrightSide by
1.9.1