|
RSE Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.rse.core.model.PropertyType
public class PropertyType
The standard implementation of IPropertyType
. Use the static factory
methods to return instances.
Field Summary |
---|
Fields inherited from interface org.eclipse.rse.core.model.IPropertyType |
---|
TYPE_BOOLEAN, TYPE_ENUM, TYPE_INTEGER, TYPE_STRING |
Method Summary | |
---|---|
static IPropertyType |
fromString(String typeStr)
Returns an instance of property type based on the String specification. |
static IPropertyType |
getBooleanPropertyType()
Returns an instance of boolean property type. |
static IPropertyType |
getEnumPropertyType(String[] values)
Returns an instance of enum property type. |
String[] |
getEnumValues()
|
static IPropertyType |
getIntegerPropertyType()
Returns an instance of integer property type. |
static IPropertyType |
getStringPropertyType()
Returns an instance of string property type. |
int |
getType()
|
boolean |
isBoolean()
|
boolean |
isEnum()
|
boolean |
isInteger()
|
boolean |
isString()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static IPropertyType getBooleanPropertyType()
public static IPropertyType getIntegerPropertyType()
public static IPropertyType getStringPropertyType()
public static IPropertyType getEnumPropertyType(String[] values)
values
- String[] array of allowed enumerator values.
public static IPropertyType fromString(String typeStr)
public int getType()
getType
in interface IPropertyType
public boolean isString()
isString
in interface IPropertyType
public boolean isInteger()
isInteger
in interface IPropertyType
public boolean isEnum()
isEnum
in interface IPropertyType
public boolean isBoolean()
isBoolean
in interface IPropertyType
public String[] getEnumValues()
getEnumValues
in interface IPropertyType
public String toString()
toString
in class Object
|
RSE Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |