All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.emc.storageos.model.tenant.UserMappingChanges Maven / Gradle / Ivy

There is a newer version: 3.5.0.0
Show newest version
/*
 * Copyright (c) 2012 - 2013 EMC Corporation
 * All Rights Reserved
 */
package com.emc.storageos.model.tenant;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;

import java.util.ArrayList;
import java.util.List;

public class UserMappingChanges {

    private List add;
    private List remove;

    public UserMappingChanges() {
    }

    public UserMappingChanges(List add,
            List remove) {
        this.add = add;
        this.remove = remove;
    }

    @XmlElementWrapper(name = "add")
    /*
     * User mapping to add in this change
     * 
     * @valid none
     */
    @XmlElement(name = "user_mapping")
    public List getAdd() {
        if (add == null) {
            add = new ArrayList();
        }
        return add;
    }

    public void setAdd(List add) {
        this.add = add;
    }

    @XmlElementWrapper(name = "remove")
    /**
     * User mapping to remove in this change
     * @valid none
     */
    @XmlElement(name = "user_mapping")
    public List getRemove() {
        if (remove == null) {
            remove = new ArrayList();
        }
        return remove;
    }

    public void setRemove(List remove) {
        this.remove = remove;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy