/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * This source file is part of SableVM.                            *
 *                                                                 *
 * See the file "LICENSE" for the copyright information and for    *
 * the terms and conditions for copying, distribution and          *
 * modification of this source file.                               *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

/**
 * @author Patrick Latifi
 */
public class SConstantValueIntegerAttribute extends SConstantValueAttribute
{
    private SConstantIntegerInfo constantValue;

    public SConstantValueIntegerAttribute(int attributeNameIndex,
					  int attributeLength, 
					  int constantValueIndex)
    {
	super(attributeNameIndex, attributeLength, constantValueIndex);
    }

    public SConstantIntegerInfo getConstantValue()
    {
	return constantValue;
    }

    public void setConstantValue(SConstantIntegerInfo constantValue)
    {
	this.constantValue = constantValue;
    }

    public String toString()
    {
	    return super.toString() + "constantValue = " + constantValue + "\n";
    }
}
