Interface IContextDataInput

All Superinterfaces:
DataInput
All Known Implementing Classes:
ContextDataInputStream

public interface IContextDataInput extends DataInput
Customized data input for IObjectDerivedDataContext serialization
  • Method Details

    • readEClass

      org.eclipse.emf.ecore.EClass readEClass() throws IOException
      Reads EClass being serialized by the call of IContextDataOutput.writeEClass(EClass) method. The EClass must be registered in BM model as a storable object type
      Returns:
      Stored EClass. Never null
      Throws:
      IOException - In case of deserialization errors
    • readEStructuralFeature

      org.eclipse.emf.ecore.EStructuralFeature readEStructuralFeature() throws IOException
      Reads structural feature being serialized by the call of IContextDataOutput.writeEStructuralFeature(EStructuralFeature) method. The corresponding containing EClass must be registered in BM model as a storable object type
      Returns:
      Stored structural feature. Never null
      Throws:
      IOException - In case of deserialization errors
    • readLongCollection

      void readLongCollection(Collection<Long> targetCollection) throws IOException
      Reads Long collection being serialized by the call of {@link IContextDataOutput#writeLongCollection(Collection))} method.
      Parameters:
      targetCollection - A target collection to read data into. May not be NullPointerException
      Throws:
      IOException - In case of deserialization errors