public class VersionList
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
int |
currentVersion |
java.util.List<Version> |
version |
Constructor and Description |
---|
VersionList() |
VersionList(VersionList o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this VersionList.
|
static VersionList |
fromString(java.lang.String s)
String representation of this VersionList.
|
int |
getCurrentVersion() |
java.util.List<Version> |
getVersion() |
VersionList |
makeCopy()
Creates and returns a deep copy of this VersionList.
|
static VersionList |
readFrom(java.io.InputStream is)
Read this VersionList from an XML fragment.
|
void |
setCurrentVersion(int currentVersion) |
java.lang.String |
toString()
String representation of this VersionList.
|
VersionList |
withCurrentVersion(int currentVersion) |
VersionList |
withCurrentVersion(java.lang.Integer currentVersion) |
VersionList |
withVersion(java.util.Collection<Version> __values) |
VersionList |
withVersion(Version... __values) |
void |
writeTo(java.io.OutputStream os)
Write this VersionList as an XML fragment
|
public java.util.List<Version> version
public int currentVersion
public VersionList()
public VersionList(VersionList o)
public java.util.List<Version> getVersion()
public VersionList withVersion(Version... __values)
public VersionList withVersion(java.util.Collection<Version> __values)
public void setCurrentVersion(int currentVersion)
public int getCurrentVersion()
public VersionList withCurrentVersion(int currentVersion)
public VersionList withCurrentVersion(java.lang.Integer currentVersion)
public VersionList makeCopy()
public static VersionList 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 VersionList 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.