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_baseprivate TypeCodeImpl_contentTypeprivate int_defaultIndexprivate short_digitsprivate TypeCodeImpl_discriminatorprivate java.lang.String_idprivate TypeCodeImpl_indirectTypeprivate int_kindprivate int_lengthprivate short[]_memberAccessprivate int_memberCountprivate java.lang.String[]_memberNamesprivate TypeCodeImpl[]_memberTypesprivate java.lang.String_nameprivate ORB_orbprivate TypeCodeImpl_parentprivate int_parentOffsetprivate short_scaleprivate short_type_modifierprivate AnyImpl[]_unionLabelsprivate booleancachingEnabledprivate static intCOMPLEXprivate static intEMPTY(package private) static java.lang.String[]kindNamesprivate byte[]outBufferprivate static longserialVersionUIDprivate static intSIMPLEprivate static inttk_indirectprivate static int[]typeTableprivate static ORBUtilSystemExceptionwrapper
-
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 TypeCodeconcrete_base_type()Returns theTypeCodeobject that describes the concrete base type of the value type that thisTypeCodeobject describes.TypeCodecontent_type()Returns theTypeCodeobject representing the IDL type for the members of the object described by thisTypeCodeobject.protected static TypeCodeImplconvertToNative(ORB orb, TypeCode tc)protected voidcopy(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 voidcreateAliasTypeCode(ORB orb, int creationKind, java.lang.String id, java.lang.String name, TypeCode original_type)private voidcreateArrayTypeCode(ORB orb, int creationKind, int bound, TypeCode element_type)private voidcreateEnumTypeCode(ORB orb, int creationKind, java.lang.String id, java.lang.String name, java.lang.String[] members)private voidcreateFixedTypeCode(ORB orb, int creationKind, short digits, short scale)private voidcreateFromNonNativeTypeCode(ORB orb, TypeCode tc)private voidcreateObjrefTypeCode(ORB orb, int creationKind, java.lang.String id, java.lang.String name)private voidcreatePrimitiveTypeCode(ORB orb, int creationKind)private voidcreateRecursiveSequenceTypeCode(ORB orb, int creationKind, int bound, int offset)private voidcreateRecursiveTypeCode(ORB orb, java.lang.String id)private voidcreateStringTypeCode(ORB orb, int creationKind, int bound)private voidcreateStructTypeCode(ORB orb, int creationKind, java.lang.String id, java.lang.String name, StructMember[] members)private voidcreateUnionTypeCode(ORB orb, int creationKind, java.lang.String id, java.lang.String name, TypeCode discriminator_type, UnionMember[] members)private voidcreateValueTypeCode(ORB orb, int creationKind, java.lang.String id, java.lang.String name, short type_modifier, TypeCode concrete_base, ValueMember[] members)(package private) intcurrentUnionMemberIndex(Any discriminatorValue)intdefault_index()Returns the index of the default member, or -1 if there is no default member.java.lang.Stringdescription()protected static shortdigits(java.math.BigDecimal value)TypeCodediscriminator_type()Returns aTypeCodeobject describing all non-default member labels.booleanequal(TypeCode tc)Compares thisTypeCodeobject with the given one, testing for equality.booleanequivalent(TypeCode tc)The equivalent operation is used by the ORB when determining type equivalence for values stored in an IDL any.shortfixed_digits()Returns the number of digits in the fixed type described by thisTypeCodeobject.shortfixed_scale()Returns the scale of the fixed type described by thisTypeCodeobject.TypeCodeget_compact_typecode()Strips out all optional name and member name fields, but leaves all alias typecodes intact.private TypeCodeImplgetParentAtLevel(int level)java.lang.Stringid()Retrieves the RepositoryId globally identifying the type of thisTypeCodeobject.private java.lang.Stringindent(int level)private TypeCodeImplindirectType()booleanis_recursive()TCKindkind()Retrieves the kind of thisTypeCodeobject.private TypeCodeImpllazy_content_type()intlength()Returns the number of elements in the type described by thisTypeCodeobject.intmember_count()Retrieves the number of members in the type described by thisTypeCodeobject.Anymember_label(int index)Retrieves the label of the union member identified by the given index.java.lang.Stringmember_name(int index)Retrieves the simple name of the member identified by the given index.TypeCodemember_type(int index)Retrieves theTypeCodeobject describing the type of the member identified by the given index.shortmember_visibility(int index)Returns the constant that indicates the visibility of the member at the given index.java.lang.Stringname()Retrieves the simple name identifying thisTypeCodeobject within its enclosing scope.static CDROutputObjectnewOutputStream(ORB orb)voidprintStream(java.io.PrintStream s)private voidprintStream(java.io.PrintStream s, int level)voidread_value(InputStream is)(package private) voidread_value_body(InputStream is)(package private) booleanread_value_kind(TypeCodeReader tcis)(package private) voidread_value_kind(InputStream is)private voidread_value_recursive(TypeCodeInputStream is)private voidreadObject(java.io.ObjectInputStream is)private voidreadValueBodyComplexAlias(InputStream is, TypeCodeInputStream _encap)private voidreadValueBodyComplexArray(InputStream is, TypeCodeInputStream _encap)private voidreadValueBodyComplexEnum(TypeCodeInputStream _encap)private voidreadValueBodyComplexObjref(TypeCodeInputStream _encap)private voidreadValueBodyComplexSequence(InputStream is, TypeCodeInputStream _encap)private voidreadValueBodyComplexStruct(InputStream is, TypeCodeInputStream _encap)private voidreadValueBodyComplexUnion(InputStream is, TypeCodeInputStream _encap)private voidreadValueBodyComplexValue(InputStream is, TypeCodeInputStream _encap)private voidreadValueBodySimple(InputStream is)private TypeCoderealType(TypeCode aType)protected static shortscale(java.math.BigDecimal value)protected voidsetCaching(boolean enableCaching)private voidsetId(java.lang.String newID)private voidsetIndirectType(TypeCodeImpl newType)private voidsetParent(TypeCodeImpl parent)java.lang.StringtoString()private TypeCodeImpltryIndirectType()shorttype_modifier()Returns a constant indicating the modifier of the value type that thisTypeCodeobject describes.voidwrite_value(TypeCodeOutputStream tcos)voidwrite_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.IOExceptionjava.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:TypeCodeCompares thisTypeCodeobject with the given one, testing for equality.TypeCodeobjects are equal if they are interchangeable and give identical results whenTypeCodeoperations 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:
equivalentin classTypeCode- Parameters:
tc- the typecode to compare with this typecode- Returns:
trueif the given typecode is equivalent to this typecode;falseotherwise- See Also:
CORBApackage comments for unimplemented features
-
get_compact_typecode
public TypeCode get_compact_typecode()
Description copied from class:TypeCodeStrips out all optional name and member name fields, but leaves all alias typecodes intact.- Specified by:
get_compact_typecodein classTypeCode- Returns:
- a
TypeCodeobject with optional name and member name fields stripped out, except for alias typecodes, which are left intact - See Also:
CORBApackage comments for unimplemented features
-
kind
public TCKind kind()
Description copied from class:TypeCodeRetrieves the kind of thisTypeCodeobject. The kind of a type code determines whichTypeCodemethods may legally be invoked on it.The method
kindmay be invoked on anyTypeCodeobject.
-
is_recursive
public boolean is_recursive()
-
id
public java.lang.String id() throws BadKindDescription copied from class:TypeCodeRetrieves the RepositoryId globally identifying the type of thisTypeCodeobject.The method
idcan 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 interfaceTypeCodeobjects always have a RepositoryId. Structure, union, enumeration, and aliasTypeCodeobjects obtained from the Interface Repository or the methodORB.create_operation_listalso always have a RepositoryId. If there is no RepositoryId, the method can return an empty string.
-
name
public java.lang.String name() throws BadKindDescription copied from class:TypeCodeRetrieves the simple name identifying thisTypeCodeobject within its enclosing scope. Since names are local to a Repository, the name returned from aTypeCodeobject may not match the name of the type in any particular Repository, and may even be an empty string.The method
namecan be invoked on object reference, structure, union, enumeration, alias, exception, valuetype, boxed valuetype, native, and abstract interfaceTypeCodeobjects.
-
member_count
public int member_count() throws BadKindDescription copied from class:TypeCodeRetrieves the number of members in the type described by thisTypeCodeobject.The method
member_countcan be invoked on structure, union, and enumerationTypeCodeobjects. Java IDL extends the CORBA specification to allow this method to operate on exceptions as well.- Specified by:
member_countin classTypeCode- Returns:
- the number of members constituting the type described
by this
TypeCodeobject - Throws:
BadKind- if the method is invoked on an inappropriate kind ofTypeCodeobject
-
member_name
public java.lang.String member_name(int index) throws BadKind, BoundsDescription copied from class:TypeCodeRetrieves the simple name of the member identified by the given index. Since names are local to a Repository, the name returned from aTypeCodeobject may not match the name of the member in any particular Repository, and may even be an empty string.The method
member_namecan be invoked on structure, union, and enumerationTypeCodeobjects. Java IDL extends the CORBA specification to allow this method to operate on exceptions as well.- Specified by:
member_namein 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 ofTypeCodeobjectBounds- 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:TypeCodeRetrieves theTypeCodeobject describing the type of the member identified by the given index.The method
member_typecan be invoked on structure and unionTypeCodeobjects. Java IDL extends the CORBA specification to allow this method to operate on exceptions as well.- Specified by:
member_typein classTypeCode- Parameters:
index- index of the member for which type information is begin requested- Returns:
- the
TypeCodeobject describing the member at the given index - Throws:
BadKind- if the method is invoked on an inappropriate kind ofTypeCodeobjectBounds- 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:TypeCodeRetrieves the label of the union member identified by the given index. For the default member, the label is the zero octet.The method
member_labelcan only be invoked on unionTypeCodeobjects.- Specified by:
member_labelin classTypeCode- Parameters:
index- index of the union member for which the label is being requested- Returns:
- an
Anyobject 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-unionTypeCodeobjectBounds- 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:TypeCodeReturns aTypeCodeobject describing all non-default member labels. The methoddiscriminator_typecan be invoked only on unionTypeCodeobjects.- Specified by:
discriminator_typein classTypeCode- Returns:
- the
TypeCodeobject describing the non-default member labels - Throws:
BadKind- if the method is invoked on a non-unionTypeCodeobject
-
default_index
public int default_index() throws BadKindDescription copied from class:TypeCodeReturns the index of the default member, or -1 if there is no default member.The method
default_indexcan be invoked only on unionTypeCodeobjects.- Specified by:
default_indexin 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-unionTypeCodeobject
-
length
public int length() throws BadKindDescription copied from class:TypeCodeReturns the number of elements in the type described by thisTypeCodeobject. 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
lengthcan be invoked on string, sequence, and arrayTypeCodeobjects.
-
content_type
public TypeCode content_type() throws BadKind
Description copied from class:TypeCodeReturns theTypeCodeobject representing the IDL type for the members of the object described by thisTypeCodeobject. For sequences and arrays, it returns the element type. For aliases, it returns the original type. Note that multidimensional arrays are represented by nestingTypeCodeobjects, one per dimension. For boxed valuetypes, it returns the boxed type.The method
content_typecan be invoked on sequence, array, alias, and boxed valuetypeTypeCodeobjects.- Specified by:
content_typein classTypeCode- Returns:
- a
TypeCodeobject 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 ofTypeCodeobject
-
fixed_digits
public short fixed_digits() throws BadKindDescription copied from class:TypeCodeReturns the number of digits in the fixed type described by thisTypeCodeobject. 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_digitsin classTypeCode- Returns:
- the total number of digits
- Throws:
BadKind- if this method is invoked on an inappropriate kind ofTypeCodeobject
-
fixed_scale
public short fixed_scale() throws BadKindDescription copied from class:TypeCodeReturns the scale of the fixed type described by thisTypeCodeobject. 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_scalein classTypeCode- Returns:
- the scale of the fixed type that this
TypeCodeobject describes - Throws:
BadKind- if this method is invoked on an inappropriate kind ofTypeCodeobject
-
member_visibility
public short member_visibility(int index) throws BadKind, BoundsDescription copied from class:TypeCodeReturns the constant that indicates the visibility of the member at the given index. This operation can only be invoked on non-boxed valueTypeCodeobjects.- Specified by:
member_visibilityin classTypeCode- Parameters:
index- anintindicating the index into the value- Returns:
- either
PRIVATE_MEMBER.valueorPUBLIC_MEMBER.value - Throws:
BadKind- if this method is invoked on a non-value typeTypeCodeobjectBounds- if the given index is out of bounds- See Also:
CORBApackage comments for unimplemented features
-
type_modifier
public short type_modifier() throws BadKindDescription copied from class:TypeCodeReturns a constant indicating the modifier of the value type that thisTypeCodeobject 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_modifierin classTypeCode- Returns:
- a constant describing the value type
that this
TypeCodeobject describes - Throws:
BadKind- if this method is invoked on a non-value typeTypeCodeobject- See Also:
CORBApackage comments for unimplemented features
-
concrete_base_type
public TypeCode concrete_base_type() throws BadKind
Description copied from class:TypeCodeReturns theTypeCodeobject that describes the concrete base type of the value type that thisTypeCodeobject describes. Returns null if it doesn't have a concrete base type.- Specified by:
concrete_base_typein classTypeCode- Returns:
- the
TypeCodeobject that describes the concrete base type of the value type that thisTypeCodeobject describes - Throws:
BadKind- if this method is invoked on a non-boxed value typeTypeCodeobject- See Also:
CORBApackage 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:
toStringin 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)
-
-