XCMS Toolkit

schemajic.schema
Class NamedBit

java.lang.Object
  extended by schemajic.schema.NamedBit

public class NamedBit
extends java.lang.Object

Processing support for ASN.1 named bit values.

Version:
1.00 - 2006/01/22
Author:
support@phillipgriffin.com

Field Summary
 ValueName _name
           
 NumberValue _value
           
 
Constructor Summary
NamedBit(ValueName name, NumberValue value)
          Sets the name and value of a named bit.
 
Method Summary
 java.lang.String getBitMask()
          Returns the 0x bit mask.
 ValueName getName()
          Returns the current bit value name.
 NumberValue getValue()
          Returns the current numeric bit value.
 void setName(ValueName valueName)
          Sets the current value name.
 void setValue(NumberValue numberValue)
          Sets the current numeric bit value.
 java.lang.String toString()
          Returns a formatted string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_name

public ValueName _name

_value

public NumberValue _value
Constructor Detail

NamedBit

public NamedBit(ValueName name,
                NumberValue value)
Sets the name and value of a named bit.

Parameters:
name - the bit name
value - the named bit value
Method Detail

getName

public ValueName getName()
Returns the current bit value name.


setName

public void setName(ValueName valueName)
Sets the current value name.

Parameters:
valueName - the name of a named bit value

getValue

public NumberValue getValue()
Returns the current numeric bit value.


getBitMask

public java.lang.String getBitMask()
Returns the 0x bit mask.


setValue

public void setValue(NumberValue numberValue)
Sets the current numeric bit value.

Parameters:
numberValue - a value of a bit

toString

public java.lang.String toString()
Returns a formatted string.

Overrides:
toString in class java.lang.Object

XCMS Toolkit


Copyright © 2005-2006 GRIFFIN Consulting. All Rights Reserved.