edu.iris.Fissures.dataSetMgr
Class LocalDataSetImpl

java.lang.Object
  extended by edu.iris.Fissures.IfDataSetMgr.LocalDataSet
      extended by edu.iris.Fissures.dataSetMgr.LocalDataSetImpl
All Implemented Interfaces:
AuditSystemAccess, DataSet, DataSetAccess, java.io.Serializable, org.omg.CORBA.portable.IDLEntity, org.omg.CORBA.portable.Streamable, org.omg.CORBA.portable.StreamableValue, org.omg.CORBA.portable.ValueBase

public class LocalDataSetImpl
extends LocalDataSet

LocalDataSetImpl.java Created: Thu Dec 6 17:12:32 2001

See Also:
Serialized Form

Field Summary
 
Fields inherited from class edu.iris.Fissures.IfDataSetMgr.LocalDataSet
attributes, audit_trail, datasets, local_motion, local_seis, motion_vectors, seismograms
 
Constructor Summary
protected LocalDataSetImpl()
          Empty constructor to be used only for valuetype marshaling.
  LocalDataSetImpl(DataSetAttr attr)
           
 
Method Summary
 DataSet a_writeable()
          Navigation to a reference that allows updates
 void add_dataset(DataSetAccess a_dataset, AuditInfo[] audit_info)
          Add a child dataset
 java.lang.String add_motion_vector(MotionVectorNode a_motion_vector, AuditInfo[] audit_info)
          Add a child motion vector
 java.lang.String add_seismogram(SeismogramAccess a_seismogram, AuditInfo[] audit_info)
          Add a child motion seismogram
 void addLocalSeismogram(LocalSeismogram[] a_seismogram, AuditInfo[] audit_info)
          Add an array of child local seismograms
 void addLocalSeismogram(LocalSeismogram a_seismogram, AuditInfo[] audit_info)
          Add a child local seismogram
static java.io.Serializable createEmpty()
          A factory method to create an empty LocalDataSetImpl.
 void destroy()
          Delete this DataSet from the service presistent storage.
 DataSetAttr get_attributes()
          Retrieve the attributes
 AuditElement[] get_audit_trail()
           
 DataSetAccess[] get_datasets()
          Retrieve the dataset that are children of this dataset
 MotionVectorNode[] get_motion_vectors()
          Retrieve the motion vectors that are children of this dataset.
 SeismogramNode[] get_seismograms()
          Retrieve the seismograms that are children of this dataset
 LocalMotionVector[] getLocalModtionVectors()
           
 LocalSeismogram[] getLocalSeismograms()
           
 LocalDataSet localize()
          Retrieve a local copy of this dataset
 ParameterComponent parm_svc()
          Defines the ParameterMgr where parameters for this DataSet reside
 void remove_node(java.lang.String a_node, AuditInfo[] audit_info)
          Remove a node from the DataSet.
 void update_dataset(DataSetAttr dataset_attr, AuditInfo[] audit_info)
          Update the attributes of the dataset
 
Methods inherited from class edu.iris.Fissures.IfDataSetMgr.LocalDataSet
_read, _truncatable_ids, _type, _write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalDataSetImpl

protected LocalDataSetImpl()
Empty constructor to be used only for valuetype marshaling.


LocalDataSetImpl

public LocalDataSetImpl(DataSetAttr attr)
Method Detail

createEmpty

public static java.io.Serializable createEmpty()
A factory method to create an empty LocalDataSetImpl. This is to be used only by the ORB for unmarshelling valuetypes that have been sent via IIOP.


getLocalSeismograms

public LocalSeismogram[] getLocalSeismograms()

getLocalModtionVectors

public LocalMotionVector[] getLocalModtionVectors()

addLocalSeismogram

public void addLocalSeismogram(LocalSeismogram a_seismogram,
                               AuditInfo[] audit_info)
                        throws FissuresException
Add a child local seismogram

Throws:
FissuresException

addLocalSeismogram

public void addLocalSeismogram(LocalSeismogram[] a_seismogram,
                               AuditInfo[] audit_info)
                        throws FissuresException
Add an array of child local seismograms

Throws:
FissuresException

a_writeable

public DataSet a_writeable()
Navigation to a reference that allows updates


parm_svc

public ParameterComponent parm_svc()
Defines the ParameterMgr where parameters for this DataSet reside


localize

public LocalDataSet localize()
Retrieve a local copy of this dataset


get_attributes

public DataSetAttr get_attributes()
Retrieve the attributes


get_datasets

public DataSetAccess[] get_datasets()
Retrieve the dataset that are children of this dataset


get_motion_vectors

public MotionVectorNode[] get_motion_vectors()
Retrieve the motion vectors that are children of this dataset.


get_seismograms

public SeismogramNode[] get_seismograms()
Retrieve the seismograms that are children of this dataset


destroy

public void destroy()
Delete this DataSet from the service presistent storage. Also, for all MotionVector or Seismogram children that are not children of any other DataSet delete them from the service presistent store.


update_dataset

public void update_dataset(DataSetAttr dataset_attr,
                           AuditInfo[] audit_info)
                    throws FissuresException
Update the attributes of the dataset

Throws:
FissuresException

add_dataset

public void add_dataset(DataSetAccess a_dataset,
                        AuditInfo[] audit_info)
                 throws NotFound,
                        NotADataSet
Add a child dataset

Throws:
NotFound
NotADataSet

add_motion_vector

public java.lang.String add_motion_vector(MotionVectorNode a_motion_vector,
                                          AuditInfo[] audit_info)
                                   throws FissuresException
Add a child motion vector

Throws:
FissuresException

add_seismogram

public java.lang.String add_seismogram(SeismogramAccess a_seismogram,
                                       AuditInfo[] audit_info)
                                throws FissuresException
Add a child motion seismogram

Throws:
FissuresException

remove_node

public void remove_node(java.lang.String a_node,
                        AuditInfo[] audit_info)
                 throws FissuresException
Remove a node from the DataSet. If the Node is a MotionVector or Seismogram and not a child of any other DataSet delete it from the service presistent store.

Throws:
FissuresException

get_audit_trail

public AuditElement[] get_audit_trail()
                               throws NotImplemented
Throws:
NotImplemented