/**
 *
 * Copyright (c) 2006-2016, Speedment, Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); You may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at:
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package com.speedment.internal.ui.brand;

import com.speedment.component.UserInterfaceComponent;
import static java.util.Objects.requireNonNull;
import java.util.Optional;

/**
 *
 * @author Emil Forslund
 */
public final class DefaultBrand implements UserInterfaceComponent.Brand {
        
    private final String title, subtitle, version, logoSmall, logoLarge;

    public DefaultBrand(String title, String subtitle, String version, String logoSmall, String logoLarge) {
        this.title     = requireNonNull(title);
        this.subtitle  = requireNonNull(subtitle);
        this.version   = requireNonNull(version);
        this.logoSmall = logoSmall; // Can be null.
        this.logoLarge = logoLarge; // Can be null.
    }

    @Override
    public String title() {
        return title;
    }

    @Override
    public String subtitle() {
        return subtitle;
    }

    @Override
    public String version() {
        return version;
    }

    @Override
    public Optional<String> logoSmall() {
        return Optional.ofNullable(logoSmall);
    }

    @Override
    public Optional<String> logoLarge() {
        return Optional.ofNullable(logoLarge);
    }
}
@@ -840,22 +840,16 @@
 %0Apublic 
-final 
 class De
@@ -1374,24 +1374,30 @@
 %0A    public 
+final 
 String title
@@ -1393,32 +1393,32 @@
 tring title() %7B%0A
-
         return t
@@ -1451,24 +1451,30 @@
 %0A    public 
+final 
 String subti
@@ -1538,16 +1538,22 @@
  public 
+final 
 String v
@@ -1611,32 +1611,38 @@
 ride%0A    public 
+final 
 Optional%3CString%3E
@@ -1716,32 +1716,32 @@
 %0A%0A    @Override%0A
-
     public Optio
@@ -1735,16 +1735,22 @@
  public 
+final 
 Optional

Make DefaultBrand overridable