Class CompoundType.Member

  • All Implemented Interfaces:
    java.lang.Cloneable, ContextElement
    Enclosing class:
    CompoundType

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

      • type

        private Type type
      • vis

        private java.lang.String vis
      • value

        private java.lang.String value
      • name

        private java.lang.String name
      • idlName

        private java.lang.String idlName
      • innerClassDecl

        private final boolean innerClassDecl
      • constant

        private boolean constant
      • forceTransient

        private boolean forceTransient
    • Method Detail

      • getElementName

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

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

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

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

        public java.lang.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 java.lang.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 java.lang.String toString()
        Return the string representation of this constant.
        Overrides:
        toString in class java.lang.Object
      • swapInvalidTypes

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

        protected void setTransient()
      • destroy

        public void destroy()
        Release all resources.
      • setIDLName

        public void setIDLName​(java.lang.String name)
      • clone

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