|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.jdeveloper.audit.model.ModelAdapter
oracle.jdeveloper.audit.model.FileModelAdapter
public abstract class FileModelAdapter
An abstract ModelAdapter which adapts a file (text or binary) node.
ModelAdapter,
TextFileModelAdapter| Field Summary |
|---|
| Fields inherited from class oracle.jdeveloper.audit.model.ModelAdapter |
|---|
index, log |
| Constructor Summary | |
|---|---|
protected |
FileModelAdapter(ModelFactory factory,
ModelType model,
ContainerModelAdapter workspace,
ContainerModelAdapter project,
ContainerModelAdapter directory,
Node node,
java.net.URL url)
|
protected |
FileModelAdapter(ModelFactory factory,
ModelType model,
ContainerModelAdapter workspace,
ContainerModelAdapter project,
ContainerModelAdapter directory,
Node node,
java.net.URL url,
java.lang.String primaryCollationKey)
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object object)
Gets whether this model is less than, equal to, or greater than another using the natural order defined by this class. |
boolean |
contains(ModelAdapter that)
Gets whether this model contains a model. |
ContainerModelAdapter |
getContainingAdapter()
Gets the model adapter containing this model adapter, or null if this is the root node. |
Dependency |
getDependency()
Gets a Dependency which tracks changes to this model. |
FileModelAdapter |
getFileAdapter()
Gets the model adapter for the file containing this model, or null if this is a root, workspace, project, or package model. |
java.net.URL |
getUrl()
Gets the non-null URL corresponding to this model. |
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 FileModelAdapter(ModelFactory factory,
ModelType model,
ContainerModelAdapter workspace,
ContainerModelAdapter project,
ContainerModelAdapter directory,
Node node,
java.net.URL url)
protected FileModelAdapter(ModelFactory factory,
ModelType model,
ContainerModelAdapter workspace,
ContainerModelAdapter project,
ContainerModelAdapter directory,
Node node,
java.net.URL url,
java.lang.String primaryCollationKey)
| Method Detail |
|---|
public java.net.URL getUrl()
ModelAdapter
getUrl in class ModelAdapterpublic ContainerModelAdapter getContainingAdapter()
ModelAdapter
getContainingAdapter in class ModelAdapterpublic Dependency getDependency()
ModelAdapterDependency which tracks changes to this model. The default
ModelAdapter implementation returns a null dependency.
getDependency in class ModelAdapterpublic boolean isFile()
ContainerModelAdapter.isFile() returns true.
isFile in class ModelAdapterpublic FileModelAdapter getFileAdapter()
ModelAdapter
getFileAdapter in class ModelAdapterpublic boolean contains(ModelAdapter that)
ModelAdapter
contains in class ModelAdapterthat - The ModelAdapter to test.public int compareTo(java.lang.Object object)
ModelAdapterModelFactory instances cannot be compared.
compareTo in interface java.lang.ComparablecompareTo in class ModelAdapterobject - The node with which to compare this node.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||