Oracle Fusion Middleware
Workflow Services Java API Reference for Oracle SOA Suite
11g Release 1 (11.1.1.7)
E10660-11

oracle.bpel.services.workflow.metadata.taskattributes
Class TaskAttributesUtil

java.lang.Object
  extended by oracle.bpel.services.common.util.AbstractJaxbUtil
      extended by oracle.bpel.services.workflow.metadata.taskattributes.TaskAttributesUtil

public class TaskAttributesUtil
extends AbstractJaxbUtil

Since:
release specific (what release of product did this appear in)

Method Summary
static java.lang.Object getColumnValueFromTask(java.lang.String columnName, TaskType task)
          Retreives the value of a task property corresponding to the specified task column name.
static ObjectFactory getFactory()
           
static TaskAttributesUtil getInstance()
           
 java.lang.String getJaxbContextString()
          Get the Jaxb Context String
 java.lang.String getSchemaLocation()
          Get the XSD location.
static java.util.Map<java.lang.String,java.util.List<TaskAttributeType>> getTaskAttrCategoryMap(java.util.List<TaskAttributeType> taskAttrs)
          Creates a map of TaskAttribute objects indexed by category, from a list of TaskAttribute objects.
static java.util.Map<java.lang.String,TaskAttributeType> getTaskAttrMap(java.util.List<TaskAttributeType> taskAttrs)
          Creates a map of TaskAttribute objects indexed by column name, from a list of TaskAttribute objects.
 
Methods inherited from class oracle.bpel.services.common.util.AbstractJaxbUtil
cloneObject, cloneObject, createURL, getAbsoluteSchemaLocation, getClassLoader, getSchemaValidationErrors, marshal, marshal, marshal, schemaValidate, toElement, toString, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static TaskAttributesUtil getInstance()

getFactory

public static ObjectFactory getFactory()

getJaxbContextString

public java.lang.String getJaxbContextString()
Description copied from class: AbstractJaxbUtil
Get the Jaxb Context String

Specified by:
getJaxbContextString in class AbstractJaxbUtil
Returns:
a String value

getSchemaLocation

public java.lang.String getSchemaLocation()
Description copied from class: AbstractJaxbUtil
Get the XSD location. This location is a resource location string like A.xsd, a/b/C.xsd The actual file location is determined from the classpath

Specified by:
getSchemaLocation in class AbstractJaxbUtil
Returns:
a String value

getTaskAttrMap

public static java.util.Map<java.lang.String,TaskAttributeType> getTaskAttrMap(java.util.List<TaskAttributeType> taskAttrs)
Creates a map of TaskAttribute objects indexed by column name, from a list of TaskAttribute objects.

Parameters:
taskAttrs - List of TaskAttribute objects
Returns:
Map of TaskAttribute objects indexed by column name

getTaskAttrCategoryMap

public static java.util.Map<java.lang.String,java.util.List<TaskAttributeType>> getTaskAttrCategoryMap(java.util.List<TaskAttributeType> taskAttrs)
Creates a map of TaskAttribute objects indexed by category, from a list of TaskAttribute objects.

Parameters:
taskAttrs - List of TaskAttribute objects
Returns:
Map of TaskAttribute objects indexed by category

getColumnValueFromTask

public static java.lang.Object getColumnValueFromTask(java.lang.String columnName,
                                                      TaskType task)
Retreives the value of a task property corresponding to the specified task column name.

Parameters:
columnName - String name of task database column
task - TaskType task object
Returns:
Object value of task property corresponding to task database column

Oracle Fusion Middleware
Workflow Services Java API Reference for Oracle SOA Suite
11g Release 1 (11.1.1.7)
E10660-11

Copyright © 2009, 2013, Oracle and/or its affiliates. All rights reserved.