/** * This file was auto-generated by mofcomp -j version 1.0.0 on Wed Jan 12 * 09:21:06 CET 2011. */ package org.opennaas.extensions.router.model; import java.io.*; import java.lang.Exception; /** * This Class contains accessor and mutator methods for all properties defined in the CIM class ActsAsSpare as well as methods comparable to the * invokeMethods defined for this class. This Class implements the ActsAsSpareBean Interface. The CIM class ActsAsSpare is described as follows: * * The ActsAsSpare association indicates which elements can spare or replace the other aggregated elements. The fact that a spare can operate in * "hot standby" mode is specified on an element by element basis. The use of this class is being deprecated in lieu of using the IsSpare * relationship. */ @Deprecated public class ActsAsSpare extends Association implements Serializable { /** * This constructor creates a ActsAsSpareBeanImpl Class which implements the ActsAsSpareBean Interface, and encapsulates the CIM class ActsAsSpare * in a Java Bean. The CIM class ActsAsSpare is described as follows: * * The ActsAsSpare association indicates which elements can spare or replace the other aggregated elements. The fact that a spare can operate in * "hot standby" mode is specified on an element by element basis. The use of this class is being deprecated in lieu of using the IsSpare * relationship. */ public ActsAsSpare() { }; /** * This method create an Association of the type ActsAsSpare between one SpareGroup object and ManagedSystemElement object */ @Deprecated public static ActsAsSpare link(SpareGroup group, ManagedSystemElement spare) { return (ActsAsSpare) Association.link(ActsAsSpare.class, group, spare); }// link /** * The following constants are defined for use with the ValueMap/Values qualified property hotStandby. */ @Deprecated private boolean hotStandby; /** * This method returns the ActsAsSpare.hotStandby property value. This property is described as follows: * * HotStandby is a boolean indicating that the spare is operating as a hot standby. * * @return boolean current hotStandby property value * @exception Exception */ @Deprecated public boolean isHotStandby() { return this.hotStandby; } // getHotStandby /** * This method sets the ActsAsSpare.hotStandby property value. This property is described as follows: * * HotStandby is a boolean indicating that the spare is operating as a hot standby. * * @param boolean new hotStandby property value * @exception Exception */ @Deprecated public void setHotStandby(boolean hotStandby) { this.hotStandby = hotStandby; } // setHotStandby } // Class ActsAsSpare