* : the new Dimension (an InstanceSpecification stereotyped with a Dimension).
*/
public void setDimensionForPrimitiveType(Element pt, InstanceSpecification is) {
if (is != null && pt != null) {
final Stereotype valueType = pt.getAppliedStereotype("SysML::Blocks::ValueType");
final Dimension newDimension = (Dimension)is.getStereotypeApplication(is
.getAppliedStereotype("SysML::Blocks::Dimension"));
pt.setValue(valueType, "dimension", newDimension);
}
}