public class Serial extends Object
Java class for serial complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="serial"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="enabled" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="portname" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="baud" type="{http://www.w3.org/2001/XMLSchema}integer"/> <element name="databits" type="{http://www.w3.org/2001/XMLSchema}integer"/> <element name="stopbits" type="{http://www.w3.org/2001/XMLSchema}integer"/> <element name="parity" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="handshake" type="{http://www.w3.org/2001/XMLSchema}boolean"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected BigInteger |
baud |
protected BigInteger |
databits |
protected boolean |
enabled |
protected boolean |
handshake |
protected boolean |
parity |
protected String |
portname |
protected BigInteger |
stopbits |
Constructor and Description |
---|
Serial() |
Modifier and Type | Method and Description |
---|---|
BigInteger |
getBaud()
Gets the value of the baud property.
|
BigInteger |
getDatabits()
Gets the value of the databits property.
|
String |
getPortname()
Gets the value of the portname property.
|
BigInteger |
getStopbits()
Gets the value of the stopbits property.
|
boolean |
isEnabled()
Gets the value of the enabled property.
|
boolean |
isHandshake()
Gets the value of the handshake property.
|
boolean |
isParity()
Gets the value of the parity property.
|
void |
setBaud(BigInteger value)
Sets the value of the baud property.
|
void |
setDatabits(BigInteger value)
Sets the value of the databits property.
|
void |
setEnabled(boolean value)
Sets the value of the enabled property.
|
void |
setHandshake(boolean value)
Sets the value of the handshake property.
|
void |
setParity(boolean value)
Sets the value of the parity property.
|
void |
setPortname(String value)
Sets the value of the portname property.
|
void |
setStopbits(BigInteger value)
Sets the value of the stopbits property.
|
protected boolean enabled
protected String portname
protected BigInteger baud
protected BigInteger databits
protected BigInteger stopbits
protected boolean parity
protected boolean handshake
public boolean isEnabled()
public void setEnabled(boolean value)
public String getPortname()
String
public void setPortname(String value)
value
- allowed object is
String
public BigInteger getBaud()
BigInteger
public void setBaud(BigInteger value)
value
- allowed object is
BigInteger
public BigInteger getDatabits()
BigInteger
public void setDatabits(BigInteger value)
value
- allowed object is
BigInteger
public BigInteger getStopbits()
BigInteger
public void setStopbits(BigInteger value)
value
- allowed object is
BigInteger
public boolean isParity()
public void setParity(boolean value)
public boolean isHandshake()
public void setHandshake(boolean value)