Class DocumentAttributeDateTime.Builder
java.lang.Object
org.kuali.rice.kew.api.document.attribute.DocumentAttribute.AbstractBuilder<org.joda.time.DateTime>
org.kuali.rice.kew.api.document.attribute.DocumentAttributeDateTime.Builder
- All Implemented Interfaces:
Serializable,ModelBuilder,DocumentAttributeContract
- Enclosing class:
DocumentAttributeDateTime
public static final class DocumentAttributeDateTime.Builder
extends DocumentAttribute.AbstractBuilder<org.joda.time.DateTime>
A builder implementation which allows for construction of a
DocumentAttributeDateTime.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build theDocumentAttributefor this builder based on it's current state.Create a builder for the document attribute using the given attribute name.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
-
Method Details
-
create
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
Description copied from interface:DocumentAttributeContractReturns the data type of this document attribute. This will generally inform the type of object returned from the#getValuemethod. This method should never return a null value.- Returns:
- the data type of this document attribute
-
build
Description copied from class:DocumentAttribute.AbstractBuilderBuild theDocumentAttributefor this builder based on it's current state.- Specified by:
buildin interfaceModelBuilder- Specified by:
buildin classDocumentAttribute.AbstractBuilder<org.joda.time.DateTime>- Returns:
- the instantiated instance of
DocumentAttributewhich was built by this builder
-