Class TypeCodeImpl
- java.lang.Object
-
- org.omg.CORBA.TypeCode
-
- com.sun.corba.ee.impl.corba.TypeCodeImpl
-
- All Implemented Interfaces:
java.io.Serializable
,IDLEntity
public final class TypeCodeImpl extends TypeCode
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private TypeCodeImpl
_concrete_base
private TypeCodeImpl
_contentType
private int
_defaultIndex
private short
_digits
private TypeCodeImpl
_discriminator
private java.lang.String
_id
private TypeCodeImpl
_indirectType
private int
_kind
private int
_length
private short[]
_memberAccess
private int
_memberCount
private java.lang.String[]
_memberNames
private TypeCodeImpl[]
_memberTypes
private java.lang.String
_name
private ORB
_orb
private TypeCodeImpl
_parent
private int
_parentOffset
private short
_scale
private short
_type_modifier
private AnyImpl[]
_unionLabels
private boolean
cachingEnabled
private static int
COMPLEX
private static int
EMPTY
(package private) static java.lang.String[]
kindNames
private byte[]
outBuffer
private static long
serialVersionUID
private static int
SIMPLE
private static int
tk_indirect
private static int[]
typeTable
private static ORBUtilSystemException
wrapper
-
Constructor Summary
Constructors Constructor Description TypeCodeImpl(ORB orb)
TypeCodeImpl(ORB orb, int creationKind)
TypeCodeImpl(ORB orb, int creationKind, int bound)
TypeCodeImpl(ORB orb, int creationKind, int bound, int offset)
TypeCodeImpl(ORB orb, int creationKind, int bound, TypeCode element_type)
TypeCodeImpl(ORB orb, int creationKind, short digits, short scale)
TypeCodeImpl(ORB orb, int creationKind, java.lang.String id, java.lang.String name)
TypeCodeImpl(ORB orb, int creationKind, java.lang.String id, java.lang.String name, short type_modifier, TypeCode concrete_base, ValueMember[] members)
TypeCodeImpl(ORB orb, int creationKind, java.lang.String id, java.lang.String name, java.lang.String[] members)
TypeCodeImpl(ORB orb, int creationKind, java.lang.String id, java.lang.String name, StructMember[] members)
TypeCodeImpl(ORB orb, int creationKind, java.lang.String id, java.lang.String name, TypeCode original_type)
TypeCodeImpl(ORB orb, int creationKind, java.lang.String id, java.lang.String name, TypeCode discriminator_type, UnionMember[] members)
TypeCodeImpl(ORB orb, java.lang.String id)
TypeCodeImpl(ORB orb, TypeCode tc)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeCode
concrete_base_type()
Returns theTypeCode
object that describes the concrete base type of the value type that thisTypeCode
object describes.TypeCode
content_type()
Returns theTypeCode
object representing the IDL type for the members of the object described by thisTypeCode
object.protected static TypeCodeImpl
convertToNative(ORB orb, TypeCode tc)
protected void
copy(InputStream src, OutputStream dst)
This is not a copy of the TypeCodeImpl objects, but instead it copies the value this type code is representing.private void
createAliasTypeCode(ORB orb, int creationKind, java.lang.String id, java.lang.String name, TypeCode original_type)
private void
createArrayTypeCode(ORB orb, int creationKind, int bound, TypeCode element_type)
private void
createEnumTypeCode(ORB orb, int creationKind, java.lang.String id, java.lang.String name, java.lang.String[] members)
private void
createFixedTypeCode(ORB orb, int creationKind, short digits, short scale)
private void
createFromNonNativeTypeCode(ORB orb, TypeCode tc)
private void
createObjrefTypeCode(ORB orb, int creationKind, java.lang.String id, java.lang.String name)
private void
createPrimitiveTypeCode(ORB orb, int creationKind)
private void
createRecursiveSequenceTypeCode(ORB orb, int creationKind, int bound, int offset)
private void
createRecursiveTypeCode(ORB orb, java.lang.String id)
private void
createStringTypeCode(ORB orb, int creationKind, int bound)
private void
createStructTypeCode(ORB orb, int creationKind, java.lang.String id, java.lang.String name, StructMember[] members)
private void
createUnionTypeCode(ORB orb, int creationKind, java.lang.String id, java.lang.String name, TypeCode discriminator_type, UnionMember[] members)
private void
createValueTypeCode(ORB orb, int creationKind, java.lang.String id, java.lang.String name, short type_modifier, TypeCode concrete_base, ValueMember[] members)
(package private) int
currentUnionMemberIndex(Any discriminatorValue)
int
default_index()
Returns the index of the default member, or -1 if there is no default member.java.lang.String
description()
protected static short
digits(java.math.BigDecimal value)
TypeCode
discriminator_type()
Returns aTypeCode
object describing all non-default member labels.boolean
equal(TypeCode tc)
Compares thisTypeCode
object with the given one, testing for equality.boolean
equivalent(TypeCode tc)
The equivalent operation is used by the ORB when determining type equivalence for values stored in an IDL any.short
fixed_digits()
Returns the number of digits in the fixed type described by thisTypeCode
object.short
fixed_scale()
Returns the scale of the fixed type described by thisTypeCode
object.TypeCode
get_compact_typecode()
Strips out all optional name and member name fields, but leaves all alias typecodes intact.private TypeCodeImpl
getParentAtLevel(int level)
java.lang.String
id()
Retrieves the RepositoryId globally identifying the type of thisTypeCode
object.private java.lang.String
indent(int level)
private TypeCodeImpl
indirectType()
boolean
is_recursive()
TCKind
kind()
Retrieves the kind of thisTypeCode
object.private TypeCodeImpl
lazy_content_type()
int
length()
Returns the number of elements in the type described by thisTypeCode
object.int
member_count()
Retrieves the number of members in the type described by thisTypeCode
object.Any
member_label(int index)
Retrieves the label of the union member identified by the given index.java.lang.String
member_name(int index)
Retrieves the simple name of the member identified by the given index.TypeCode
member_type(int index)
Retrieves theTypeCode
object describing the type of the member identified by the given index.short
member_visibility(int index)
Returns the constant that indicates the visibility of the member at the given index.java.lang.String
name()
Retrieves the simple name identifying thisTypeCode
object within its enclosing scope.static CDROutputObject
newOutputStream(ORB orb)
void
printStream(java.io.PrintStream s)
private void
printStream(java.io.PrintStream s, int level)
void
read_value(InputStream is)
(package private) void
read_value_body(InputStream is)
(package private) boolean
read_value_kind(TypeCodeReader tcis)
(package private) void
read_value_kind(InputStream is)
private void
read_value_recursive(TypeCodeInputStream is)
private void
readObject(java.io.ObjectInputStream is)
private void
readValueBodyComplexAlias(InputStream is, TypeCodeInputStream _encap)
private void
readValueBodyComplexArray(InputStream is, TypeCodeInputStream _encap)
private void
readValueBodyComplexEnum(TypeCodeInputStream _encap)
private void
readValueBodyComplexObjref(TypeCodeInputStream _encap)
private void
readValueBodyComplexSequence(InputStream is, TypeCodeInputStream _encap)
private void
readValueBodyComplexStruct(InputStream is, TypeCodeInputStream _encap)
private void
readValueBodyComplexUnion(InputStream is, TypeCodeInputStream _encap)
private void
readValueBodyComplexValue(InputStream is, TypeCodeInputStream _encap)
private void
readValueBodySimple(InputStream is)
private TypeCode
realType(TypeCode aType)
protected static short
scale(java.math.BigDecimal value)
protected void
setCaching(boolean enableCaching)
private void
setId(java.lang.String newID)
private void
setIndirectType(TypeCodeImpl newType)
private void
setParent(TypeCodeImpl parent)
java.lang.String
toString()
private TypeCodeImpl
tryIndirectType()
short
type_modifier()
Returns a constant indicating the modifier of the value type that thisTypeCode
object describes.void
write_value(TypeCodeOutputStream tcos)
void
write_value(OutputStream os)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
tk_indirect
private static final int tk_indirect
- See Also:
- Constant Field Values
-
EMPTY
private static final int EMPTY
- See Also:
- Constant Field Values
-
SIMPLE
private static final int SIMPLE
- See Also:
- Constant Field Values
-
COMPLEX
private static final int COMPLEX
- See Also:
- Constant Field Values
-
typeTable
private static final int[] typeTable
-
kindNames
static final java.lang.String[] kindNames
-
_kind
private int _kind
-
_id
private java.lang.String _id
-
_name
private java.lang.String _name
-
_memberCount
private int _memberCount
-
_memberNames
private java.lang.String[] _memberNames
-
_memberTypes
private TypeCodeImpl[] _memberTypes
-
_unionLabels
private AnyImpl[] _unionLabels
-
_discriminator
private TypeCodeImpl _discriminator
-
_defaultIndex
private int _defaultIndex
-
_length
private int _length
-
_contentType
private TypeCodeImpl _contentType
-
_digits
private short _digits
-
_scale
private short _scale
-
_type_modifier
private short _type_modifier
-
_concrete_base
private TypeCodeImpl _concrete_base
-
_memberAccess
private short[] _memberAccess
-
_parent
private TypeCodeImpl _parent
-
_parentOffset
private int _parentOffset
-
_indirectType
private TypeCodeImpl _indirectType
-
outBuffer
private byte[] outBuffer
-
cachingEnabled
private boolean cachingEnabled
-
_orb
@Copy(IDENTITY) private transient ORB _orb
-
wrapper
@Copy(IDENTITY) private static final ORBUtilSystemException wrapper
-
-
Constructor Detail
-
TypeCodeImpl
public TypeCodeImpl(ORB orb)
-
TypeCodeImpl
public TypeCodeImpl(ORB orb, int creationKind)
-
TypeCodeImpl
public TypeCodeImpl(ORB orb, int creationKind, java.lang.String id, java.lang.String name, StructMember[] members)
-
TypeCodeImpl
public TypeCodeImpl(ORB orb, int creationKind, java.lang.String id, java.lang.String name, TypeCode discriminator_type, UnionMember[] members)
-
TypeCodeImpl
public TypeCodeImpl(ORB orb, int creationKind, java.lang.String id, java.lang.String name, short type_modifier, TypeCode concrete_base, ValueMember[] members)
-
TypeCodeImpl
public TypeCodeImpl(ORB orb, int creationKind, java.lang.String id, java.lang.String name, java.lang.String[] members)
-
TypeCodeImpl
public TypeCodeImpl(ORB orb, int creationKind, java.lang.String id, java.lang.String name, TypeCode original_type)
-
TypeCodeImpl
public TypeCodeImpl(ORB orb, int creationKind, java.lang.String id, java.lang.String name)
-
TypeCodeImpl
public TypeCodeImpl(ORB orb, int creationKind, int bound)
-
TypeCodeImpl
public TypeCodeImpl(ORB orb, int creationKind, int bound, int offset)
-
TypeCodeImpl
public TypeCodeImpl(ORB orb, java.lang.String id)
-
TypeCodeImpl
public TypeCodeImpl(ORB orb, int creationKind, short digits, short scale)
-
-
Method Detail
-
readObject
private void readObject(java.io.ObjectInputStream is) throws java.io.IOException, java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
-
createPrimitiveTypeCode
private void createPrimitiveTypeCode(ORB orb, int creationKind)
-
createStructTypeCode
private void createStructTypeCode(ORB orb, int creationKind, java.lang.String id, java.lang.String name, StructMember[] members)
-
createUnionTypeCode
private void createUnionTypeCode(ORB orb, int creationKind, java.lang.String id, java.lang.String name, TypeCode discriminator_type, UnionMember[] members)
-
createValueTypeCode
private void createValueTypeCode(ORB orb, int creationKind, java.lang.String id, java.lang.String name, short type_modifier, TypeCode concrete_base, ValueMember[] members)
-
createEnumTypeCode
private void createEnumTypeCode(ORB orb, int creationKind, java.lang.String id, java.lang.String name, java.lang.String[] members)
-
createAliasTypeCode
private void createAliasTypeCode(ORB orb, int creationKind, java.lang.String id, java.lang.String name, TypeCode original_type)
-
createObjrefTypeCode
private void createObjrefTypeCode(ORB orb, int creationKind, java.lang.String id, java.lang.String name)
-
createStringTypeCode
private void createStringTypeCode(ORB orb, int creationKind, int bound)
-
createArrayTypeCode
private void createArrayTypeCode(ORB orb, int creationKind, int bound, TypeCode element_type)
-
createRecursiveSequenceTypeCode
private void createRecursiveSequenceTypeCode(ORB orb, int creationKind, int bound, int offset)
-
createRecursiveTypeCode
private void createRecursiveTypeCode(ORB orb, java.lang.String id)
-
createFixedTypeCode
private void createFixedTypeCode(ORB orb, int creationKind, short digits, short scale)
-
convertToNative
protected static TypeCodeImpl convertToNative(ORB orb, TypeCode tc)
-
newOutputStream
public static CDROutputObject newOutputStream(ORB orb)
-
indirectType
private TypeCodeImpl indirectType()
-
tryIndirectType
private TypeCodeImpl tryIndirectType()
-
setIndirectType
private void setIndirectType(TypeCodeImpl newType)
-
setId
private void setId(java.lang.String newID)
-
setParent
private void setParent(TypeCodeImpl parent)
-
getParentAtLevel
private TypeCodeImpl getParentAtLevel(int level)
-
lazy_content_type
private TypeCodeImpl lazy_content_type()
-
equal
public final boolean equal(TypeCode tc)
Description copied from class:TypeCode
Compares thisTypeCode
object with the given one, testing for equality.TypeCode
objects are equal if they are interchangeable and give identical results whenTypeCode
operations are applied to them.
-
equivalent
public boolean equivalent(TypeCode tc)
The equivalent operation is used by the ORB when determining type equivalence for values stored in an IDL any.- Specified by:
equivalent
in classTypeCode
- Parameters:
tc
- the typecode to compare with this typecode- Returns:
true
if the given typecode is equivalent to this typecode;false
otherwise- See Also:
CORBA
package comments for unimplemented features
-
get_compact_typecode
public TypeCode get_compact_typecode()
Description copied from class:TypeCode
Strips out all optional name and member name fields, but leaves all alias typecodes intact.- Specified by:
get_compact_typecode
in classTypeCode
- Returns:
- a
TypeCode
object with optional name and member name fields stripped out, except for alias typecodes, which are left intact - See Also:
CORBA
package comments for unimplemented features
-
kind
public TCKind kind()
Description copied from class:TypeCode
Retrieves the kind of thisTypeCode
object. The kind of a type code determines whichTypeCode
methods may legally be invoked on it.The method
kind
may be invoked on anyTypeCode
object.
-
is_recursive
public boolean is_recursive()
-
id
public java.lang.String id() throws BadKind
Description copied from class:TypeCode
Retrieves the RepositoryId globally identifying the type of thisTypeCode
object.The method
id
can be invoked on object reference, structure, union, enumeration, alias, exception, valuetype, boxed valuetype, native, and abstract interface type codes. Object reference, exception, valuetype, boxed valuetype, native, and abstract interfaceTypeCode
objects always have a RepositoryId. Structure, union, enumeration, and aliasTypeCode
objects obtained from the Interface Repository or the methodORB.create_operation_list
also always have a RepositoryId. If there is no RepositoryId, the method can return an empty string.
-
name
public java.lang.String name() throws BadKind
Description copied from class:TypeCode
Retrieves the simple name identifying thisTypeCode
object within its enclosing scope. Since names are local to a Repository, the name returned from aTypeCode
object may not match the name of the type in any particular Repository, and may even be an empty string.The method
name
can be invoked on object reference, structure, union, enumeration, alias, exception, valuetype, boxed valuetype, native, and abstract interfaceTypeCode
objects.
-
member_count
public int member_count() throws BadKind
Description copied from class:TypeCode
Retrieves the number of members in the type described by thisTypeCode
object.The method
member_count
can be invoked on structure, union, and enumerationTypeCode
objects. Java IDL extends the CORBA specification to allow this method to operate on exceptions as well.- Specified by:
member_count
in classTypeCode
- Returns:
- the number of members constituting the type described
by this
TypeCode
object - Throws:
BadKind
- if the method is invoked on an inappropriate kind ofTypeCode
object
-
member_name
public java.lang.String member_name(int index) throws BadKind, Bounds
Description copied from class:TypeCode
Retrieves the simple name of the member identified by the given index. Since names are local to a Repository, the name returned from aTypeCode
object may not match the name of the member in any particular Repository, and may even be an empty string.The method
member_name
can be invoked on structure, union, and enumerationTypeCode
objects. Java IDL extends the CORBA specification to allow this method to operate on exceptions as well.- Specified by:
member_name
in classTypeCode
- Parameters:
index
- index of the member for which a name is being reqested- Returns:
- simple name of the member identified by the index or an empty string
- Throws:
BadKind
- if the method is invoked on an inappropriate kind ofTypeCode
objectBounds
- if the index is equal to or greater than the number of members constituting the type
-
member_type
public TypeCode member_type(int index) throws BadKind, Bounds
Description copied from class:TypeCode
Retrieves theTypeCode
object describing the type of the member identified by the given index.The method
member_type
can be invoked on structure and unionTypeCode
objects. Java IDL extends the CORBA specification to allow this method to operate on exceptions as well.- Specified by:
member_type
in classTypeCode
- Parameters:
index
- index of the member for which type information is begin requested- Returns:
- the
TypeCode
object describing the member at the given index - Throws:
BadKind
- if the method is invoked on an inappropriate kind ofTypeCode
objectBounds
- if the index is equal to or greater than the number of members constituting the type
-
member_label
public Any member_label(int index) throws BadKind, Bounds
Description copied from class:TypeCode
Retrieves the label of the union member identified by the given index. For the default member, the label is the zero octet.The method
member_label
can only be invoked on unionTypeCode
objects.- Specified by:
member_label
in classTypeCode
- Parameters:
index
- index of the union member for which the label is being requested- Returns:
- an
Any
object describing the label of the requested union member or the zero octet for the default member - Throws:
BadKind
- if the method is invoked on a non-unionTypeCode
objectBounds
- if the index is equal to or greater than the number of members constituting the union
-
discriminator_type
public TypeCode discriminator_type() throws BadKind
Description copied from class:TypeCode
Returns aTypeCode
object describing all non-default member labels. The methoddiscriminator_type
can be invoked only on unionTypeCode
objects.- Specified by:
discriminator_type
in classTypeCode
- Returns:
- the
TypeCode
object describing the non-default member labels - Throws:
BadKind
- if the method is invoked on a non-unionTypeCode
object
-
default_index
public int default_index() throws BadKind
Description copied from class:TypeCode
Returns the index of the default member, or -1 if there is no default member.The method
default_index
can be invoked only on unionTypeCode
objects.- Specified by:
default_index
in classTypeCode
- Returns:
- the index of the default member, or -1 if there is no default member
- Throws:
BadKind
- if the method is invoked on a non-unionTypeCode
object
-
length
public int length() throws BadKind
Description copied from class:TypeCode
Returns the number of elements in the type described by thisTypeCode
object. For strings and sequences, it returns the bound, with zero indicating an unbounded string or sequence. For arrays, it returns the number of elements in the array.The method
length
can be invoked on string, sequence, and arrayTypeCode
objects.
-
content_type
public TypeCode content_type() throws BadKind
Description copied from class:TypeCode
Returns theTypeCode
object representing the IDL type for the members of the object described by thisTypeCode
object. For sequences and arrays, it returns the element type. For aliases, it returns the original type. Note that multidimensional arrays are represented by nestingTypeCode
objects, one per dimension. For boxed valuetypes, it returns the boxed type.The method
content_type
can be invoked on sequence, array, alias, and boxed valuetypeTypeCode
objects.- Specified by:
content_type
in classTypeCode
- Returns:
- a
TypeCode
object representing the element type for sequences and arrays, the original type for aliases, or the boxed type for boxed valuetypes. - Throws:
BadKind
- if the method is invoked on an inappropriate kind ofTypeCode
object
-
fixed_digits
public short fixed_digits() throws BadKind
Description copied from class:TypeCode
Returns the number of digits in the fixed type described by thisTypeCode
object. For example, the typecode for the number 3000.275d could befixed<7,3>
, where 7 is the precision and 3 is the scale.- Specified by:
fixed_digits
in classTypeCode
- Returns:
- the total number of digits
- Throws:
BadKind
- if this method is invoked on an inappropriate kind ofTypeCode
object
-
fixed_scale
public short fixed_scale() throws BadKind
Description copied from class:TypeCode
Returns the scale of the fixed type described by thisTypeCode
object. A positive number indicates the number of digits to the right of the decimal point. For example, the number 3000d could have the typecodefixed<4,0>
, where the first number is the precision and the second number is the scale. A negative number is also possible and adds zeroes to the left of the decimal point. In this case,fixed<1,-3>
, could be the typecode for the number 3000d.- Specified by:
fixed_scale
in classTypeCode
- Returns:
- the scale of the fixed type that this
TypeCode
object describes - Throws:
BadKind
- if this method is invoked on an inappropriate kind ofTypeCode
object
-
member_visibility
public short member_visibility(int index) throws BadKind, Bounds
Description copied from class:TypeCode
Returns the constant that indicates the visibility of the member at the given index. This operation can only be invoked on non-boxed valueTypeCode
objects.- Specified by:
member_visibility
in classTypeCode
- Parameters:
index
- anint
indicating the index into the value- Returns:
- either
PRIVATE_MEMBER.value
orPUBLIC_MEMBER.value
- Throws:
BadKind
- if this method is invoked on a non-value typeTypeCode
objectBounds
- if the given index is out of bounds- See Also:
CORBA
package comments for unimplemented features
-
type_modifier
public short type_modifier() throws BadKind
Description copied from class:TypeCode
Returns a constant indicating the modifier of the value type that thisTypeCode
object describes. The constant returned must be one of the following:VM_NONE.value
,VM_ABSTRACT.value
,VM_CUSTOM.value
, orVM_TRUNCATABLE.value
,- Specified by:
type_modifier
in classTypeCode
- Returns:
- a constant describing the value type
that this
TypeCode
object describes - Throws:
BadKind
- if this method is invoked on a non-value typeTypeCode
object- See Also:
CORBA
package comments for unimplemented features
-
concrete_base_type
public TypeCode concrete_base_type() throws BadKind
Description copied from class:TypeCode
Returns theTypeCode
object that describes the concrete base type of the value type that thisTypeCode
object describes. Returns null if it doesn't have a concrete base type.- Specified by:
concrete_base_type
in classTypeCode
- Returns:
- the
TypeCode
object that describes the concrete base type of the value type that thisTypeCode
object describes - Throws:
BadKind
- if this method is invoked on a non-boxed value typeTypeCode
object- See Also:
CORBA
package comments for unimplemented features
-
read_value
public void read_value(InputStream is)
-
read_value_recursive
private void read_value_recursive(TypeCodeInputStream is)
-
read_value_kind
boolean read_value_kind(TypeCodeReader tcis)
-
read_value_kind
void read_value_kind(InputStream is)
-
readValueBodySimple
private void readValueBodySimple(InputStream is)
-
readValueBodyComplexObjref
private void readValueBodyComplexObjref(TypeCodeInputStream _encap)
-
readValueBodyComplexUnion
private void readValueBodyComplexUnion(InputStream is, TypeCodeInputStream _encap)
-
readValueBodyComplexEnum
private void readValueBodyComplexEnum(TypeCodeInputStream _encap)
-
readValueBodyComplexSequence
private void readValueBodyComplexSequence(InputStream is, TypeCodeInputStream _encap)
-
readValueBodyComplexArray
private void readValueBodyComplexArray(InputStream is, TypeCodeInputStream _encap)
-
readValueBodyComplexAlias
private void readValueBodyComplexAlias(InputStream is, TypeCodeInputStream _encap)
-
readValueBodyComplexStruct
private void readValueBodyComplexStruct(InputStream is, TypeCodeInputStream _encap)
-
readValueBodyComplexValue
private void readValueBodyComplexValue(InputStream is, TypeCodeInputStream _encap)
-
read_value_body
void read_value_body(InputStream is)
-
write_value
public void write_value(OutputStream os)
-
write_value
public void write_value(TypeCodeOutputStream tcos)
-
copy
protected void copy(InputStream src, OutputStream dst)
This is not a copy of the TypeCodeImpl objects, but instead it copies the value this type code is representing. See AnyImpl read_value and write_value for usage. The state of this TypeCodeImpl instance isn't changed, only used by the Any to do the correct copy.- Parameters:
src
- InputStream to copy.dst
- target for copy.
-
digits
protected static short digits(java.math.BigDecimal value)
-
scale
protected static short scale(java.math.BigDecimal value)
-
currentUnionMemberIndex
int currentUnionMemberIndex(Any discriminatorValue) throws BadKind
- Throws:
BadKind
-
description
public java.lang.String description()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
printStream
public void printStream(java.io.PrintStream s)
-
printStream
private void printStream(java.io.PrintStream s, int level)
-
indent
private java.lang.String indent(int level)
-
setCaching
protected void setCaching(boolean enableCaching)
-
-