xref: /AOO41X/main/ridljar/com/sun/star/uno/Union.java (revision 0c0e82a55dc5b7baa849907647dcb88a54f5f573)
1a046d00fSAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3a046d00fSAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4a046d00fSAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5a046d00fSAndrew Rist  * distributed with this work for additional information
6a046d00fSAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7a046d00fSAndrew Rist  * to you under the Apache License, Version 2.0 (the
8a046d00fSAndrew Rist  * "License"); you may not use this file except in compliance
9a046d00fSAndrew Rist  * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir  *
11a046d00fSAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir  *
13a046d00fSAndrew Rist  * Unless required by applicable law or agreed to in writing,
14a046d00fSAndrew Rist  * software distributed under the License is distributed on an
15a046d00fSAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16a046d00fSAndrew Rist  * KIND, either express or implied.  See the License for the
17a046d00fSAndrew Rist  * specific language governing permissions and limitations
18a046d00fSAndrew Rist  * under the License.
19cdf0e10cSrcweir  *
20a046d00fSAndrew Rist  *************************************************************/
21a046d00fSAndrew Rist 
22a046d00fSAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir package com.sun.star.uno;
25cdf0e10cSrcweir 
26cdf0e10cSrcweir /**
27cdf0e10cSrcweir  * The Union class is the base class for all classes generated
28cdf0e10cSrcweir  * as java binding for the IDL type union.
29cdf0e10cSrcweir  * <p>
30*7d5c865cSDamjan Jovanovic  * Note: The idl type <code>union</code> is currently not fully
31cdf0e10cSrcweir  * integrated into the UNO framework, so don't use it.
32cdf0e10cSrcweir  *
33cdf0e10cSrcweir  * @version 	$Revision: 1.5 $ $ $Date: 2008-04-11 11:15:07 $
34cdf0e10cSrcweir  */
35cdf0e10cSrcweir public class Union {
36cdf0e10cSrcweir     /**
37cdf0e10cSrcweir 	 * Get the value in the union.
38cdf0e10cSrcweir 	 * The representation of the value is an any.
39cdf0e10cSrcweir 	 * <p>
40cdf0e10cSrcweir 	 *	@return the any value.
41cdf0e10cSrcweir      */
getValue()42cdf0e10cSrcweir 	public final Object getValue() {
43cdf0e10cSrcweir 		return m_value;
44cdf0e10cSrcweir 	}
45cdf0e10cSrcweir 
46cdf0e10cSrcweir 	protected Object m_value;
47cdf0e10cSrcweir }
48cdf0e10cSrcweir 
49