public class KeyEntry
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_REMOVE |
java.lang.String |
name |
boolean |
remove |
java.lang.String |
type |
Constructor and Description |
---|
KeyEntry() |
KeyEntry(KeyEntry o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this KeyEntry.
|
static KeyEntry |
fromString(java.lang.String s)
String representation of this KeyEntry.
|
java.lang.String |
getName()
-
|
java.lang.String |
getType()
-
|
boolean |
isRemove()
-
|
KeyEntry |
makeCopy()
Creates and returns a deep copy of this KeyEntry.
|
static KeyEntry |
readFrom(java.io.InputStream is)
Read this KeyEntry from an XML fragment.
|
void |
setName(java.lang.String name)
-
|
void |
setRemove(boolean remove)
-
|
void |
setType(java.lang.String type)
-
|
java.lang.String |
toString()
String representation of this KeyEntry.
|
KeyEntry |
withName(java.lang.String name) |
KeyEntry |
withRemove(boolean remove) |
KeyEntry |
withRemove(java.lang.Boolean remove) |
KeyEntry |
withType(java.lang.String type) |
void |
writeTo(java.io.OutputStream os)
Write this KeyEntry as an XML fragment
|
public java.lang.String name
public java.lang.String type
public boolean remove
public static final boolean DEFAULT_REMOVE
public KeyEntry()
public KeyEntry(KeyEntry o)
public void setName(java.lang.String name)
public java.lang.String getName()
public KeyEntry withName(java.lang.String name)
public void setType(java.lang.String type)
public java.lang.String getType()
public KeyEntry withType(java.lang.String type)
public void setRemove(boolean remove)
public boolean isRemove()
public KeyEntry withRemove(boolean remove)
public KeyEntry withRemove(java.lang.Boolean remove)
public KeyEntry makeCopy()
public static KeyEntry 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 KeyEntry 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.