public class LocalIdentification extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
assignedBy |
protected ServiceCategory |
category |
protected Map<String,String> |
idItems |
Constructor and Description |
---|
LocalIdentification() |
LocalIdentification(ServiceCategory category,
String assignedBy) |
Modifier and Type | Method and Description |
---|---|
LocalIdentification |
assignedBy(String assignedBy) |
boolean |
equals(Object obj) |
static LocalIdentification |
fromJson(String json) |
String |
getAssignedBy() |
ServiceCategory |
getCategory() |
Map<String,String> |
getIdItems() |
int |
hashCode()
This equal function compare 2 identification of 2 information pieces of 2 services If they are equals, that mean 2 pieces of information belong to the
same service
|
LocalIdentification |
hasIdentification(String key,
String value) |
String |
toJson() |
protected String assignedBy
protected ServiceCategory category
public LocalIdentification(ServiceCategory category, String assignedBy)
public LocalIdentification()
public LocalIdentification hasIdentification(String key, String value)
public LocalIdentification assignedBy(String assignedBy)
public ServiceCategory getCategory()
public String getAssignedBy()
public int hashCode()
public static LocalIdentification fromJson(String json)
public String toJson()
Copyright © 2016. All Rights Reserved.