public class ModelId extends Object implements PropertyType
Modifier and Type | Class and Description |
---|---|
static class |
ModelId.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getPrettyFormat()
Returns the model pretty format in the form of
<namespace>:<name>:<:version> |
int |
hashCode() |
String |
name()
Returns the model name
|
String |
namespace()
Returns the model namespace
|
static ModelId.Builder |
newBuilder() |
static ModelId |
of(String prettyFormat)
Construct ModelId from string in format
<namespace>:<name>:<:version> |
String |
toString() |
String |
version()
Returns the model version
|
public String name()
public String namespace()
public String version()
public String getPrettyFormat()
<namespace>:<name>:<:version>
public static ModelId of(String prettyFormat)
<namespace>:<name>:<:version>
prettyFormat
- string representation of the identifier in format <namespace>:<name>:version>
public static ModelId.Builder newBuilder()
Copyright © 2022 Bosch.IO GmbH. All rights reserved.