|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.0) E13403-08 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jdeveloper.audit.model.ModelAdapter oracle.jdeveloper.audit.model.ContainerModelAdapter
public abstract class ContainerModelAdapter
An abstract ModelAdapter
which adapts an Element
which
contains elements.
ModelAdapter
Field Summary |
---|
Fields inherited from class oracle.jdeveloper.audit.model.ModelAdapter |
---|
index, log |
Constructor Summary | |
---|---|
protected |
ContainerModelAdapter(ModelFactory factory,
ModelType type)
|
protected |
ContainerModelAdapter(ModelFactory factory,
ModelType type,
ContainerModelAdapter workspace,
ContainerModelAdapter project,
ContainerModelAdapter directory,
ContentDirectory element,
java.net.URL url)
|
protected |
ContainerModelAdapter(ModelFactory factory,
ModelType type,
ContainerModelAdapter workspace,
Project project)
|
protected |
ContainerModelAdapter(ModelFactory factory,
ModelType type,
Workspace workspace)
|
Method Summary | |
---|---|
protected void |
addContainedElement(Element element,
java.net.URL url)
Gets the models for an element contained by the root construct of this model, and adds them to the models contained by this model. |
boolean |
addContainedModel(ModelAdapter model)
Adds a model to the set contained by this model. |
protected abstract void |
createContainedModels(java.lang.Object construct)
Creates models for each Element contained by the root construct of
this model using addContainedElement(oracle.ide.model.Element, java.net.URL) . |
java.util.Iterator |
getContainedConstructs(java.lang.Object construct)
Gets the constructs contained by a construct in this model. |
java.util.Iterator<Element> |
getContainedUnauditableElements(java.lang.Object construct)
|
boolean |
isFile()
Gets whether this model represents a "file". |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected ContainerModelAdapter(ModelFactory factory, ModelType type)
protected ContainerModelAdapter(ModelFactory factory, ModelType type, Workspace workspace)
protected ContainerModelAdapter(ModelFactory factory, ModelType type, ContainerModelAdapter workspace, Project project)
protected ContainerModelAdapter(ModelFactory factory, ModelType type, ContainerModelAdapter workspace, ContainerModelAdapter project, ContainerModelAdapter directory, ContentDirectory element, java.net.URL url)
Method Detail |
---|
public boolean isFile()
isFile()
returns false.
isFile
in class ModelAdapter
public boolean addContainedModel(ModelAdapter model)
model
- An adapter for a model contained by the root construct of
this model.public java.util.Iterator getContainedConstructs(java.lang.Object construct)
Implementations must return an iterator which iterates the constructs in document order.
The default ContainerModelAdapter
implementation returns an
iterator over the model adapters contained by this model adapter. On the
first invocation, it invokes createContainedModels(java.lang.Object)
unless the
Audit framework has already invoked addContainedModel at least once to
configure a subset.
Implementations must return an iterator which iterates the model adapters in their natural order.
getContainedConstructs
in class ModelAdapter
construct
- A construct of this model.
protected abstract void createContainedModels(java.lang.Object construct)
Element
contained by the root construct of
this model using addContainedElement(oracle.ide.model.Element, java.net.URL)
. This method is invoked by
the first invocation of getContainedConstructs(java.lang.Object)
or #getContainedUnauditableElements, unless
{@link #addContainedModel} has already been invoked.
Tbe Audit framework invokes this method with a read transaction active on this model and holding a private monitor lock.
construct
- A construct of this model.protected void addContainedElement(Element element, java.net.URL url)
createContainedModels(java.lang.Object)
methods.
element
- An element contained by the root construct of this model.url
- The URL of the element, null to extract from element.public java.util.Iterator<Element> getContainedUnauditableElements(java.lang.Object construct)
The default ContainerModelAdapter
implementation returns an
iterator over the model adapters added through addContainedModel(oracle.jdeveloper.audit.model.ModelAdapter)
and addContainedModel(oracle.jdeveloper.audit.model.ModelAdapter)
. On the first invocation, it invokes
createContainedModels(java.lang.Object)
unless one of the add methods has already
been invoked.
Implementations must return an iterator which iterates the model adapters in their natural order.
construct
- A construct of this model.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.0) E13403-08 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |