|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ksoap2.serialization.PropertyInfo
public class PropertyInfo
This class is used to store information about each property an implementation of KvmSerializable exposes.
Field Summary | |
---|---|
static Class |
BOOLEAN_CLASS
|
PropertyInfo |
elementType
Element type for array properties, null if not array prop. |
int |
flags
Type of property, Transient, multi_ref, Ref_only *JHS* Note, not really used that effectively |
static Class |
INTEGER_CLASS
|
static Class |
LONG_CLASS
|
static int |
MULTI_REF
|
boolean |
multiRef
if a property is multi-referenced, set this flag to true. |
String |
name
Name of the property |
String |
namespace
Namespace of this property |
static Class |
OBJECT_CLASS
|
static PropertyInfo |
OBJECT_TYPE
|
static int |
REF_ONLY
|
static Class |
STRING_CLASS
|
static int |
TRANSIENT
|
Object |
type
Type of the property/elements. |
protected Object |
value
The current value of this property. |
static Class |
VECTOR_CLASS
|
Constructor Summary | |
---|---|
PropertyInfo()
|
Method Summary | |
---|---|
void |
clear()
|
PropertyInfo |
getElementType()
|
int |
getFlags()
|
String |
getName()
|
String |
getNamespace()
|
Object |
getType()
|
Object |
getValue()
|
boolean |
isMultiRef()
|
void |
setElementType(PropertyInfo elementType)
|
void |
setFlags(int flags)
|
void |
setMultiRef(boolean multiRef)
|
void |
setName(String name)
|
void |
setNamespace(String namespace)
|
void |
setType(Object type)
|
void |
setValue(Object value)
|
String |
toString()
Show the name and value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Class OBJECT_CLASS
public static final Class STRING_CLASS
public static final Class INTEGER_CLASS
public static final Class LONG_CLASS
public static final Class BOOLEAN_CLASS
public static final Class VECTOR_CLASS
public static final PropertyInfo OBJECT_TYPE
public static final int TRANSIENT
public static final int MULTI_REF
public static final int REF_ONLY
public String name
public String namespace
public int flags
protected Object value
public Object type
public boolean multiRef
public PropertyInfo elementType
Constructor Detail |
---|
public PropertyInfo()
Method Detail |
---|
public void clear()
public PropertyInfo getElementType()
public void setElementType(PropertyInfo elementType)
elementType
- The elementType to set.public int getFlags()
public void setFlags(int flags)
flags
- The flags to set.public boolean isMultiRef()
public void setMultiRef(boolean multiRef)
multiRef
- The multiRef to set.public String getName()
public void setName(String name)
name
- The name to set.public String getNamespace()
public void setNamespace(String namespace)
namespace
- The namespace to set.public Object getType()
public void setType(Object type)
type
- The type to set.public Object getValue()
public void setValue(Object value)
value
- The value to set.public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |