Package com.nomagic.uaf.report
Class ReportProfile.ReportDataStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.uaf.report.ReportProfile.ReportDataStereotype
-
- Enclosing class:
- ReportProfile
public static class ReportProfile.ReportDataStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
AUTOIMAGESIZE
Specifies a size of images in report.static java.lang.String
DATA
Specifies packages or elements scope to generate report.static java.lang.String
EMPTYTEXT
Specifies a value to be inserted when data contains nothing.static java.lang.String
GENERATERECURSIVELY
static java.lang.String
IMAGEFORMAT
Specifies an image format for all the images in report.static java.lang.String
STEREOTYPE_NAME
static java.lang.String
TEMPLATE
A report template name.
-
Constructor Summary
Constructors Modifier Constructor Description protected
ReportDataStereotype(ReportProfile profile)
-
Method Summary
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
AUTOIMAGESIZE
public static final java.lang.String AUTOIMAGESIZE
Specifies a size of images in report. Auto image size value is a value from AutoImageSize enumeration type- See Also:
- Constant Field Values
-
DATA
public static final java.lang.String DATA
Specifies packages or elements scope to generate report.- See Also:
- Constant Field Values
-
EMPTYTEXT
public static final java.lang.String EMPTYTEXT
Specifies a value to be inserted when data contains nothing. If value is empty, it will print nothing on report.- See Also:
- Constant Field Values
-
GENERATERECURSIVELY
public static final java.lang.String GENERATERECURSIVELY
- See Also:
- Constant Field Values
-
IMAGEFORMAT
public static final java.lang.String IMAGEFORMAT
Specifies an image format for all the images in report. A image format value is a value from ImageFormat enumeration type.- See Also:
- Constant Field Values
-
TEMPLATE
public static final java.lang.String TEMPLATE
A report template name. A template name can be [template name] or [category name]/[template name]. If [template name] is used, it will return the first occurrence of template which name matches to specified name- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ReportDataStereotype
protected ReportDataStereotype(ReportProfile profile)
-
-
Method Detail
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in classProfileImplementation.StereotypeWrapper
- Returns:
- stereotype
-
getAutoImageSizeProperty
@CheckForNull public Property getAutoImageSizeProperty()
-
getDataProperty
@CheckForNull public Property getDataProperty()
-
getEmptyTextProperty
@CheckForNull public Property getEmptyTextProperty()
-
getGenerateRecursivelyProperty
@CheckForNull public Property getGenerateRecursivelyProperty()
-
getImageFormatProperty
@CheckForNull public Property getImageFormatProperty()
-
getTemplateProperty
@CheckForNull public Property getTemplateProperty()
-
setAutoImageSize
public void setAutoImageSize(Element element, @CheckForNull ReportProfile.AutoImageSizeEnum value)
-
clearAutoImageSize
public void clearAutoImageSize(Element element)
-
getAutoImageSize
@CheckForNull public ReportProfile.AutoImageSizeEnum getAutoImageSize(Element element)
-
setData
public void setData(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearData
public void clearData(Element element)
-
setEmptyText
public void setEmptyText(Element element, @CheckForNull java.lang.String value)
-
clearEmptyText
public void clearEmptyText(Element element)
-
getEmptyText
@CheckForNull public java.lang.String getEmptyText(Element element)
-
setGenerateRecursively
public void setGenerateRecursively(Element element, @CheckForNull java.lang.Boolean value)
-
clearGenerateRecursively
public void clearGenerateRecursively(Element element)
-
isGenerateRecursively
@CheckForNull public java.lang.Boolean isGenerateRecursively(Element element)
-
setImageFormat
public void setImageFormat(Element element, @CheckForNull ReportProfile.ImageFormatEnum value)
-
clearImageFormat
public void clearImageFormat(Element element)
-
getImageFormat
@CheckForNull public ReportProfile.ImageFormatEnum getImageFormat(Element element)
-
setTemplate
public void setTemplate(Element element, @CheckForNull java.lang.String value)
-
clearTemplate
public void clearTemplate(Element element)
-
getTemplate
@CheckForNull public java.lang.String getTemplate(Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)
-
-