public interface PortalDevice extends ManagedPortalObject<PortalDevicePropertyBean>
ManagedPortalObject.ValidateOnCreate, ManagedPortalObject.ValidateOnUpdate
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEVICE_NAMESPACE |
Modifier and Type | Method and Description |
---|---|
void |
addToAttributes(PortalDeviceAttribute attribute)
Adds the given attribute for this device
|
void |
clearAttributes()
Delete all attributes of this device and clear references
|
java.util.List<PortalDeviceAttribute> |
getAttributes()
Get list of attributes for this device
|
void |
removeFromAttributes(PortalDeviceAttribute attribute)
Removes the given attribute for this device
|
void |
setAttributes(java.util.List<PortalDeviceAttribute> attributes)
Sets the attributes for this device
|
copy, copy, delete, expandProperties, getAuthorizedActions, getDependentPortalObjects, getHolder, getPortal, getTypeName, isCurrent, isValid, setPortal, setProperties
getId, getProperties, getProperties
static final java.lang.String DEVICE_NAMESPACE
java.util.List<PortalDeviceAttribute> getAttributes()
void setAttributes(java.util.List<PortalDeviceAttribute> attributes)
attributes
- to be set for this devicevoid addToAttributes(PortalDeviceAttribute attribute)
attribute
- to be addedvoid removeFromAttributes(PortalDeviceAttribute attribute)
attribute
- to be removedvoid clearAttributes()