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(PropertyComment comment)
          Sets the property comment.
 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.
 
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.

with

public PropertyReportItem.Builder with(PropertyComment comment)
Sets the property comment.

Parameters:
comment - the comment to this 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.