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

edu.internet2.middleware.grouper.attr.value.AttributeAssignValuesResult Maven / Gradle / Ivy

There is a newer version: 5.12.2
Show newest version
/**
 * Copyright 2014 Internet2
 *
 * 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.
 */
/**
 * @author mchyzer
 * $Id: AttributeAssignResult.java,v 1.1 2009-10-12 09:46:34 mchyzer Exp $
 */
package edu.internet2.middleware.grouper.attr.value;

import java.util.Set;


/**
 * simple wrapper bean around result of attribute assignment value
 */
public class AttributeAssignValuesResult {

  /**
   * 
   */
  public AttributeAssignValuesResult() {
    super();
  }


  /** if this attribute assignment took place or already existed */
  private boolean changed = false;
  
  /**
   * the attribute assignment
   */
  private Set attributeAssignValueResults = null;

  
  /**
   * @param newlyAssigned1 if this attribute assignment took place or already existed
   * @param attributeAssignValueResults1 the attribute assignment
   */
  public AttributeAssignValuesResult(boolean newlyAssigned1, Set attributeAssignValueResults1) {
    super();
    this.changed = newlyAssigned1;
    this.attributeAssignValueResults = attributeAssignValueResults1;
  }


  /**
   * if this attribute assignment took place or already existed
   * @return the newlyAssigned
   */
  public boolean isChanged() {
    return this.changed;
  }

  
  /**
   * if this attribute assignment took place or already existed
   * @param newlyAssigned the newlyAssigned to set
   */
  public void setChanged(boolean newlyAssigned) {
    this.changed = newlyAssigned;
  }


  /**
   * 
   * @return the set of values
   */
  public Set getAttributeAssignValueResults() {
    return this.attributeAssignValueResults;
  }


  /**
   * set of values
   * @param attributeAssignValueResults1
   */
  public void setAttributeAssignValueResults(Set attributeAssignValueResults1) {
    this.attributeAssignValueResults = attributeAssignValueResults1;
  }

  
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy