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