Interface IAdaptableModel

    • Method Detail

      • adaptTo

        <T> T adaptTo​(Class<T> modelType)
        Tries to adapt the model to a different type. If it is not possible, this method should return null.
        Parameters:
        modelType - Type to which this model should be adapted.
        Returns:
        Non-null value if the model could be adapted, null otherwise.