public interface Transferable
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(TransferAttribute pAttribute)
Adds an attribute to the set and stores it under pAttribute.getName().
|
TransferAttribute |
getAttribute(String pName)
Gets the TransferAttribute which are stored under pName.
|
Collection<String> |
getAttributeNames() |
Collection<TransferAttribute> |
getAttributes() |
Object |
getAttributeValue(String pName)
Gets the value of the TransferAttribute which are stored under pName.
|
Payload |
getPayload() |
void |
removeAttribute(String name)
Removes an attribute from the transferable.
|
void |
setPayload(Payload pPayload) |
Payload getPayload()
void setPayload(Payload pPayload)
Collection<String> getAttributeNames()
Collection<TransferAttribute> getAttributes()
TransferAttribute getAttribute(String pName)
pName
- Object getAttributeValue(String pName)
pName
- void addAttribute(TransferAttribute pAttribute)
pAttribute
- The Attributevoid removeAttribute(String name)
name
- the attribute name.Copyright © 2004–2018 52north.org. All rights reserved.