Mobile Tools for Java
Release 1.0

org.eclipse.mtj.core.project.midp
Class DescriptorPropertyDescription

java.lang.Object
  extended by org.eclipse.mtj.core.project.midp.DescriptorPropertyDescription
Direct Known Subclasses:
ListDescriptorPropertyDescription

public class DescriptorPropertyDescription
extends Object

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.

Since:
1.0
Restriction:
This class is not intended to be subclassed by clients.

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)
          Constructor
 
Method Summary
 int getDataType()
           
 String getDisplayName()
           
 String getPropertyName()
           
 void setDataType(int i)
           
 void setDisplayName(String string)
           
 void setPropertyName(String string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATATYPE_STRING

public static final int DATATYPE_STRING
String property type

See Also:
Constant Field Values

DATATYPE_URL

public static final int DATATYPE_URL
URL property type

See Also:
Constant Field Values

DATATYPE_INT

public static final int DATATYPE_INT
Integer property type

See Also:
Constant Field Values

DATATYPE_LIST

public static final int DATATYPE_LIST
List property type

See Also:
Constant Field Values
Constructor Detail

DescriptorPropertyDescription

public DescriptorPropertyDescription(String propertyName,
                                     String displayName,
                                     int dataType)
Constructor

Method Detail

getDataType

public int getDataType()
Returns:
the data type

getDisplayName

public String getDisplayName()
Returns:
the display name

getPropertyName

public String getPropertyName()
Returns:
the property name

setDataType

public void setDataType(int i)
Parameters:
i - the data type

setDisplayName

public void setDisplayName(String string)
Parameters:
string - the display name

setPropertyName

public void setPropertyName(String string)
Parameters:
string - the property name

Mobile Tools for Java
Release 1.0