public abstract class Repository extends Object
Modifier and Type | Field and Description |
---|---|
protected FormNode |
forms
The data forms supported by this repository.
|
Constructor and Description |
---|
Repository(String name,
String location)
Construct a data repository.
|
Modifier and Type | Method and Description |
---|---|
void |
add(String id,
Data data,
boolean replace)
Add a data object to an existing data object in the repository.
|
protected abstract String |
fullName(String id)
Return the fully-qualified name of a persistent data object.
|
abstract Enumeration |
getEnumeration()
Return an enumeration of the data objects in this repository.
|
FormNode |
getForms()
Return the forms of data that are supported by this repository.
|
FormNode |
getForms(Data data)
Return the forms of data that are both supported by this repository
and compatible with a data object.
|
String |
getLocation()
Return the location of this repository.
|
String |
getName()
Return the name of this repository.
|
DataImpl |
open(String id)
Open an existing data object in the repository.
|
DataImpl |
open(URL url)
Open a data object specified as a URL.
|
void |
save(String id,
Data data,
boolean replace)
Save a data object in the first compatible data form.
|
void |
save(String id,
Data data,
FormNode form,
boolean replace)
Save a data object in a particular form.
|
protected FormNode forms
public String getName()
public String getLocation()
public FormNode getForms()
public FormNode getForms(Data data) throws VisADException, IOException, RemoteException
VisADException
IOException
RemoteException
public abstract Enumeration getEnumeration() throws BadRepositoryException, SecurityException
public void save(String id, Data data, boolean replace) throws VisADException, IOException, RemoteException
VisADException
IOException
RemoteException
public void save(String id, Data data, FormNode form, boolean replace) throws VisADException, RemoteException, IOException
VisADException
RemoteException
IOException
public void add(String id, Data data, boolean replace) throws VisADException
VisADException
public DataImpl open(String id) throws VisADException, IOException
VisADException
IOException
public DataImpl open(URL url) throws VisADException, IOException
VisADException
IOException
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.