public class Status extends Cond implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
protected java.lang.Integer |
code |
Constructor and Description |
---|
Status()
Creates a new
Status instance. |
Status(Status o)
Creates a new
Status instance by deeply copying a given Status instance. |
Modifier and Type | Method and Description |
---|---|
Status |
clone()
Creates and returns a deep copy of this object.
|
int |
getCode()
(default: 0)
|
void |
setCode(java.lang.Integer value)
Sets the value of the code property.
|
Status |
withCode(java.lang.Integer value) |
Status |
withSuccess(java.lang.Boolean value) |
isSuccess, setSuccess
public Status()
Status
instance.public Status(Status o)
Status
instance by deeply copying a given Status
instance.o
- The instance to copy.java.lang.NullPointerException
- if o
is null
.public int getCode()
Integer
public void setCode(java.lang.Integer value)
value
- allowed object is
Integer
public Status withCode(java.lang.Integer value)
public Status withSuccess(java.lang.Boolean value)
withSuccess
in class Cond
Copyright © 2021 Dassault Systèmes, All Rights Reserved.