public final class AttributePropertiesManager extends Object
| Constructor and Description |
|---|
AttributePropertiesManager(String deviceName) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String[]> |
getAttributePropertiesFromDB(String attributeName)
Get an attribute's properties from tango db
|
String |
getAttributePropertyFromDB(String attributeName,
String propertyName)
Get an attribute property from tango db
|
String |
getDeviceName() |
void |
removeAttributeProperties(String... attributeNames) |
void |
setAttributePropertiesInDB(String attributeName,
Map<String,String[]> properties)
Set attribute properties in tango db
|
void |
setAttributePropertyInDB(String attributeName,
String propertyName,
String value)
Set attribute property in tango db
|
public AttributePropertiesManager(String deviceName)
public Map<String,String[]> getAttributePropertiesFromDB(String attributeName) throws fr.esrf.Tango.DevFailed
attributeName - fr.esrf.Tango.DevFailedpublic void removeAttributeProperties(String... attributeNames) throws fr.esrf.Tango.DevFailed
fr.esrf.Tango.DevFailedpublic String getAttributePropertyFromDB(String attributeName, String propertyName) throws fr.esrf.Tango.DevFailed
attributeName - propertyName - fr.esrf.Tango.DevFailedpublic void setAttributePropertyInDB(String attributeName, String propertyName, String value) throws fr.esrf.Tango.DevFailed
attributeName - propertyName - value - fr.esrf.Tango.DevFailedpublic void setAttributePropertiesInDB(String attributeName, Map<String,String[]> properties) throws fr.esrf.Tango.DevFailed
attributeName - properties - fr.esrf.Tango.DevFailedpublic String getDeviceName()
Copyright © 2012–2017 Tango Controls. All rights reserved.