|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.3.0) E17483-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adf.model.adapter.AbstractDefinition
oracle.adfinternal.model.adapter.url.URLDCDefinition
public class URLDCDefinition
Field Summary | |
---|---|
static java.lang.String |
DEFINITIONS Definition tag as the root. |
static java.lang.String |
ID ID for the individual Definition. |
static java.lang.String |
IMPL_DEF Implementation class for the individual Definition. |
static java.lang.String |
URL_NS Namespace for the metadata definition. |
static java.lang.String |
USE_PERSIST_STRUCT |
Fields inherited from class oracle.adf.model.adapter.AbstractDefinition |
---|
CACHE_TO_SOURCEPATH, DONT_CACHE, mFullName |
Fields inherited from interface oracle.binding.meta.Definition |
---|
TYPE_ACCESSOR, TYPE_ATTRIBUTE, TYPE_CRITERIA, TYPE_CRITERIA_ITEM, TYPE_CRITERIA_OPERATOR, TYPE_CRITERIA_ROW, TYPE_DATACONTROL, TYPE_DEFINITION, TYPE_DEFINITIONCONTEXT, TYPE_NAMED, TYPE_OPERATION, TYPE_OPERATIONRETURN, TYPE_PARAMETER, TYPE_STRUCTURE, TYPE_VARIABLE |
Constructor Summary | |
---|---|
URLDCDefinition() |
|
URLDCDefinition(java.lang.String name) |
Method Summary | |
---|---|
void |
addDefinition(java.lang.String defName, AbstractURLChildDefinition def) Used to add a Definition to the URLDCDefinition aggregate map. |
DataControl |
createDataControl() Creates an instance of data control generated from the metadata definition. |
java.lang.String |
getAdapterType() Returns the type of the adapter. |
java.lang.String |
getDCName() Returns the name of the data control. |
AbstractURLChildDefinition |
getDefinition(java.lang.String defName) Returns a Definition based on the definition name. |
Node |
getMetadata() Returns the element that defines the metadata for the data control. |
java.lang.String |
getRootStructureName() Gets the root structure definition name |
StructureDefinition |
getStructure() Gets the structure definition of the output data. |
boolean |
isStructureDirty(boolean refresh) Tells the framework whether the Data control structure is dirty and needs to be refreshed on the palette. |
void |
loadFromMetadata(Node node, java.util.Map params) Loads the definition from a metadata Node . |
void |
removeDefinition(java.lang.String defName) Removes the Definition from the aggregate |
void |
setRootStructureName(java.lang.String rootDefName) Sets the root structure definition name |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String URL_NS
public static final java.lang.String DEFINITIONS
public static final java.lang.String IMPL_DEF
public static final java.lang.String ID
public static final java.lang.String USE_PERSIST_STRUCT
Constructor Detail |
---|
public URLDCDefinition()
public URLDCDefinition(java.lang.String name)
Method Detail |
---|
public DataControl createDataControl()
AbstractDefinition
createDataControl
in class AbstractDefinition
public Node getMetadata()
AbstractDefinition
getMetadata
in class AbstractDefinition
Node
that defines the metadata for this instance. This metadata will be used at the runtime to fetch data from the data source.public StructureDefinition getStructure()
AbstractDefinition
getStructure
in interface DataControlDefinition
getStructure
in class AbstractDefinition
public void loadFromMetadata(Node node, java.util.Map params)
AbstractDefinition
Node
.loadFromMetadata
in class AbstractDefinition
node
- the metadata node. It can be null if no metadata is defined.params
- context parameters.public void addDefinition(java.lang.String defName, AbstractURLChildDefinition def)
defName
-def
-public AbstractURLChildDefinition getDefinition(java.lang.String defName)
defName
-public void removeDefinition(java.lang.String defName)
defName
-public boolean isStructureDirty(boolean refresh)
isStructureDirty
in class AbstractDefinition
refresh
- flag to indicate if the refresh is requested for the structure.public java.lang.String getAdapterType()
getAdapterType
in class AbstractDefinition
AdapterDefinition
public java.lang.String getRootStructureName()
public java.lang.String getDCName()
AbstractDefinition
getDCName
in class AbstractDefinition
public void setRootStructureName(java.lang.String rootDefName)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.3.0) E17483-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |