cdc.mf.model.MfSpecializationOwner Maven / Gradle / Ivy
The newest version!
package cdc.mf.model;
import java.util.List;
/**
* Interface of elements that can own {@link MfSpecialization specializations}.
*
* @author Damien Carbonne
*/
public interface MfSpecializationOwner extends MfElement {
/**
* @return The {@link MfSpecialization specializations} owned by this element.
*/
public default List getSpecializations() {
return getChildren(MfSpecialization.class);
}
/**
* @return A {@link MfSpecialization specialization} {@link MfSpecialization.Builder builder}.
*/
public MfSpecialization.Builder extends MfSpecializationOwner, ? extends MfType> specialization();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy