# OpenORB 1.3.1: Class BidirectionalPolicyValueHelper

## org.omg.BiDirPolicy
Class BidirectionalPolicyValueHelper

    java.lang.Object
      |
      +--org.omg.BiDirPolicy.BidirectionalPolicyValueHelper

public class BidirectionalPolicyValueHelper
extends java.lang.Object

Helper class for : BidirectionalPolicyValue

Author:
  OpenORB Compiler

Constructor Summary
`BidirectionalPolicyValueHelper()`

Method Summary
`static short` `extract(Any a)` Extract BidirectionalPolicyValue from an any
`static java.lang.String` `id()` Return the BidirectionalPolicyValue IDL ID
`static void` `insert(Any a, short t)` Insert BidirectionalPolicyValue into an any
`static short` `read(InputStream istream)` Read BidirectionalPolicyValue from a marshalled stream
`static TypeCode` `type()` Return the BidirectionalPolicyValue TypeCode
`static void` `write(OutputStream ostream, short value)` Write BidirectionalPolicyValue into a marshalled stream

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### BidirectionalPolicyValueHelper

    public BidirectionalPolicyValueHelper()

Method Detail

### insert

    public static void insert(Any a,
                              short t)

  Insert BidirectionalPolicyValue into an any
  Parameters:
    `a` - an any
    `t` - BidirectionalPolicyValue value

### extract

    public static short extract(Any a)

  Extract BidirectionalPolicyValue from an any
  Parameters:
    `a` - an any
  Returns:
    the extracted BidirectionalPolicyValue value

### type

    public static TypeCode type()

  Return the BidirectionalPolicyValue TypeCode
  Returns:
    a TypeCode

### id

    public static java.lang.String id()

  Return the BidirectionalPolicyValue IDL ID
  Returns:
    an ID

### read

    public static short read(InputStream istream)

  Read BidirectionalPolicyValue from a marshalled stream
  Parameters:
    `istream` - the input stream
  Returns:
    the readed BidirectionalPolicyValue value

### write

    public static void write(OutputStream ostream,
                             short value)

  Write BidirectionalPolicyValue into a marshalled stream
  Parameters:
    `ostream` - the output stream
    `value` - BidirectionalPolicyValue value