RSE
Release 3.4

org.eclipse.rse.core.model
Interface IPropertyType

All Known Implementing Classes:
PropertyType

public interface IPropertyType

Property types are used to type instances of IProperty.


Field Summary
static int TYPE_BOOLEAN
           
static int TYPE_ENUM
           
static int TYPE_INTEGER
           
static int TYPE_STRING
           
 
Method Summary
 String[] getEnumValues()
           
 int getType()
           
 boolean isBoolean()
           
 boolean isEnum()
           
 boolean isInteger()
           
 boolean isString()
           
 

Field Detail

TYPE_STRING

static final int TYPE_STRING
See Also:
Constant Field Values

TYPE_INTEGER

static final int TYPE_INTEGER
See Also:
Constant Field Values

TYPE_ENUM

static final int TYPE_ENUM
See Also:
Constant Field Values

TYPE_BOOLEAN

static final int TYPE_BOOLEAN
See Also:
Constant Field Values
Method Detail

isString

boolean isString()
Returns:
true if the property is of TYPE_STRING

isInteger

boolean isInteger()
Returns:
true if the property is of TYPE_INTEGER

isEnum

boolean isEnum()
Returns:
true if the property is of TYPE_ENUM

isBoolean

boolean isBoolean()
Returns:
true if the property is of TYPE_BOOLEAN

getType

int getType()
Returns:
the integer value of the property type

getEnumValues

String[] getEnumValues()
Returns:
the array of values that comprise the enumeration

RSE
Release 3.4

Copyright (c) IBM Corporation and others 2000, 2012. All Rights Reserved.