|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A Transformation Property stores information about one aspect of the transformation. The descriptor properties are defined in XML when the transformation is declared. In addition to the predefined properties of a transformation descriptor, the transformation author can define specific properties, some of which may be customized by the user.
A transformation property must have an unique identifier and a localized name. Additional attributes of a property include a metatype, associated metatype data and a read-only indicator. Most properties contain a single value but some may contain multiple values. For example, a keywords property value may be defined with a comma separated list of words. The underlying property implementation is capable of parsing the value (given the delimiters) to produce a list of values (e.g., the individual keywords).
Method Summary | |
int |
getMaxValues()
Return the maximum number of values for the property. |
String |
getMetatype()
Return the underlying metatype for the property value. |
String |
getMetatypeData()
Return the data associated with the underlying metatype for the property value. |
Object |
getValue()
Return the value of the property. |
boolean |
isReadOnly()
Return the read-only attribute of the property |
Methods inherited from interface com.ibm.xtools.transform.core.ITransformationItem |
getDescription, getId, getName |
Method Detail |
public int getMaxValues()
public String getMetatype()
public String getMetatypeData()
public Object getValue()
If the property can contain multiple values, the returned object is a list (java.util.List) of those values. If no values have been defined, the returned list object is empty.
public boolean isReadOnly()
|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.