public class DeleteVersion
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Constructor and Description |
---|
DeleteVersion() |
DeleteVersion(DeleteVersion o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this DeleteVersion.
|
static DeleteVersion |
fromString(java.lang.String s)
String representation of this DeleteVersion.
|
java.lang.String |
getResource()
Name of the resource to delete
|
int |
getVersion()
Version of the resource to delete
|
DeleteVersion |
makeCopy()
Creates and returns a deep copy of this DeleteVersion.
|
static DeleteVersion |
readFrom(java.io.InputStream is)
Read this DeleteVersion from an XML fragment.
|
void |
setResource(java.lang.String resource)
Name of the resource to delete
|
void |
setVersion(int version)
Version of the resource to delete
|
java.lang.String |
toString()
String representation of this DeleteVersion.
|
DeleteVersion |
withResource(java.lang.String resource) |
DeleteVersion |
withVersion(int version) |
DeleteVersion |
withVersion(java.lang.Integer version) |
void |
writeTo(java.io.OutputStream os)
Write this DeleteVersion as an XML fragment
|
public DeleteVersion()
public DeleteVersion(DeleteVersion o)
public void setResource(java.lang.String resource)
public java.lang.String getResource()
public DeleteVersion withResource(java.lang.String resource)
public void setVersion(int version)
public int getVersion()
public DeleteVersion withVersion(int version)
public DeleteVersion withVersion(java.lang.Integer version)
public DeleteVersion makeCopy()
public static DeleteVersion 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 DeleteVersion 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.