Remote Systems
v6.4.1

com.ibm.etools.systems.core.java
Class AbstractCommonInfo

java.lang.Object
  extended bycom.ibm.etools.systems.core.java.AbstractCommonInfo
Direct Known Subclasses:
FieldInfo, MethodInfo

public abstract class AbstractCommonInfo
extends Object

This class represents information about a field or method.


Field Summary
protected  int accessFlags
           
protected  AbstractAttributeInfo[] attributes
           
protected  int attributesCount
           
protected  int descriptorIndex
           
protected  int nameIndex
           
 
Constructor Summary
AbstractCommonInfo(int accessFlags, int nameIndex, int descriptorIndex, int attributesCount, AbstractAttributeInfo[] attributes)
          Constructor.
 
Method Summary
 int getAccessFlags()
          Returns the access flags.
 AbstractAttributeInfo[] getAttributes()
          Returns the attributes.
 int getAttributesCount()
          Returns the number of attributes.
 int getDescriptorIndex()
          Returns the descriptor index.
 int getNameIndex()
          Returns the name index.
 void setAccessFlags(int accessFlags)
          Sets the access flags.
 void setAttributes(AbstractAttributeInfo[] attributes)
          Sets the attributes.
 void setAttributesCount(int attributesCount)
          Sets the number of attributes.
 void setDescriptorIndex(int descriptorIndex)
          Sets the descriptor index.
 void setNameIndex(int nameIndex)
          Sets the name index.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

accessFlags

protected int accessFlags

nameIndex

protected int nameIndex

descriptorIndex

protected int descriptorIndex

attributesCount

protected int attributesCount

attributes

protected AbstractAttributeInfo[] attributes
Constructor Detail

AbstractCommonInfo

public AbstractCommonInfo(int accessFlags,
                          int nameIndex,
                          int descriptorIndex,
                          int attributesCount,
                          AbstractAttributeInfo[] attributes)
Constructor.

Parameters:
accessFlags - the access flags.
nameIndex - the name index.
descriptorIndex - the descriptor index.
attributesCount - the number of attributes.
attributes - the attributes.
Method Detail

getAccessFlags

public int getAccessFlags()
Returns the access flags.

Returns:
the access flags.

setAccessFlags

public void setAccessFlags(int accessFlags)
Sets the access flags.

Parameters:
accessFlags - the access flags.

getAttributes

public AbstractAttributeInfo[] getAttributes()
Returns the attributes.

Returns:
the array of attributes.

setAttributes

public void setAttributes(AbstractAttributeInfo[] attributes)
Sets the attributes.

Parameters:
attributes - the attributes.

getAttributesCount

public int getAttributesCount()
Returns the number of attributes.

Returns:
the number of attributes.

setAttributesCount

public void setAttributesCount(int attributesCount)
Sets the number of attributes.

Parameters:
attributesCount - the number of attributes.

getDescriptorIndex

public int getDescriptorIndex()
Returns the descriptor index.

Returns:
the descriptor index.

setDescriptorIndex

public void setDescriptorIndex(int descriptorIndex)
Sets the descriptor index.

Parameters:
descriptorIndex - the descriptor index.

getNameIndex

public int getNameIndex()
Returns the name index.

Returns:
the name index.

setNameIndex

public void setNameIndex(int nameIndex)
Sets the name index.

Parameters:
nameIndex - the name index.

Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.