/** * Fill a builder with attribute values from the provided {@code SMFSchemaIdentifierType} instance. * Regular attribute values will be replaced with those from the given instance. * Absent optional values will not replace present values. * @param instance The instance from which to copy values * @return {@code this} builder for use in a chained invocation */ public final Builder from(SMFSchemaIdentifierType instance) { Objects.requireNonNull(instance, "instance"); setName(instance.name()); setVersionMajor(instance.versionMajor()); setVersionMinor(instance.versionMinor()); return this; }
return valid(create( SMFSchemaIdentifier.builder() .setName(schema) .setVersionMajor(major) .setVersionMinor(minor).build()));
return valid(create( SMFSchemaIdentifier.builder() .setName(schema) .setVersionMajor(major) .setVersionMinor(minor).build()));