org.kuali.rice.kew.api.document.attribute
Class DocumentAttributeDecimal.Builder
java.lang.Object
org.kuali.rice.kew.api.document.attribute.DocumentAttribute.AbstractBuilder<BigDecimal>
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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–2014 The Kuali Foundation. All rights reserved.