commons/src/main/java/com/epam/eco/schemacatalog/domain/metadata/MetadataUpdateParams.java [127:152]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        public Builder doc(String doc) {
            this.doc = doc;
            return this;
        }

        public Builder attribute(String key, Object value) {
            return attributes(Collections.singletonMap(key, value));
        }

        public Builder attributes(Map<String, ?> attributes) {
            this.attributes.clear();
            if (attributes != null) {
                this.attributes.putAll(attributes);
            }
            return this;
        }

        public Builder appendAttribute(String key, Object value) {
            return appendAttributes(Collections.singletonMap(key, value));
        }

        public Builder appendAttributes(Map<String, ?> attributes) {
            if (attributes != null) {
                this.attributes.putAll(attributes);
            }
            return this;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



commons/src/main/java/com/epam/eco/schemacatalog/domain/metadata/MetadataValue.java [151:176]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        public Builder doc(String doc) {
            this.doc = doc;
            return this;
        }

        public Builder attribute(String key, Object value) {
            return attributes(Collections.singletonMap(key, value));
        }

        public Builder attributes(Map<String, ?> attributes) {
            this.attributes.clear();
            if (attributes != null) {
                this.attributes.putAll(attributes);
            }
            return this;
        }

        public Builder appendAttribute(String key, Object value) {
            return appendAttributes(Collections.singletonMap(key, value));
        }

        public Builder appendAttributes(Map<String, ?> attributes) {
            if (attributes != null) {
                this.attributes.putAll(attributes);
            }
            return this;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



