Package com.isode.som.pumice.objects
Class SomPumiceAttribute
- java.lang.Object
-
- com.isode.som.pumice.objects.SomPumiceAttribute
-
public class SomPumiceAttribute extends java.lang.Object
Models an attribute returned in a SOM command response- Author:
- tc
-
-
Constructor Summary
Constructors Constructor Description SomPumiceAttribute(int t, java.lang.String v)
SomPumiceAttribute(java.lang.String t, java.lang.String v)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
compareTo(int newtype)
boolean
getBooleanVal()
java.lang.Integer
getIntegerVal()
java.lang.String
getStringVal()
int
getType()
java.lang.String
getTypeString()
java.lang.String
print()
-
-
-
Method Detail
-
compareTo
public boolean compareTo(int newtype)
-
getIntegerVal
public java.lang.Integer getIntegerVal()
-
getStringVal
public java.lang.String getStringVal() throws SomException
- Throws:
SomException
-
getType
public int getType()
-
getTypeString
public java.lang.String getTypeString()
-
getBooleanVal
public boolean getBooleanVal() throws SomException
- Throws:
SomException
-
print
public java.lang.String print()
-
-