1 |
/* ValueMember.java -- |
/* ValueMember.java -- |
2 |
Copyright (C) 2005 Free Software Foundation, Inc. |
Copyright (C) 2005 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
38 |
|
|
39 |
package org.omg.CORBA; |
package org.omg.CORBA; |
40 |
|
|
41 |
|
import java.io.Serializable; |
42 |
|
|
43 |
/** |
/** |
44 |
* The class, defining properties of the value member. |
* The class, defining properties of the value member. |
45 |
* |
* |
46 |
* @author Audrius Meskauskas (AudriusA@Bioinformatics.org) |
* @author Audrius Meskauskas (AudriusA@Bioinformatics.org) |
47 |
*/ |
*/ |
48 |
public class ValueMember |
public class ValueMember |
49 |
|
implements Serializable, IDLEntity |
50 |
{ |
{ |
51 |
/** |
/** |
52 |
|
* Use serialVersionUID (v1.4) for interoperability. |
53 |
|
*/ |
54 |
|
private static final long serialVersionUID = -2507594168537449114L; |
55 |
|
|
56 |
|
/** |
57 |
* The typedef that represents the IDL type of the value member. |
* The typedef that represents the IDL type of the value member. |
58 |
*/ |
*/ |
59 |
public IDLType type_def; |
public IDLType type_def; |
80 |
public TypeCode type; |
public TypeCode type; |
81 |
|
|
82 |
/** |
/** |
83 |
* The type of access (public, private) of this value member. |
* The type of access (public, private) of this value member. |
84 |
* This field can be equal to either {@link PUBLIC_MEMBER#value} or |
* This field can be equal to either {@link PUBLIC_MEMBER#value} or |
85 |
* {@link PRIVATE_MEMBER#value}. |
* {@link PRIVATE_MEMBER#value}. |
86 |
*/ |
*/ |
87 |
public short access; |
public short access; |
88 |
|
|
89 |
/** |
/** |
90 |
* Create the value member with all fields initialised to default values |
* Create the value member with all fields initialised to default values |
103 |
* @param a_version version. |
* @param a_version version. |
104 |
* @param a_type tye. |
* @param a_type tye. |
105 |
* @param a_type_def {@link IDLType} (typeded). |
* @param a_type_def {@link IDLType} (typeded). |
106 |
* @param an_access accessibility scope. Can be equal to either |
* @param an_access accessibility scope. Can be equal to either |
107 |
* {@link PUBLIC_MEMBER#value} or {@link PRIVATE_MEMBER#value}. |
* {@link PUBLIC_MEMBER#value} or {@link PRIVATE_MEMBER#value}. |
108 |
*/ |
*/ |
109 |
public ValueMember(String a_name, String an_id, String is_defined_in, |
public ValueMember(String a_name, String an_id, String is_defined_in, |
110 |
String a_version, TypeCode a_type, IDLType a_type_def, |
String a_version, TypeCode a_type, IDLType a_type_def, |
111 |
short an_access |
short an_access |
112 |
) |
) |
113 |
{ |
{ |
114 |
name = a_name; |
name = a_name; |
115 |
id = an_id; |
id = an_id; |