Package com.zeroc.Ice

Class Value

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

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

    • Value

      public Value()
  • Method Details

    • clone

      public Value clone()
      Returns a shallow field-for-field copy of this object.
      Overrides:
      clone in class Object
      Returns:
      the cloned object
    • ice_preMarshal

      public void ice_preMarshal()
      The Ice runtime calls this method before marshaling a class instance. Subclasses can override this method in order to update or validate their fields before marshaling.
    • ice_postUnmarshal

      public void ice_postUnmarshal()
      The Ice runtime calls this method after unmarshaling a class instance. Subclasses can override this method in order to update or validate their fields after unmarshaling.
    • ice_id

      public String ice_id()
      Returns the Slice type ID of the most-derived class supported by this object.
      Returns:
      the Slice type ID
    • ice_getSlicedData

      public SlicedData ice_getSlicedData()
      Returns the sliced data associated with this instance.
      Returns:
      If this value has a preserved-slice base class and has been sliced during unmarshaling, this returns the sliced data; otherwise this returns null.
    • ice_staticId

      public static String ice_staticId()
      Returns the Slice type ID of this type.
      Returns:
      The return value is always "::Ice::Object".