public class EnumLiteral extends Object
Modifier and Type | Class and Description |
---|---|
static class |
EnumLiteral.Builder |
Constructor and Description |
---|
EnumLiteral(String name,
String description,
ModelId parent) |
Modifier and Type | Method and Description |
---|---|
Optional<String> |
description()
Returns the description of the enum literal
|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
name()
Returns the name of the enum literal
|
static EnumLiteral.Builder |
newBuilder() |
ModelId |
parent()
Returns the parent of the enum literal
|
String |
toString() |
public String name()
public Optional<String> description()
public ModelId parent()
public static EnumLiteral.Builder newBuilder()
Copyright © 2022 Bosch.IO GmbH. All rights reserved.