public class Peripheral
extends java.lang.Object
Constructor and Description |
---|
Peripheral(java.lang.String name,
java.lang.String mode)
Peripheral: constructor of the peripheral
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLogicName() |
java.lang.String |
getMode()
getMode: return the mode of the peripheral
|
java.lang.String |
getName()
getName: return the name of the peripheral
|
java.lang.String |
getValue()
getValue: return the value of the peripheral
|
void |
setLogicName(java.lang.String logicName)
setLogicName: set the logic name of the peripheral
|
void |
setMode(java.lang.String mode)
setMode: set the mode of the peripheral
|
void |
setName(java.lang.String name)
setName: set the peripheral name
|
void |
setValue(java.lang.String value)
setValue: set the value of the peripheral
|
java.lang.String |
toString()
toString: return the string with the peripheral data
|
public Peripheral(java.lang.String name, java.lang.String mode)
name
- name of the peripheralmode
- mode of the peripheralpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- the name to setpublic java.lang.String getMode()
public void setMode(java.lang.String mode)
mode
- the mode to setpublic java.lang.String getValue()
public void setValue(java.lang.String value)
value
- the value to setpublic java.lang.String getLogicName()
public void setLogicName(java.lang.String logicName)
logicName
- the logicName to setpublic java.lang.String toString()
toString
in class java.lang.Object