Mobile Tools for Java
Release 1.0

org.eclipse.mtj.core.model.jad
Class DescriptorPropertyDescription

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

public class DescriptorPropertyDescription
extends Object

This class represents an application descriptor property description.

Note: This class/interface is part of an interim API that is still under development and expected to change before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken as the API evolves.


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