}
return info;
}
public static IReadWriteAccess getReadWriteAccess(IDevice device) throws SalsaDeviceException {
IReadWriteAccess rwa = new ReadWriteAccessImpl();
if (device != null && device.getName() != null && !"".equals(device.getName().trim())) {
AttributeInfo info = getAttributeInfo(device);
if (info != null) {
rwa.setReadable(true);
if (info.writable != AttrWriteType.READ) {
rwa.setWritable(true);
}
}
}
return rwa;
}