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.
|
public FieldDescriptor(String name, int type)
name
- field nametype
- field type from IObject.Type
public String getName()
public int getType()
IObject.Type
public void setName(String name)
name
- the name of the field.public void setType(int type)
type
- the type of the field as IObject.Type
public String getVerboseSignature()