/* * @@COPYRIGHT@@ */ package com.cosylab.acs.maci; /** * Helper class to hold sequence of COBStatus value. * * @author Matej Sekoranja (matej.sekoranja@cosylab.com) * @version @@VERSION@@ */ public final class StatusSeqHolder { /** * The ComponentStatus[] value held by this StatusSeqHolder * object in its status field. */ private ComponentStatus status[] = null; /** * Constructs a new StatusSeqHolder object with its * status field initialized to null. */ public StatusSeqHolder() { } /** * Constructs a new StatusSeqHolder object with its * status field initialized to the given * ComponentStatus[]. * @param initial the ComponentStatus[] with which to initialize * the status field of the newly-created * StatusSeqHolder object */ public StatusSeqHolder(ComponentStatus[] status) { setStatus(status); } /** * Returns the status. * @return ComponentStatus[] */ public ComponentStatus[] getStatus() { return status; } /** * Sets the status. * @param status The status to set */ public void setStatus(ComponentStatus[] status) { this.status = status; } }