org.kuali.rice.kew.api.document
Class WorkflowAttributeDefinition.Builder

java.lang.Object
  extended by org.kuali.rice.kew.api.document.WorkflowAttributeDefinition.Builder
All Implemented Interfaces:
Serializable
Enclosing class:
WorkflowAttributeDefinition

public static final class WorkflowAttributeDefinition.Builder
extends Object
implements Serializable

See Also:
Serialized Form

Method Summary
 void addParameter(String parameter)
           
 void addPropertyDefinition(PropertyDefinition property)
           
 void addPropertyDefinition(String name, String value)
           
 WorkflowAttributeDefinition build()
           
static WorkflowAttributeDefinition.Builder create(String attributeName)
           
static WorkflowAttributeDefinition.Builder create(WorkflowAttributeDefinition definition)
           
 String getAttributeName()
           
 List<String> getParameters()
           
 PropertyDefinition getPropertyDefinition(String name)
           
 List<PropertyDefinition> getPropertyDefinitions()
           
 void removeParameter(String parameter)
           
 void setAttributeName(String attributeName)
           
 void setParameters(List<String> parameters)
           
 void setPropertyDefinitions(List<PropertyDefinition> propertyDefinitions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static WorkflowAttributeDefinition.Builder create(WorkflowAttributeDefinition definition)

create

public static WorkflowAttributeDefinition.Builder create(String attributeName)

build

public WorkflowAttributeDefinition build()

getAttributeName

public String getAttributeName()

getParameters

public List<String> getParameters()

getPropertyDefinitions

public List<PropertyDefinition> getPropertyDefinitions()

setAttributeName

public void setAttributeName(String attributeName)

addParameter

public void addParameter(String parameter)

removeParameter

public void removeParameter(String parameter)

setParameters

public void setParameters(List<String> parameters)

addPropertyDefinition

public void addPropertyDefinition(PropertyDefinition property)

setPropertyDefinitions

public void setPropertyDefinitions(List<PropertyDefinition> propertyDefinitions)

addPropertyDefinition

public void addPropertyDefinition(String name,
                                  String value)

getPropertyDefinition

public PropertyDefinition getPropertyDefinition(String name)


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