org.eclipse.stardust.engine.extensions.dms.data.annotations.printdocument
Interface StampAware

All Known Subinterfaces:
PrintDocumentAnnotations

public interface StampAware


Method Summary
 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.
 

Method Detail

addStamp

void addStamp(Stamp stamp)
Adds the Stamp.

Parameters:
stamp -
Throws:
org.eclipse.stardust.common.error.InvalidArgumentException - if the id of the Stamp already exists.

getStamp

Stamp getStamp(String id)

getStamps

Set<Stamp> getStamps()

removeStamp

void removeStamp(String id)

setStamps

void setStamps(Set<Stamp> stamps)
Replaces the stored stamps with the given set.

Parameters:
stamps -
Throws:
org.eclipse.stardust.common.error.InvalidArgumentException - if the given set contains more than one element with the same Identifiable#id.

addAllStamps

void addAllStamps(Set<Stamp> stamps)
Adds the given set of stamps to the stored ones.

Parameters:
stamps -
Throws:
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.

removeAllStamps

void removeAllStamps()
Removes all stamps.



Copyright © 2017 Eclipse Stardust. All Rights Reserved.