public class BeeServiceRef extends DirectoryExtractNode implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAX_CONNECTIONS |
static int |
DEFAULT_POWER |
int |
maxConnections |
int |
power |
name
Constructor and Description |
---|
BeeServiceRef() |
BeeServiceRef(BeeServiceRef o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this BeeServiceRef.
|
static BeeServiceRef |
fromString(java.lang.String s)
String representation of this BeeServiceRef.
|
int |
getMaxConnections()
-
|
int |
getPower()
-
|
BeeServiceRef |
makeCopy()
Creates and returns a deep copy of this BeeServiceRef.
|
static BeeServiceRef |
readFrom(java.io.InputStream is)
Read this BeeServiceRef from an XML fragment.
|
void |
setMaxConnections(int maxConnections)
-
|
void |
setPower(int power)
-
|
java.lang.String |
toString()
String representation of this BeeServiceRef.
|
BeeServiceRef |
withMaxConnections(int maxConnections) |
BeeServiceRef |
withMaxConnections(java.lang.Integer maxConnections) |
BeeServiceRef |
withName(java.lang.String name) |
BeeServiceRef |
withPower(int power) |
BeeServiceRef |
withPower(java.lang.Integer power) |
void |
writeTo(java.io.OutputStream os)
Write this BeeServiceRef as an XML fragment
|
getName, setName
public int maxConnections
public static final int DEFAULT_MAX_CONNECTIONS
public int power
public static final int DEFAULT_POWER
public BeeServiceRef()
public BeeServiceRef(BeeServiceRef o)
public BeeServiceRef withName(java.lang.String name)
withName
in class DirectoryExtractNode
public void setMaxConnections(int maxConnections)
public int getMaxConnections()
public BeeServiceRef withMaxConnections(int maxConnections)
public BeeServiceRef withMaxConnections(java.lang.Integer maxConnections)
public void setPower(int power)
public int getPower()
public BeeServiceRef withPower(int power)
public BeeServiceRef withPower(java.lang.Integer power)
public BeeServiceRef makeCopy()
makeCopy
in class DirectoryExtractNode
public static BeeServiceRef 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 DirectoryExtractNode
javax.xml.bind.JAXBException
java.io.IOException
public static BeeServiceRef 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 DirectoryExtractNode
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class DirectoryExtractNode
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.