de.smartics.properties.api.core.domain
Class PropertyComment.Builder

Package class diagram package PropertyComment.Builder
java.lang.Object
  extended by de.smartics.properties.api.core.domain.PropertyComment.Builder
Enclosing class:
PropertyComment

public static final class PropertyComment.Builder
     
     
extends Object

The property comment instance builder.


Constructor Summary
PropertyComment.Builder()
           
 
Method Summary
 PropertyComment build()
          Creates the property comment instance.
 PropertyComment.Builder with(PropertyValueComment valueComment)
          Sets the comment of the property values.
 PropertyComment.Builder withText(String text)
          Sets the text of the comment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyComment.Builder

public PropertyComment.Builder()
Method Detail

withText

public PropertyComment.Builder withText(String text)
Sets the text of the comment.

Parameters:
text - the text of the comment.
Returns:
the reference to the builder instance.

with

public PropertyComment.Builder with(PropertyValueComment valueComment)
Sets the comment of the property values.

Parameters:
valueComment - the comment of the property values.
Returns:
the reference to the builder instance.

build

public PropertyComment build()
Creates the property comment instance.

Returns:
the property comment instance.


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