public abstract class Cond
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_SUCCESS |
boolean |
success |
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this Cond.
|
static Cond |
fromString(java.lang.String s)
String representation of this Cond.
|
boolean |
isSuccess() |
Cond |
makeCopy() |
static Cond |
readFrom(java.io.InputStream is)
Read this Cond from an XML fragment.
|
void |
setSuccess(boolean success) |
java.lang.String |
toString()
String representation of this Cond.
|
Cond |
withSuccess(boolean success) |
Cond |
withSuccess(java.lang.Boolean success) |
void |
writeTo(java.io.OutputStream os) |
public boolean success
public static final boolean DEFAULT_SUCCESS
public Cond()
public Cond(Cond o)
public void setSuccess(boolean success)
public boolean isSuccess()
public Cond withSuccess(boolean success)
public Cond withSuccess(java.lang.Boolean success)
public Cond makeCopy()
public static Cond 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 Cond 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.