Package tech.kronicle.sdk.models
Class ComponentType
- java.lang.Object
-
- tech.kronicle.sdk.models.ComponentType
-
- All Implemented Interfaces:
ObjectWithId,ObjectWithReference
public final class ComponentType extends java.lang.Object implements ObjectWithId, ObjectWithReference
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classComponentType.ComponentTypeBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComponentType.ComponentTypeBuilderbuilder()booleanequals(java.lang.Object o)java.lang.StringgetDescription()java.lang.StringgetId()java.lang.StringgetNotes()inthashCode()java.lang.Stringreference()ComponentType.ComponentTypeBuildertoBuilder()java.lang.StringtoString()ComponentTypewithDescription(java.lang.String description)ComponentTypewithId(java.lang.String id)ComponentTypewithNotes(java.lang.String notes)
-
-
-
Method Detail
-
reference
public java.lang.String reference()
- Specified by:
referencein interfaceObjectWithReference
-
builder
public static ComponentType.ComponentTypeBuilder builder()
-
toBuilder
public ComponentType.ComponentTypeBuilder toBuilder()
-
getId
public java.lang.String getId()
- Specified by:
getIdin interfaceObjectWithId
-
getDescription
public java.lang.String getDescription()
-
getNotes
public java.lang.String getNotes()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
withId
public ComponentType withId(java.lang.String id)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withDescription
public ComponentType withDescription(java.lang.String description)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withNotes
public ComponentType withNotes(java.lang.String notes)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
-