/** * 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.Serializable; /** * This Class contains accessor and mutator methods for all properties defined in the CIM class HostedService as well as methods comparable to the * invokeMethods defined for this class. This Class implements the HostedServiceBean Interface. The CIM class HostedService is described as follows: * * CIM_HostedService is an association between a Service and the System on which the functionality is located. The cardinality of this association is * one-to-many. A System can host many Services. Services are weak with respect to their hosting System. Heuristic: A Service is hosted on the System * where the LogicalDevices or SoftwareFeatures that implement the Service are located. The model does not represent Services hosted across multiple * systems. The model is as an ApplicationSystem that acts as an aggregation point for Services that are each located on a single host. */ public class HostedService extends HostedDependency implements Serializable { /** * */ private static final long serialVersionUID = 2449147270544793244L; /** * This constructor creates a HostedServiceBeanImpl Class which implements the HostedServiceBean Interface, and encapsulates the CIM class * HostedService in a Java Bean. The CIM class HostedService is described as follows: * * CIM_HostedService is an association between a Service and the System on which the functionality is located. The cardinality of this association * is one-to-many. A System can host many Services. Services are weak with respect to their hosting System. Heuristic: A Service is hosted on the * System where the LogicalDevices or SoftwareFeatures that implement the Service are located. The model does not represent Services hosted across * multiple systems. The model is as an ApplicationSystem that acts as an aggregation point for Services that are each located on a single host. */ public HostedService() { }; /** * This method create an Association of the type HostedService between one System object and Service object */ public static HostedService link(System antecedent, Service dependent) { return (HostedService) Association.link(HostedService.class, antecedent, dependent); }// link } // Class HostedService