BrightSide Workbench Full Report + Source Code
org.turro.action.queue.NotificationConstraint Class Reference

Public Member Functions

 NotificationConstraint (String keyId, boolean optional)
 
String getKeyId ()
 
boolean isOptional ()
 
boolean isEntity ()
 
int hashCode ()
 
boolean equals (Object obj)
 

Detailed Description

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

Definition at line 27 of file NotificationConstraint.java.

Constructor & Destructor Documentation

◆ NotificationConstraint()

org.turro.action.queue.NotificationConstraint.NotificationConstraint ( String  keyId,
boolean  optional 
)

Definition at line 32 of file NotificationConstraint.java.

32  {
33  this.keyId = keyId;
34  this.optional = optional;
35  }
Here is the caller graph for this function:

Member Function Documentation

◆ equals()

boolean org.turro.action.queue.NotificationConstraint.equals ( Object  obj)

Definition at line 59 of file NotificationConstraint.java.

59  {
60  if (this == obj) {
61  return true;
62  }
63  if (obj == null) {
64  return false;
65  }
66  if (getClass() != obj.getClass()) {
67  return false;
68  }
70  return Objects.equals(this.keyId, other.keyId);
71  }
NotificationConstraint(String keyId, boolean optional)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getKeyId()

String org.turro.action.queue.NotificationConstraint.getKeyId ( )

Definition at line 37 of file NotificationConstraint.java.

37  {
38  return keyId;
39  }

◆ hashCode()

int org.turro.action.queue.NotificationConstraint.hashCode ( )

Definition at line 52 of file NotificationConstraint.java.

52  {
53  int hash = 5;
54  hash = 17 * hash + Objects.hashCode(this.keyId);
55  return hash;
56  }

◆ isEntity()

boolean org.turro.action.queue.NotificationConstraint.isEntity ( )

Definition at line 45 of file NotificationConstraint.java.

45  {
46  return keyId.startsWith("/");
47  }

◆ isOptional()

boolean org.turro.action.queue.NotificationConstraint.isOptional ( )

Definition at line 41 of file NotificationConstraint.java.

41  {
42  return optional;
43  }

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