Package com.unitesk.aspectrace
Class ReportEntity
- java.lang.Object
-
- com.unitesk.aspectrace.ReportEntity
-
- Direct Known Subclasses:
ReportPage
public abstract class ReportEntity extends java.lang.Object
Report element (not necessarily a file). May be marked by a set of aspect tags.
-
-
Constructor Summary
Constructors Constructor Description ReportEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAspect()
Gets the aspect which contains this report entity.java.lang.String
getAssociatedChannel()
java.util.Map<java.lang.String,java.util.Set<java.lang.String>>
getTagMarks()
Gets the set of tags which marks the report element.void
setAssociatedChannel(java.lang.String associatedChannel)
void
setTagMarks(java.util.Map<java.lang.String,java.util.Set<java.lang.String>> marks)
Marks the report element by a set of context tags.
-
-
-
Method Detail
-
getAspect
public java.lang.String getAspect()
Gets the aspect which contains this report entity. Classreport generator
uses this information for an automatic reference generation; Other components of report generator may use this information as they see fit.- Returns:
- Aspect name. Empty string is used for an empty aspect.
null
if the aspect is unidentified.
-
setTagMarks
public void setTagMarks(java.util.Map<java.lang.String,java.util.Set<java.lang.String>> marks)
Marks the report element by a set of context tags.
-
getTagMarks
public java.util.Map<java.lang.String,java.util.Set<java.lang.String>> getTagMarks()
Gets the set of tags which marks the report element.- Returns:
- Mapping
[aspect +> set of tags]
. Not Null.
-
setAssociatedChannel
public void setAssociatedChannel(java.lang.String associatedChannel)
-
getAssociatedChannel
public java.lang.String getAssociatedChannel()
-
-