Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


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.

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)
          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

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

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
Constructor Detail

DescriptorPropertyDescription

public DescriptorPropertyDescription(
String propertyName,
                                     
String displayName,
                                     int dataType)
Creates a new instance of DescriptorPropertyDescription.

Parameters:
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

getDataType

public int getDataType()
Returns the data type for this property.

Returns:
the data type. Possible data types are:

getDisplayName

public 
String getDisplayName()
Returns the displayable name for this property.

Returns:
the display name.

getPropertyName

public 
String getPropertyName()
Returns the name of the underlying property

Returns:
the property name.

setDataType

public void setDataType(int i)
Sets the data type for this property.

Parameters:
i - the data type. Possible data types are:

setDisplayName

public void setDisplayName(
String string)
Sets the displayable name for this property.

Parameters:
string - the display name. This is case-sensitive and must not be null or an empty String "".

setPropertyName

public void setPropertyName(
String string)
Sets the data type for this property.

Parameters:
string - the property name. This is case-sensitive and must not be null or an empty String "".

Mobile Tools for Java
Release 1.0


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire