public class Identifier extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Identifier.Builder |
Modifier | Constructor and Description |
---|---|
protected |
Identifier(Identifier.Builder builder) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
id()
Returns the id of the entity.
|
String |
namespace()
Returns the unique namespace of the entity.
|
static Identifier.Builder |
newBuilder() |
static Identifier |
of(String id)
Construct Identifier from string in format
<namespace>:<name> |
String |
toString() |
protected Identifier(Identifier.Builder builder)
public static Identifier.Builder newBuilder()
public static Identifier of(String id)
<namespace>:<name>
id
- string representation of the identifier in format <namespace>:<name>
public String id()
public String namespace()
Copyright © 2022 Bosch.IO GmbH. All rights reserved.