Package org.jacorb.trading.db.pse.offers

Source Code of org.jacorb.trading.db.pse.offers.ProxyPolicy

// Copyright (C) 1998-1999
// Object Oriented Concepts, Inc.

// **********************************************************************
//
// Copyright (c) 1997
// Mark Spruiell (mark@intellisoft.com)
//
// See the COPYING file for more information
//
// **********************************************************************

package org.jacorb.trading.db.pse.offers;


import java.util.*;
import org.omg.CosTrading.Policy;
import org.jacorb.trading.util.*;


public class ProxyPolicy
{
  private String m_name;
  private AnyValue m_value;


  private ProxyPolicy()
  {
  }


  public ProxyPolicy(Policy prop)
  {
    m_name = prop.name;
    m_value = new AnyValue(prop.value);
  }


  public Policy describe()
  {
    Policy result = new Policy();

    result.name = m_name;
    result.value = m_value.getValue();

    return result;
  }
}










TOP

Related Classes of org.jacorb.trading.db.pse.offers.ProxyPolicy

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.