|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-04 |
|||||||||
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 | |
---|---|
boolean |
addContainedModel(ModelAdapter model)
Adds a model to the set contained by this model. |
boolean |
addContainedModels(java.util.Collection<ModelAdapter> models)
Adds models to the set contained by this model. |
boolean |
addContainedModels(ModelAdapter[] models)
Adds models to the set contained by this model. |
protected abstract void |
createContainedModels(java.lang.Object construct)
Creates the models contained by the root construct of this model and adds them using addContainedModel(oracle.jdeveloper.audit.model.ModelAdapter) and addContainedModel(oracle.jdeveloper.audit.model.ModelAdapter) . |
java.util.Iterator |
getContainedConstructs(java.lang.Object construct)
Gets the constructs contained by a construct in this model. |
boolean |
isFile()
Gets whether this model represents a "file". |
protected void |
removeContainedModel(java.lang.Object construct)
Removes a model from the set contained by this model. |
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 boolean addContainedModels(ModelAdapter[] models)
models
- An array of adapters for the models contained by the root
construct of this model.public boolean addContainedModels(java.util.Collection<ModelAdapter> models)
models
- An array of adapters for the models 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 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.
getContainedConstructs
in class ModelAdapter
construct
- A construct of this model.
protected abstract void createContainedModels(java.lang.Object construct)
addContainedModel(oracle.jdeveloper.audit.model.ModelAdapter)
and addContainedModel(oracle.jdeveloper.audit.model.ModelAdapter)
.
This method is invoked by the getContainedConstructs(java.lang.Object)
implementation on its first invocation, unless addContainedModel(oracle.jdeveloper.audit.model.ModelAdapter)
or
addContainedModel(oracle.jdeveloper.audit.model.ModelAdapter)
has already been invoked.
Tbe Audit framework invokes this method with a read transaction active on this model and holding a private monitor lock.
Implementations must return an iterator which iterates the model adapters in their natural order.
construct
- A construct of this model.protected void removeContainedModel(java.lang.Object construct)
construct
- The root construct of the model to remove.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |