Class CompoundType.Member

java.lang.Object
org.glassfish.rmic.iiop.CompoundType.Member
All Implemented Interfaces:
Cloneable, ContextElement
Enclosing class:
CompoundType

public class CompoundType.Member extends Object implements ContextElement, Cloneable
An CompoundType.Member object wraps a Type and a value representing a data member, including constants.
  • Field Details

    • type

      private Type type
    • vis

      private String vis
    • value

      private String value
    • name

      private String name
    • idlName

      private String idlName
    • innerClassDecl

      private final boolean innerClassDecl
    • constant

      private boolean constant
    • member

      private MemberDefinition member
    • forceTransient

      private boolean forceTransient
  • Constructor Details

  • Method Details

    • getElementName

      public String getElementName()
      Return context element name.
      Specified by:
      getElementName in interface ContextElement
    • getType

      public Type getType()
      Return the type of this member.
    • getName

      public String getName()
      Return the name of this member.
    • getIDLName

      public String getIDLName()
      IDL_Naming Return the IDL name of this member.
    • getVisibility

      public String 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

      public String 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

      public String toString()
      Return the string representation of this constant.
      Overrides:
      toString in class Object
    • swapInvalidTypes

      protected void swapInvalidTypes()
      Convert all invalid types to valid ones.
    • setTransient

      protected void setTransient()
    • getMemberDefinition

      protected MemberDefinition getMemberDefinition()
    • destroy

      public void destroy()
      Release all resources.
    • init

      public void init(ContextStack stack, CompoundType enclosing)
    • setIDLName

      public void setIDLName(String name)
    • clone

      protected Object clone()
      Cloning is supported by returning a shallow copy of this object.
      Overrides:
      clone in class Object