Package com.zeroc.Ice

Class Value

java.lang.Object
com.zeroc.Ice.Value
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
BoxedDistributionDescriptor, BoxedString, CommunicatorDescriptor, InterfaceByValue, LoadBalancingPolicy, Metrics, UnknownSlicedValue, ValueReader, ValueWriter

public abstract class Value extends Object implements Cloneable, Serializable
The base class for instances of Slice classes.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a copy of the object.
    Returns the sliced data if the value has a preserved-slice base class and has been sliced during un-marshaling of the value, null is returned otherwise.
    Returns the Slice type ID of the most-derived interface supported by this object.
    void
    The Ice run time invokes this method after unmarshaling an object's data members.
    void
    The Ice run time invokes this method prior to marshaling an object's data members.
    static String
     

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Value

      public Value()
  • Method Details

    • clone

      public Value clone()
      Returns a copy of the object. The cloned object contains field-for-field copies of the state.
      Overrides:
      clone in class Object
      Returns:
      The cloned object.
    • ice_preMarshal

      public void ice_preMarshal()
      The Ice run time invokes this method prior to marshaling an object's data members. This allows a subclass to override this method in order to validate its data members.
    • ice_postUnmarshal

      public void ice_postUnmarshal()
      The Ice run time invokes this method after unmarshaling an object's data members. This allows a subclass to override this method in order to perform additional initialization.
    • ice_id

      public String ice_id()
      Returns the Slice type ID of the most-derived interface supported by this object.
      Returns:
      The return value is always ::Ice::Object.
    • ice_getSlicedData

      public SlicedData ice_getSlicedData()
      Returns the sliced data if the value has a preserved-slice base class and has been sliced during un-marshaling of the value, null is returned otherwise.
      Returns:
      The sliced data or null.
    • ice_staticId

      public static String ice_staticId()