ValueBase.java revision 608:7e06bf1dcb09
1168404Spjd/*
2168404Spjd * Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved.
3168404Spjd * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4168404Spjd *
5168404Spjd * This code is free software; you can redistribute it and/or modify it
6168404Spjd * under the terms of the GNU General Public License version 2 only, as
7168404Spjd * published by the Free Software Foundation.  Oracle designates this
8168404Spjd * particular file as subject to the "Classpath" exception as provided
9168404Spjd * by Oracle in the LICENSE file that accompanied this code.
10168404Spjd *
11168404Spjd * This code is distributed in the hope that it will be useful, but WITHOUT
12168404Spjd * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13168404Spjd * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14168404Spjd * version 2 for more details (a copy is included in the LICENSE file that
15168404Spjd * accompanied this code).
16168404Spjd *
17168404Spjd * You should have received a copy of the GNU General Public License version
18168404Spjd * 2 along with this work; if not, write to the Free Software Foundation,
19168404Spjd * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20168404Spjd *
21168404Spjd * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22219089Spjd * or visit www.oracle.com if you need additional information or have any
23269002Sdelphij * questions.
24297112Smav */
25168404Spjd/*
26168404Spjd * Licensed Materials - Property of IBM
27169195Spjd * RMI-IIOP v1.0
28226732Smm * Copyright IBM Corp. 1998 1999  All Rights Reserved
29169195Spjd *
30168404Spjd */
31168404Spjd
32168404Spjdpackage org.omg.CORBA.portable;
33168404Spjd/**
34168404Spjd * The generated Java classes corresponding to valuetype IDL types
35168404Spjd * implement this interface. In other words, the Java mapping of
36168404Spjd * valuetype objects implement the ValueBase interface. The generated
37168404Spjd * Java class for valuetype's shall provide an implementation of the
38185029Spjd * ValueBase interface for the corresponding value type.
39185029Spjd * For value types that are streamable (i.e. non-custom),
40168404Spjd * the generated Java class shall also provide an implementation
41168404Spjd * for the org.omg.CORBA.portable.Streamable interface.
42168404Spjd * (CORBA::ValueBase is mapped to java.io.Serializable.)
43168404Spjd */
44168404Spjdpublic interface ValueBase extends IDLEntity {
45168404Spjd    /**
46168404Spjd     * Provides truncatable repository ids.
47168404Spjd     * @return a String array--list of truncatable repository ids.
48168404Spjd     */
49168404Spjd    String[] _truncatable_ids();
50168404Spjd}
51185029Spjd