public class CommentVersion
extends exa.bee.config.ConfigurationVersionSpecific
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
author |
java.lang.String |
comment |
Constructor and Description |
---|
CommentVersion() |
CommentVersion(CommentVersion o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this CommentVersion.
|
static CommentVersion |
fromString(java.lang.String s)
String representation of this CommentVersion.
|
java.lang.String |
getAuthor()
You can use this field to change the name of the user who applied this version.
|
java.lang.String |
getComment()
The new description of the content of this version
|
CommentVersion |
makeCopy()
Creates and returns a deep copy of this CommentVersion.
|
static CommentVersion |
readFrom(java.io.InputStream is)
Read this CommentVersion from an XML fragment.
|
void |
setAuthor(java.lang.String author)
You can use this field to change the name of the user who applied this version.
|
void |
setComment(java.lang.String comment)
The new description of the content of this version
|
java.lang.String |
toString()
String representation of this CommentVersion.
|
CommentVersion |
withAuthor(java.lang.String author) |
CommentVersion |
withComment(java.lang.String comment) |
CommentVersion |
withVersion(int version) |
CommentVersion |
withVersion(java.lang.Integer version) |
void |
writeTo(java.io.OutputStream os)
Write this CommentVersion as an XML fragment
|
public CommentVersion()
public CommentVersion(CommentVersion o)
public CommentVersion withVersion(int version)
withVersion
in class exa.bee.config.ConfigurationVersionSpecific
public CommentVersion withVersion(java.lang.Integer version)
withVersion
in class exa.bee.config.ConfigurationVersionSpecific
public void setComment(java.lang.String comment)
public java.lang.String getComment()
public CommentVersion withComment(java.lang.String comment)
public void setAuthor(java.lang.String author)
public java.lang.String getAuthor()
public CommentVersion withAuthor(java.lang.String author)
public CommentVersion makeCopy()
makeCopy
in class exa.bee.config.ConfigurationVersionSpecific
public static CommentVersion readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
writeTo
in class exa.bee.config.ConfigurationVersionSpecific
javax.xml.bind.JAXBException
java.io.IOException
public static CommentVersion fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class exa.bee.config.ConfigurationVersionSpecific
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class exa.bee.config.ConfigurationVersionSpecific
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.