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();
}
}