Class TemplateSpec
java.lang.Object
org.proforma.variability.transfer.TemplateSpec
-
Constructor Summary
ConstructorsConstructorDescriptionTemplateSpec(TemplateSpec other) TemplateSpec(VarSpecRoot cvs, CV defaultValue, MatSpec matSpec) -
Method Summary
Modifier and TypeMethodDescriptionvoidafterUnmarshal(javax.xml.bind.Unmarshaller unused1, Object unused2) PostprocessinggetCVp()voidsetDefaultValue(CV defaultValue) This stores a copy of the parameter after being converted to value representation (no specs).voidsetMatSpec(MatSpec matSpec) voidsetVarSpec(VarSpecRoot varSpec) voidsetVarSpec(VarSpecRoot cvSpec, CV defaultValue) This stores both variability data.toString()
-
Constructor Details
-
TemplateSpec
public TemplateSpec() -
TemplateSpec
-
TemplateSpec
-
-
Method Details
-
afterUnmarshal
Postprocessing -
getVarSpec
-
setVarSpec
-
getDefaultValue
-
setDefaultValue
This stores a copy of the parameter after being converted to value representation (no specs).- Parameters:
defaultValue- The parameter must be fully equipped with associated Vps. This can be accomplished by callingCV.pushCVp(CVp)immediately before. Alternately callsetVarSpec(CVSpec, CV).
-
setVarSpec
This stores both variability data. The default value will automatically be equipped with the Vps from the cvSpec parameter and automatically converted to value representation (no specs).- Parameters:
cvSpec-defaultValue-
-
getMatSpec
-
setMatSpec
-
getCVp
-
toString
-