public class WriteSlotConfig
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
WriteSlotConfig.Type |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_TYPE |
java.lang.String |
type |
Constructor and Description |
---|
WriteSlotConfig() |
WriteSlotConfig(WriteSlotConfig o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this WriteSlotConfig.
|
static WriteSlotConfig |
fromString(java.lang.String s)
String representation of this WriteSlotConfig.
|
java.lang.String |
getType()
Access type for writing the new slots.
|
WriteSlotConfig.Type |
getTypeAsEnum()
Access type for writing the new slots.
|
static boolean |
isA(java.lang.String str,
WriteSlotConfig.Type item) |
static boolean |
isOneOf(java.lang.String str,
WriteSlotConfig.Type... items) |
WriteSlotConfig |
makeCopy()
Creates and returns a deep copy of this WriteSlotConfig.
|
static WriteSlotConfig |
readFrom(java.io.InputStream is)
Read this WriteSlotConfig from an XML fragment.
|
void |
setType(java.lang.String type)
Access type for writing the new slots.
|
void |
setType(WriteSlotConfig.Type item)
Access type for writing the new slots.
|
java.lang.String |
toString()
String representation of this WriteSlotConfig.
|
WriteSlotConfig |
withType(java.lang.String type) |
void |
writeTo(java.io.OutputStream os)
Write this WriteSlotConfig as an XML fragment
|
public java.lang.String type
public static final java.lang.String DEFAULT_TYPE
public WriteSlotConfig()
public WriteSlotConfig(WriteSlotConfig o)
public static boolean isA(java.lang.String str, WriteSlotConfig.Type item)
public static boolean isOneOf(java.lang.String str, WriteSlotConfig.Type... items)
public void setType(WriteSlotConfig.Type item)
public WriteSlotConfig.Type getTypeAsEnum()
public void setType(java.lang.String type)
public java.lang.String getType()
public WriteSlotConfig withType(java.lang.String type)
public WriteSlotConfig makeCopy()
public static WriteSlotConfig 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 WriteSlotConfig 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.