Package tech.kronicle.sdk.models.doc
Class DocState
- java.lang.Object
-
- tech.kronicle.sdk.models.doc.DocState
-
- All Implemented Interfaces:
ComponentState,ObjectWithId,State
public final class DocState extends java.lang.Object implements ComponentState
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocState.DocStateBuilder
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTYPE
-
Constructor Summary
Constructors Constructor Description DocState(java.lang.String pluginId, java.lang.String id, java.lang.String dir, java.lang.String file, java.lang.String name, java.lang.String description, java.lang.String notes, java.util.List<@Valid Tag> tags, java.util.List<@Valid DocFile> files)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DocState.DocStateBuilderbuilder()booleanequals(java.lang.Object o)java.lang.StringgetDescription()java.lang.StringgetDir()java.lang.StringgetFile()java.util.List<DocFile>getFiles()java.lang.StringgetId()java.lang.StringgetName()java.lang.StringgetNotes()java.lang.StringgetPluginId()java.util.List<Tag>getTags()java.lang.StringgetType()inthashCode()DocState.DocStateBuildertoBuilder()java.lang.StringtoString()DocStatewithDescription(java.lang.String description)DocStatewithDir(java.lang.String dir)DocStatewithFile(java.lang.String file)DocStatewithFiles(java.util.List<DocFile> files)DocStatewithId(java.lang.String id)DocStatewithName(java.lang.String name)DocStatewithNotes(java.lang.String notes)DocStatewithPluginId(java.lang.String pluginId)DocStatewithTags(java.util.List<Tag> tags)
-
-
-
Field Detail
-
TYPE
public static final java.lang.String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
builder
public static DocState.DocStateBuilder builder()
-
toBuilder
public DocState.DocStateBuilder toBuilder()
-
getType
public java.lang.String getType()
- Specified by:
getTypein interfaceComponentState- Specified by:
getTypein interfaceState
-
getPluginId
public java.lang.String getPluginId()
- Specified by:
getPluginIdin interfaceComponentState- Specified by:
getPluginIdin interfaceState
-
getId
public java.lang.String getId()
- Specified by:
getIdin interfaceComponentState- Specified by:
getIdin interfaceObjectWithId- Specified by:
getIdin interfaceState
-
getDir
public java.lang.String getDir()
-
getFile
public java.lang.String getFile()
-
getName
public java.lang.String getName()
-
getDescription
public java.lang.String getDescription()
-
getNotes
public java.lang.String getNotes()
-
getTags
public java.util.List<Tag> getTags()
-
getFiles
public java.util.List<DocFile> getFiles()
-
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
-
withPluginId
public DocState withPluginId(java.lang.String pluginId)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withId
public DocState withId(java.lang.String id)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withDir
public DocState withDir(java.lang.String dir)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withFile
public DocState withFile(java.lang.String file)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withName
public DocState withName(java.lang.String name)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withDescription
public DocState 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 DocState withNotes(java.lang.String notes)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withTags
public DocState withTags(java.util.List<Tag> tags)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
-