public static interface Bus.Property
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of the property
|
Class |
getPropertyType()
Returns the type of property.
|
Object |
getValue()
Returns the value of this property.
|
boolean |
isReadable()
Returns true if the property is readable.
|
boolean |
isWritable()
Returns true if the property is writable.
|
void |
setValue(String pValue)
Sets the value of the property to the new value.
|
String getName()
Class getPropertyType()
boolean isWritable()
boolean isReadable()
void setValue(String pValue) throws BusException
isWritable()
returns true
. Invoking
this method on a non writable property will throw an UnsupportedOperationException
pValue
- the new valueBusException
- if setting the new value failsUnsupportedOperationException
- if write is not supportedObject getValue() throws Exception
isReadable()
returns true
.
Invoking this method on a non readable property will throw an UnsupportedOperationException
BusException
- if retrieving the value failsUnsupportedOperationException
- if read is not supportedException
© 1998- 2021 Escenic AS