|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.4.0) E17483-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.adf.model.adapter.AbstractDefinition
oracle.adf.model.adapter.rest.RestURLDCDefinition
public class RestURLDCDefinition
Field Summary | |
---|---|
static java.lang.String |
DEFINITIONS
Definition tag as the root. |
static java.lang.String |
REST_NS
Namespace for the metadata definition. |
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 | |
---|---|
RestURLDCDefinition()
|
|
RestURLDCDefinition(java.lang.String name)
|
Method Summary | |
---|---|
ChildOperation |
createAndAddXMLOperation(java.lang.String methodID,
java.lang.String sourceLocation,
java.lang.String xsdLoc)
|
ChildOperation |
createAndAddXMLOperation(java.lang.String connectionName,
java.lang.String methodID,
java.lang.String sourceLocation,
java.lang.String xsdLoc)
|
ChildOperation |
createAndAddXMLOperation(java.lang.String connectionName,
java.lang.String methodID,
java.lang.String sourceLocation,
java.lang.String xsdLoc,
boolean createConnection)
Used to create and add a Rest XMLDefinition to the RestURLDCDefinition 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.util.Collection<ChildOperation> |
getAllChildOperations()
|
ChildOperation |
getChildOperation(java.lang.String defName)
Returns a Definition based on the definition name. |
java.lang.String |
getDCName()
Returns the name of the data control. |
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 |
removeOperation(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 REST_NS
public static final java.lang.String DEFINITIONS
Constructor Detail |
---|
public RestURLDCDefinition()
public RestURLDCDefinition(java.lang.String name)
Method Detail |
---|
public DataControl createDataControl()
AbstractDefinition
createDataControl
in class AbstractDefinition
public java.lang.String getAdapterType()
getAdapterType
in class AbstractDefinition
AdapterDefinition
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 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 StructureDefinition getStructure()
AbstractDefinition
getStructure
in interface DataControlDefinition
getStructure
in class AbstractDefinition
public ChildOperation createAndAddXMLOperation(java.lang.String methodID, java.lang.String sourceLocation, java.lang.String xsdLoc)
public ChildOperation createAndAddXMLOperation(java.lang.String connectionName, java.lang.String methodID, java.lang.String sourceLocation, java.lang.String xsdLoc)
public ChildOperation createAndAddXMLOperation(java.lang.String connectionName, java.lang.String methodID, java.lang.String sourceLocation, java.lang.String xsdLoc, boolean createConnection)
connectionName
- methodID
- sourceLocation
- xsdLoc
- public ChildOperation getChildOperation(java.lang.String defName)
defName
-
public void removeOperation(java.lang.String defName)
defName
- public java.util.Collection<ChildOperation> getAllChildOperations()
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 getRootStructureName()
public void setRootStructureName(java.lang.String rootDefName)
public java.lang.String getDCName()
AbstractDefinition
getDCName
in class AbstractDefinition
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.4.0) E17483-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |