de.smartics.properties.report.data
Class PropertyReportItem.Builder

Package class diagram package PropertyReportItem.Builder
java.lang.Object
  extended by de.smartics.properties.report.data.PropertyReportItem.Builder
Enclosing class:
PropertyReportItem

public static final class PropertyReportItem.Builder
     
     
extends Object

Builder to create instances of enclosing class.


Constructor Summary
PropertyReportItem.Builder()
           
 
Method Summary
 PropertyReportItem build()
          Creates the report item.
 PropertyReportItem.Builder with(PropertyDescriptor descriptor)
          Sets the descriptor to the property.
 PropertyReportItem.Builder with(SourceInfo sourceInfo)
          Sets the information about the source the property was defined in.
 PropertyReportItem.Builder with(ValueComment valueComment)
          Sets the documentation of the possible values to property.
 PropertyReportItem.Builder withComment(String comment)
          Sets the Javadoc comment to the descriptor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyReportItem.Builder

public PropertyReportItem.Builder()
Method Detail

with

public PropertyReportItem.Builder with(PropertyDescriptor descriptor)
Sets the descriptor to the property.

Parameters:
descriptor - the descriptor to the property.
Returns:
a reference to the builder.

withComment

public PropertyReportItem.Builder withComment(String comment)
Sets the Javadoc comment to the descriptor.

Parameters:
comment - the Javadoc comment to the descriptor.
Returns:
a reference to the builder.

with

public PropertyReportItem.Builder with(ValueComment valueComment)
Sets the documentation of the possible values to property.

Parameters:
valueComment - the documentation of the possible values to property.
Returns:
a reference to the builder.

with

public PropertyReportItem.Builder with(SourceInfo sourceInfo)
Sets the information about the source the property was defined in.

Parameters:
sourceInfo - the information about the source the property was defined in.
Returns:
a reference to the builder.

build

public PropertyReportItem build()
Creates the report item.

Returns:
the report item.


Copyright © 2012-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.