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

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

public static final class DocumentAttributeInteger.Builder
extends DocumentAttribute.AbstractBuilder<BigInteger>

A builder implementation which allows for construction of a DocumentAttributeInteger.

See Also:
Serialized Form

Method Summary
 DocumentAttributeInteger build()
          Build the DocumentAttribute for this builder based on it's current state.
static DocumentAttributeInteger.Builder create(String name)
          Create a builder for the document attribute using the given attribute 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 DocumentAttributeInteger.Builder create(String name)
Create a builder for the document attribute using the given attribute name.

Parameters:
name - the name of the document attribute which should be built by this builder, should never be a null or blank value
Returns:
a builder instance initialized with the given attribute 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 DocumentAttributeInteger 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<BigInteger>
Returns:
the instantiated instance of DocumentAttribute which was built by this builder


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