org.eclipse.mtj.core.project.midp
Class DescriptorPropertyDescription
java.lang.Object
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.
Methods inherited from class java.lang.
Object
|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
|
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
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:
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 ""
.