/** * 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.*; /** * This Class contains accessor and mutator methods for all properties defined in the CIM class Spared as well as methods comparable to the * invokeMethods defined for this class. This Class implements the SparedBean Interface. The CIM class Spared is described as follows: * * The Spared association indicates an element that is acting as a replacement for another element. If the Dependent references a Collection, this * indicates that 'spared' element is a member of that collection and the actual mapping between the spare and the spared is un-important. */ public class Spared extends Dependency implements Serializable { /** * This constructor creates a SparedBeanImpl Class which implements the SparedBean Interface, and encapsulates the CIM class Spared in a Java * Bean. The CIM class Spared is described as follows: * * The Spared association indicates an element that is acting as a replacement for another element. If the Dependent references a Collection, this * indicates that 'spared' element is a member of that collection and the actual mapping between the spare and the spared is un-important. */ public Spared() { }; /** * This method create an Association of the type Spared between one ManagedElement object and ManagedElement object */ public static Spared link(ManagedElement antecedent, ManagedElement dependent) { return (Spared) Association.link(Spared.class, antecedent, dependent); }// link } // Class Spared