Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can add a value to an object using the code as follows
 

Code Block
languagetext
public boolean addValue(StructuredValue object, String featureName, Object value) {
	...
}

...

If you have more than one value to add to an object, e.g., the value of the upper bound of the multiplicity is more than one, you can still add the values by using the parameter insertAt.
 

Code Block
languagetext
public boolean addValueAt(StructuredValue object, String featureName, Object value, Integer insertAt) {
	...
}

...