|
Mobile Tools for Java Release 1.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.mtj.core.project.midp.DescriptorPropertyDescription
public class DescriptorPropertyDescription
This class represents an application descriptor property description.
EXPERIMENTAL. This class or interface has been added as part of a work in progress. There is no guarantee that this API will work or that it will remain the same. Please do not use this API without consulting with the MTJ team.
| Field Summary | |
|---|---|
static int |
DATATYPE_INT
Integer property type |
static int |
DATATYPE_LIST
List property type |
static int |
DATATYPE_STRING
String property type |
static int |
DATATYPE_URL
URL property type |
| Constructor Summary | |
|---|---|
DescriptorPropertyDescription(String propertyName,
String displayName,
int dataType)
Creates a new instance of DescriptorPropertyDescription. |
|
| Method Summary | |
|---|---|
int |
getDataType()
Returns the data type for this property. |
String |
getDisplayName()
Returns the displayable name for this property. |
String |
getPropertyName()
Returns the name of the underlying property |
void |
setDataType(int i)
Sets the data type for this property. |
void |
setDisplayName(String string)
Sets the displayable name for this property. |
void |
setPropertyName(String string)
Sets the data type for this property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DATATYPE_INT
public static final int DATATYPE_LIST
public static final int DATATYPE_STRING
public static final int DATATYPE_URL
| Constructor Detail |
|---|
public DescriptorPropertyDescription(String propertyName,
String displayName,
int dataType)
propertyName - the name of the underlying property. This is
case-sensitive and must not be null or an empty
String "".displayName - the displayable name for this property. This is
case-sensitive and must not be null or an empty
String "".dataType - the data type for this property. Possible data types are:
| Method Detail |
|---|
public int getDataType()
public String getDisplayName()
public String getPropertyName()
public void setDataType(int i)
i - the data type. Possible data types are:
public void setDisplayName(String string)
string - the display name. This is case-sensitive and must not be
null or an empty String "".public void setPropertyName(String string)
string - the property name. This is case-sensitive and must not be
null or an empty String "".
|
Mobile Tools for Java Release 1.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||