public class CompoundType.Member extends java.lang.Object implements ContextElement, java.lang.Cloneable
| Constructor and Description |
|---|
CompoundType.Member(MemberDefinition member,
java.lang.String value,
ContextStack stack,
CompoundType enclosing)
Create a new Member object.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
clone()
Cloning is supported by returning a shallow copy of this object.
|
void |
destroy()
Release all resources.
|
java.lang.String |
getElementName()
Return context element name.
|
java.lang.String |
getIDLName()
IDL_Naming
Return the IDL name of this member.
|
protected MemberDefinition |
getMemberDefinition() |
java.lang.String |
getName()
Return the name of this member.
|
Type |
getType()
Return the type of this member.
|
java.lang.String |
getValue()
Return the value of this member.
|
java.lang.String |
getVisibility()
Return the visibility (e.g.
|
void |
init(ContextStack stack,
CompoundType enclosing) |
boolean |
isConstant()
Return true if this member represents a constant.
|
boolean |
isFinal() |
boolean |
isInnerClassDeclaration()
Return true if this member represents an inner class declaration,
false otherwise.
|
boolean |
isPrivate() |
boolean |
isPublic()
Methods to check various attributes.
|
boolean |
isStatic() |
boolean |
isTransient() |
void |
setIDLName(java.lang.String name) |
protected void |
setTransient() |
protected void |
swapInvalidTypes()
Convert all invalid types to valid ones.
|
java.lang.String |
toString()
Return the string representation of this constant.
|
public CompoundType.Member(MemberDefinition member, java.lang.String value, ContextStack stack, CompoundType enclosing)
public java.lang.String getElementName()
getElementName in interface ContextElementpublic Type getType()
public java.lang.String getName()
public java.lang.String getIDLName()
public java.lang.String getVisibility()
public boolean isPublic()
public boolean isPrivate()
public boolean isStatic()
public boolean isFinal()
public boolean isTransient()
public java.lang.String getValue()
public boolean isInnerClassDeclaration()
public boolean isConstant()
public java.lang.String toString()
toString in class java.lang.Objectprotected void swapInvalidTypes()
protected void setTransient()
protected MemberDefinition getMemberDefinition()
public void destroy()
public void init(ContextStack stack, CompoundType enclosing)
public void setIDLName(java.lang.String name)
protected java.lang.Object clone()
clone in class java.lang.ObjectCopyright © 2017. All Rights Reserved.