/*
 * Copyright (c) 2008-2015 Haulmont. All rights reserved.
 * Use is subject to license terms, see http://www.cuba-platform.com/license for details.
 */

package com.haulmont.cuba.gui.app.core.categories;

import com.haulmont.chile.core.annotations.MetaClass;
import com.haulmont.chile.core.annotations.MetaProperty;
import com.haulmont.cuba.core.entity.AbstractNotPersistentEntity;

/**
 * @author degtyarjov
 * @version $Id$
 */
@MetaClass(name = "sys$ScreenAndComponent")
public class ScreenAndComponent extends AbstractNotPersistentEntity{
    @MetaProperty
    protected String screen;

    @MetaProperty
    protected String component;

    public ScreenAndComponent() {
    }

    public ScreenAndComponent(String screen, String component) {
        this.screen = screen;
        this.component = component;
    }

    public String getScreen() {
        return screen;
    }

    public void setScreen(String screen) {
        this.screen = screen;
    }

    public String getComponent() {
        return component;
    }

    public void setComponent(String component) {
        this.component = component;
    }
}

@@ -387,16 +387,78 @@
 Entity;%0D
+%0Aimport com.haulmont.cuba.core.entity.annotation.SystemLevel;%0D
 %0A%0D%0A/**%0D%0A
@@ -548,16 +548,30 @@
 nent%22)%0D%0A
+@SystemLevel%0D%0A
 public c
@@ -629,16 +629,17 @@
 ntEntity
+ 
 %7B%0D%0A    @
@@ -1242,10 +1242,8 @@
     %7D%0D%0A%7D
-%0D%0A

Make ScreenAndComponent @SystemLevel #PL-6135