BrightSide Workbench Full Report + Source Code
org.turro.contacts.ProfilePolicy Class Reference
Inheritance diagram for org.turro.contacts.ProfilePolicy:
Collaboration diagram for org.turro.contacts.ProfilePolicy:

Public Member Functions

String getProfilePath ()
 
void setProfilePath (String profilePath)
 
PublishPolicy getPublish ()
 
void setPublish (PublishPolicy publish)
 
Object entityId ()
 
boolean isEmpty ()
 
int hashCode ()
 
boolean equals (Object obj)
 
- Public Member Functions inherited from org.turro.jpa.entity.IDaoEntity
default boolean isNew ()
 
default void prepareSave ()
 
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 34 of file ProfilePolicy.java.

Member Function Documentation

◆ entityId()

Object org.turro.contacts.ProfilePolicy.entityId ( )

Implements org.turro.jpa.entity.IDaoEntity.

Definition at line 59 of file ProfilePolicy.java.

59  {
60  return profilePath;
61  }

◆ equals()

boolean org.turro.contacts.ProfilePolicy.equals ( Object  obj)

Definition at line 78 of file ProfilePolicy.java.

78  {
79  if (this == obj) {
80  return true;
81  }
82  if (obj == null) {
83  return false;
84  }
85  if (getClass() != obj.getClass()) {
86  return false;
87  }
88  final ProfilePolicy other = (ProfilePolicy) obj;
89  if (!Objects.equals(this.profilePath, other.profilePath)) {
90  return false;
91  }
92  return true;
93  }

◆ getProfilePath()

String org.turro.contacts.ProfilePolicy.getProfilePath ( )

Definition at line 40 of file ProfilePolicy.java.

40  {
41  return profilePath;
42  }

◆ getPublish()

PublishPolicy org.turro.contacts.ProfilePolicy.getPublish ( )

Definition at line 48 of file ProfilePolicy.java.

48  {
49  return publish;
50  }

◆ hashCode()

int org.turro.contacts.ProfilePolicy.hashCode ( )

Definition at line 71 of file ProfilePolicy.java.

71  {
72  int hash = 3;
73  hash = 17 * hash + Objects.hashCode(this.profilePath);
74  return hash;
75  }

◆ isEmpty()

boolean org.turro.contacts.ProfilePolicy.isEmpty ( )

Implements org.turro.jpa.entity.IDaoEntity.

Definition at line 64 of file ProfilePolicy.java.

64  {
65  return Strings.isBlank(profilePath) || publish == null;
66  }

◆ setProfilePath()

void org.turro.contacts.ProfilePolicy.setProfilePath ( String  profilePath)

Definition at line 44 of file ProfilePolicy.java.

44  {
45  this.profilePath = profilePath;
46  }
Here is the caller graph for this function:

◆ setPublish()

void org.turro.contacts.ProfilePolicy.setPublish ( PublishPolicy  publish)

Definition at line 52 of file ProfilePolicy.java.

52  {
53  this.publish = publish;
54  }
Here is the caller graph for this function:

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