Class TemplateSpec


  • public class TemplateSpec
    extends Object
    • Constructor Detail

      • TemplateSpec

        public TemplateSpec()
    • Method Detail

      • afterUnmarshal

        public void afterUnmarshal​(javax.xml.bind.Unmarshaller unused1,
                                   Object unused2)
        Postprocessing
      • setVarSpec

        public void setVarSpec​(VarSpecRoot varSpec)
      • getDefaultValue

        public CV getDefaultValue()
      • setDefaultValue

        public void setDefaultValue​(CV defaultValue)
        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 calling CV.pushCVp(CVp) immediately before. Alternately call #setVarSpec(CVSpec, CV).
      • setVarSpec

        public void setVarSpec​(VarSpecRoot cvSpec,
                               CV defaultValue)
        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

        public MatSpec getMatSpec()
      • setMatSpec

        public void setMatSpec​(MatSpec matSpec)
      • getCVp

        public CVp getCVp()