public interface StampAware
| Modifier and Type | Method and Description |
|---|---|
void |
addAllStamps(Set<Stamp> stamps)
Adds the given set of stamps to the stored ones.
|
void |
addStamp(Stamp stamp)
Adds the Stamp.
|
Stamp |
getStamp(String id) |
Set<Stamp> |
getStamps() |
void |
removeAllStamps()
Removes all stamps.
|
void |
removeStamp(String id) |
void |
setStamps(Set<Stamp> stamps)
Replaces the stored stamps with the given set.
|
void addStamp(Stamp stamp)
stamp - org.eclipse.stardust.common.error.InvalidArgumentException - if the id of the Stamp already exists.void removeStamp(String id)
void setStamps(Set<Stamp> stamps)
stamps - org.eclipse.stardust.common.error.InvalidArgumentException - if the given set contains more than one element with the same
Identifiable#id.void addAllStamps(Set<Stamp> stamps)
stamps - org.eclipse.stardust.common.error.InvalidArgumentException - if the given set contains more than one element with the same
Identifiable#id.org.eclipse.stardust.common.error.InvalidArgumentException - if the set contains at least one stamp with the same Identifiable#id as a
stored stamp.void removeAllStamps()
Copyright © 2016 Eclipse Stardust. All Rights Reserved.