gov.sns.xal.smf.attr
Class Attribute
java.lang.Object
|
+--gov.sns.xal.smf.attr.Attribute
- All Implemented Interfaces:
- java.io.Serializable
- public final class Attribute
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
s_arrTypeNames
public static java.lang.String[] s_arrTypeNames
iUnknown
public static final int iUnknown
- See Also:
- Constant Field Values
iBoolean
public static final int iBoolean
- See Also:
- Constant Field Values
iCharacter
public static final int iCharacter
- See Also:
- Constant Field Values
iByte
public static final int iByte
- See Also:
- Constant Field Values
iShort
public static final int iShort
- See Also:
- Constant Field Values
iInteger
public static final int iInteger
- See Also:
- Constant Field Values
iLong
public static final int iLong
- See Also:
- Constant Field Values
iFloat
public static final int iFloat
- See Also:
- Constant Field Values
iDouble
public static final int iDouble
- See Also:
- Constant Field Values
iString
public static final int iString
- See Also:
- Constant Field Values
iArrBol
public static final int iArrBol
- See Also:
- Constant Field Values
iArrChr
public static final int iArrChr
- See Also:
- Constant Field Values
iArrByte
public static final int iArrByte
- See Also:
- Constant Field Values
iArrShr
public static final int iArrShr
- See Also:
- Constant Field Values
iArrInt
public static final int iArrInt
- See Also:
- Constant Field Values
iArrLng
public static final int iArrLng
- See Also:
- Constant Field Values
iArrFlt
public static final int iArrFlt
- See Also:
- Constant Field Values
iArrDbl
public static final int iArrDbl
- See Also:
- Constant Field Values
iArrStr
public static final int iArrStr
- See Also:
- Constant Field Values
Attribute
public Attribute(int val)
- Create new Attribute
Note that Attribute must be initially instantiated to a particular type.
Attribute
public Attribute(long val)
Attribute
public Attribute(float val)
Attribute
public Attribute(double val)
Attribute
public Attribute(java.lang.String val)
Attribute
public Attribute(int[] arr)
Attribute
public Attribute(long[] arr)
Attribute
public Attribute(float[] arr)
Attribute
public Attribute(double[] arr)
Attribute
public Attribute(java.lang.String[] arr)
getType
public int getType()
getTypeString
public java.lang.String getTypeString()
isArray
public boolean isArray()
getObject
public java.lang.Object getObject()
getInteger
public int getInteger()
getLong
public long getLong()
getFloat
public float getFloat()
getDouble
public double getDouble()
getString
public java.lang.String getString()
getArrInt
public int[] getArrInt()
getArrLng
public long[] getArrLng()
getArrFlt
public float[] getArrFlt()
getArrDbl
public double[] getArrDbl()
getArrStr
public java.lang.String[] getArrStr()
set
public void set(int newVal)
set
public void set(long newVal)
set
public void set(float newVal)
set
public void set(double newVal)
set
public void set(java.lang.String newVal)
set
public void set(int[] newArr)
set
public void set(long[] newArr)
set
public void set(float[] newArr)
set
public void set(double[] newArr)
set
public void set(java.lang.String[] newArr)
parse
public boolean parse(java.lang.String strVal)
throws java.lang.NumberFormatException
- Set Attribute value from string parsing
java.lang.NumberFormatException
stringValue
public java.lang.String stringValue()