|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
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.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 ModelAdapter
public ContainerModelAdapter getContainingAdapter()
ModelAdapter
getContainingAdapter
in class ModelAdapter
public Dependency getDependency()
ModelAdapter
Dependency
which tracks changes to this model. The default ModelAdapter
implementation returns a null dependency.getDependency
in class ModelAdapter
public boolean isFile()
ContainerModelAdapter.isFile()
returns true.
isFile
in class ModelAdapter
public FileModelAdapter getFileAdapter()
ModelAdapter
getFileAdapter
in class ModelAdapter
public boolean contains(ModelAdapter that)
ModelAdapter
contains
in class ModelAdapter
that
- The ModelAdapter
to test.public int compareTo(java.lang.Object object)
ModelAdapter
ModelFactory
instances cannot be compared.compareTo
in interface java.lang.Comparable
compareTo
in class ModelAdapter
object
- The node with which to compare this node.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |