|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fdda.model.PropertyFactory
A factory class that creates Properties.
Method Summary | |
static Property |
createProperty(String name,
String type)
Creates a new property with the specified name of the specified type. |
static Property |
createProperty(String name,
String type,
String displayedName,
String description)
Creates a new property with the specified name of the specified type. |
static PropertyType |
createPropertyType(String typeName)
Creates a PropertyType. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static PropertyType createPropertyType(String typeName)
typeName
- the name of the type, e.g. 'String' or 'Integer'.
PropertyType
public static Property createProperty(String name, String type)
name
- the name of the propertytype
- the type of the property
public static Property createProperty(String name, String type, String displayedName, String description)
name
- the name of the propertytype
- the type of the propertydisplayedName
- the displayed name of the propertydescription
- a description of the property, user-readable.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |