blob: 0bcda8e5490fd97ac5a7e63716982ed2d55d092a [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2015 Boeing.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
package org.eclipse.osee.define.report.api;
import java.util.LinkedList;
import java.util.List;
import javax.xml.bind.annotation.XmlRootElement;
/**
* @author David W. Miller
*/
@XmlRootElement
public class WordArtifactChange {
long artId;
List<Long> changedAttrTypes = new LinkedList<Long>();
boolean changed = false;
boolean created = false;
boolean safetyRelated = false;
public long getArtId() {
return artId;
}
public void setArtId(long artId) {
this.artId = artId;
}
public List<Long> getChangedAttrTypes() {
return changedAttrTypes;
}
public void setChangedAttrTypes(List<Long> changedAttrs) {
this.changedAttrTypes = changedAttrs;
}
public void addChangedAttrType(long attrId) {
this.changedAttrTypes.add(attrId);
}
public boolean isChanged() {
return changed;
}
public void setChanged(boolean changed) {
this.changed = changed;
}
public boolean isCreated() {
return created;
}
public void setCreated(boolean created) {
this.created = created;
}
public boolean isSafetyRelated() {
return safetyRelated;
}
public void setSafetyRelated(boolean safetyRelated) {
this.safetyRelated = safetyRelated;
}
}