public class HotfixVersion
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
name |
java.lang.String |
version |
Constructor and Description |
---|
HotfixVersion() |
HotfixVersion(HotfixVersion o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this HotfixVersion.
|
static HotfixVersion |
fromString(java.lang.String s)
String representation of this HotfixVersion.
|
java.lang.String |
getName()
Hotfix name.
|
java.lang.String |
getVersion()
Hotfix version.
|
HotfixVersion |
makeCopy()
Creates and returns a deep copy of this HotfixVersion.
|
static HotfixVersion |
readFrom(java.io.InputStream is)
Read this HotfixVersion from an XML fragment.
|
void |
setName(java.lang.String name)
Hotfix name.
|
void |
setVersion(java.lang.String version)
Hotfix version.
|
java.lang.String |
toString()
String representation of this HotfixVersion.
|
HotfixVersion |
withName(java.lang.String name) |
HotfixVersion |
withVersion(java.lang.String version) |
void |
writeTo(java.io.OutputStream os)
Write this HotfixVersion as an XML fragment
|
public HotfixVersion()
public HotfixVersion(HotfixVersion o)
public void setName(java.lang.String name)
public java.lang.String getName()
public HotfixVersion withName(java.lang.String name)
public void setVersion(java.lang.String version)
public java.lang.String getVersion()
public HotfixVersion withVersion(java.lang.String version)
public HotfixVersion makeCopy()
public static HotfixVersion 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
javax.xml.bind.JAXBException
java.io.IOException
public static HotfixVersion 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 java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.