com.bstek.dorado.data.resolver
public abstract class AbstractDataResolver extends java.lang.Object implements DataResolver, Namable, Scopable
Constructor and Description |
---|
AbstractDataResolver() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId() |
java.util.Map<java.lang.String,java.lang.Object> |
getMetaData() |
java.lang.String |
getName()
返回DataResolver的名称。
|
java.lang.Object |
getParameter()
设置默认参数。
|
Scope |
getScope()
返回作用范围。
|
protected abstract java.lang.Object |
internalResolve(DataItems dataItems,
java.lang.Object parameter) |
java.lang.Object |
resolve(DataItems dataItems) |
java.lang.Object |
resolve(DataItems dataItems,
java.lang.Object parameter) |
void |
setId(java.lang.String id) |
void |
setMetaData(java.util.Map<java.lang.String,java.lang.Object> metaData) |
void |
setName(java.lang.String name)
设置DataResolver的名称。
|
void |
setParameter(java.lang.Object parameter)
设置默认参数。
|
void |
setScope(Scope scope)
设置作用范围。
|
java.lang.String |
toString() |
public java.lang.String getName()
DataResolver
getName
in interface Namable
getName
in interface DataModelObject
getName
in interface DataResolver
public void setName(java.lang.String name)
public java.lang.String getId()
getId
in interface DataModelObject
public void setId(java.lang.String id)
setId
in interface DataModelObject
public Scope getScope()
DataResolver
getScope
in interface DataResolver
public java.lang.Object getParameter()
DataResolver
getParameter
in interface DataResolver
public void setParameter(java.lang.Object parameter)
DataResolver
setParameter
in interface DataResolver
protected abstract java.lang.Object internalResolve(DataItems dataItems, java.lang.Object parameter) throws java.lang.Exception
java.lang.Exception
public java.lang.Object resolve(DataItems dataItems) throws java.lang.Exception
resolve
in interface DataResolver
java.lang.Exception
public java.lang.Object resolve(DataItems dataItems, java.lang.Object parameter) throws java.lang.Exception
resolve
in interface DataResolver
java.lang.Exception
public java.util.Map<java.lang.String,java.lang.Object> getMetaData()
getMetaData
in interface MetaDataSupport
public void setMetaData(java.util.Map<java.lang.String,java.lang.Object> metaData)
setMetaData
in interface MetaDataSupport
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.