Class TechParent.Builder

    • Method Detail

      • setTechAttribute

        public TechParent.Builder setTechAttribute​(java.lang.String pTechAttribute)
        Method sets attribute techAttribute.
        Parameters:
        pTechAttribute - Value to which techAttribute should be set.
        Returns:
        TechParent.Builder Instance of this builder to support chaining setters. Method never returns null.
      • build

        public TechParent build()
        Method creates a new instance of class TechParent. The object will be initialized with the values of the builder.
        Returns:
        TechParent Created object. The method never returns null.
      • buildValidated

        public TechParent buildValidated()
                                  throws javax.validation.ConstraintViolationException
        Method creates a new validated instance of class TechParent. The object will be initialized with the values of the builder and validated afterwards.
        Returns:
        TechParent Created and validated object. The method never returns null.
        Throws:
        javax.validation.ConstraintViolationException - in case that one or more validations for the created object failed.