java.lang.Object
org.glassfish.rmic.iiop.CompoundType.Member
- All Implemented Interfaces:
Cloneable,ContextElement
- Enclosing class:
- CompoundType
An CompoundType.Member object wraps a Type and a value representing
a data member, including constants.
-
Constructor Summary
ConstructorsConstructorDescriptionMember(MemberDefinition member, String value, ContextStack stack, CompoundType enclosing) Create a new Member object. -
Method Summary
Modifier and TypeMethodDescriptionprotected Objectclone()Cloning is supported by returning a shallow copy of this object.voiddestroy()Release all resources.Return context element name.IDL_Naming Return the IDL name of this member.protected MemberDefinitiongetName()Return the name of this member.getType()Return the type of this member.getValue()Return the value of this member.Return the visibility (e.g.voidinit(ContextStack stack, CompoundType enclosing) booleanReturn true if this member represents a constant.booleanisFinal()booleanReturn true if this member represents an inner class declaration, false otherwise.booleanbooleanisPublic()Methods to check various attributes.booleanisStatic()booleanvoidsetIDLName(String name) protected voidprotected voidConvert all invalid types to valid ones.toString()Return the string representation of this constant.
-
Constructor Details
-
Member
Create a new Member object.
-
-
Method Details
-
getElementName
Return context element name.- Specified by:
getElementNamein interfaceContextElement
-
getType
Return the type of this member. -
getName
Return the name of this member. -
getIDLName
IDL_Naming Return the IDL name of this member. -
getVisibility
Return the visibility (e.g. "public final") of this member. -
isPublic
public boolean isPublic()Methods to check various attributes. -
isPrivate
public boolean isPrivate() -
isStatic
public boolean isStatic() -
isFinal
public boolean isFinal() -
isTransient
public boolean isTransient() -
getValue
Return the value of this member. May be null. -
isInnerClassDeclaration
public boolean isInnerClassDeclaration()Return true if this member represents an inner class declaration, false otherwise. -
isConstant
public boolean isConstant()Return true if this member represents a constant. -
toString
Return the string representation of this constant. -
swapInvalidTypes
protected void swapInvalidTypes()Convert all invalid types to valid ones. -
setTransient
protected void setTransient() -
getMemberDefinition
-
destroy
public void destroy()Release all resources. -
init
-
setIDLName
-
clone
Cloning is supported by returning a shallow copy of this object.
-