org.kuali.rice.kew.api.document.attribute
Class DocumentAttributeDecimal.Builder

java.lang.Object
  extended by org.kuali.rice.kew.api.document.attribute.DocumentAttribute.AbstractBuilder<BigDecimal>
      extended by org.kuali.rice.kew.api.document.attribute.DocumentAttributeDecimal.Builder
All Implemented Interfaces:
Serializable, ModelBuilder, DocumentAttributeContract
Enclosing class:
DocumentAttributeDecimal

public static final class DocumentAttributeDecimal.Builder
extends DocumentAttribute.AbstractBuilder<BigDecimal>

A builder implementation which allows for construction of a DocumentAttributeDecimal.

See Also:
Serialized Form

Method Summary
 DocumentAttributeDecimal build()
          Build the DocumentAttribute for this builder based on it's current state.
static DocumentAttributeDecimal.Builder create(String name)
           
 DocumentAttributeDataType getDataType()
          Returns the data type of this document attribute.
 
Methods inherited from class org.kuali.rice.kew.api.document.attribute.DocumentAttribute.AbstractBuilder
getName, getValue, setName, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static DocumentAttributeDecimal.Builder create(String name)

getDataType

public DocumentAttributeDataType getDataType()
Description copied from interface: DocumentAttributeContract
Returns the data type of this document attribute. This will generally inform the type of object returned from the #getValue method. This method should never return a null value.

Returns:
the data type of this document attribute

build

public DocumentAttributeDecimal build()
Description copied from class: DocumentAttribute.AbstractBuilder
Build the DocumentAttribute for this builder based on it's current state.

Specified by:
build in interface ModelBuilder
Specified by:
build in class DocumentAttribute.AbstractBuilder<BigDecimal>
Returns:
the instantiated instance of DocumentAttribute which was built by this builder


Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.