SecurityClass.java

/*
 *        @ Copyright 2001 FA Software;
 *        All right reserved. No part of this program may be reproduced or
 *        transmitted in any form or by any means, electronic or
 *        mechanical, including photocopying, recording, or by any
 *        information storage or retrieval system without written
 *        permission from FA Software, except for inclusion of brief
 *        quotations in a review.
 */
package com.mycim.valueobject.security;

import com.mycim.valueobject.bas.NamedObject;

import java.util.ArrayList;
import java.util.Collection;

public class SecurityClass extends NamedObject {

    // --------------------------------------------------------- Instance Variables
    private Collection groups;

    private Collection screens;

    // --------------------------------------------------------- Consturctors
    public SecurityClass() {
    }

    public SecurityClass(String instanceId, String namedSpace, String object) {
        super(instanceId, namedSpace, object);
    }

    // --------------------------------------------------------- Properties
    public Collection getGroups() {
        if (this.groups == null) {
            this.groups = new ArrayList();
        }

        return groups;
    }

    public void setGroups(Collection groups) {
        this.groups = groups;
    }

    public Collection getScreens() {
        if (this.screens == null) {
            this.screens = new ArrayList();
        }

        return screens;
    }

    public void setScreens(Collection screens) {
        this.screens = screens;
    }

}