All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.mydotey.scf.labeled.LabeledKey Maven / Gradle / Ivy

package org.mydotey.scf.labeled;

/**
 * @author koqizhao
 *
 * Jun 19, 2018
 */
public interface LabeledKey {

    /**
     * non-null
     */
    K getKey();

    /**
     * default to null
     */
    PropertyLabels getLabels();

    public interface Builder extends AbstractBuilder> {

    }

    public interface AbstractBuilder> {

        /**
         * required
         * @see LabeledKey#getKey()
         */
        B setKey(K key);

        /**
         * optional
         * @see LabeledKey#getLabels()
         */
        B setPropertyLabels(PropertyLabels propertyLabels);

        LabeledKey build();

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy