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

Public Member Functions

 ServiceNamePair (String service, String name)
 
String getService ()
 
String getName ()
 
String toJson ()
 
String toJson (Map< String, Object > properties)
 
int hashCode ()
 
boolean equals (Object obj)
 

Static Public Member Functions

static ServiceNamePair fromJson (JsonValue value)
 

Detailed Description

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

Definition at line 30 of file ServiceNamePair.java.

Constructor & Destructor Documentation

◆ ServiceNamePair()

org.turro.ws.ServiceNamePair.ServiceNamePair ( String  service,
String  name 
)

Definition at line 34 of file ServiceNamePair.java.

34  {
35  this.service = service;
36  this.name = name;
37  }
Here is the caller graph for this function:

Member Function Documentation

◆ equals()

boolean org.turro.ws.ServiceNamePair.equals ( Object  obj)

Definition at line 73 of file ServiceNamePair.java.

73  {
74  if (this == obj) {
75  return true;
76  }
77  if (obj == null) {
78  return false;
79  }
80  if (getClass() != obj.getClass()) {
81  return false;
82  }
83  final ServiceNamePair other = (ServiceNamePair) obj;
84  return Objects.equals(this.service, other.service);
85  }
ServiceNamePair(String service, String name)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ fromJson()

static ServiceNamePair org.turro.ws.ServiceNamePair.fromJson ( JsonValue  value)
static

Definition at line 59 of file ServiceNamePair.java.

59  {
60  return IJSONizable.fromJson(value.toString(), ServiceNamePair.class);
61  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getName()

String org.turro.ws.ServiceNamePair.getName ( )

Definition at line 43 of file ServiceNamePair.java.

43  {
44  return name;
45  }

◆ getService()

String org.turro.ws.ServiceNamePair.getService ( )

Definition at line 39 of file ServiceNamePair.java.

39  {
40  return service;
41  }
Here is the caller graph for this function:

◆ hashCode()

int org.turro.ws.ServiceNamePair.hashCode ( )

Definition at line 66 of file ServiceNamePair.java.

66  {
67  int hash = 3;
68  hash = 37 * hash + Objects.hashCode(this.service);
69  return hash;
70  }

◆ toJson() [1/2]

String org.turro.ws.ServiceNamePair.toJson ( )

Definition at line 50 of file ServiceNamePair.java.

50  {
51  return toJson(this);
52  }
Here is the caller graph for this function:

◆ toJson() [2/2]

String org.turro.ws.ServiceNamePair.toJson ( Map< String, Object >  properties)

Definition at line 55 of file ServiceNamePair.java.

55  {
56  return toJson(this, properties);
57  }
Here is the call graph for this function:

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