public class FieldDescriptor extends Object implements Serializable
| Constructor and Description |
|---|
FieldDescriptor(String name,
int type)
Create a field for a class - just contains the field name and type,
not the value
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the field name
|
int |
getType()
Gets the type as a number.
|
String |
getVerboseSignature()
Returns the type of the field.
|
void |
setName(String name)
Sets the name of the field.
|
void |
setType(int type)
Sets the type of the field.
|
String |
toString()
A readable representation of the field descriptor.
|
public FieldDescriptor(String name, int type)
name - field nametype - field type from IObject.Typepublic String getName()
public int getType()
IObject.Typepublic void setName(String name)
name - the name of the field.public void setType(int type)
type - the type of the field as IObject.Typepublic String getVerboseSignature()