/** * 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; /* * #%L * OpenNaaS :: CIM Model * %% * Copyright (C) 2007 - 2014 FundaciĆ³ Privada i2CAT, Internet i InnovaciĆ³ a Catalunya * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import java.io.Serializable; /** * This Class contains accessor and mutator methods for all properties defined in the CIM class PortImplementsEndpoint as well as methods comparable * to the invokeMethods defined for this class. This Class implements the PortImplementsEndpointBean Interface. The CIM class PortImplementsEndpoint * is described as follows: * * PortImplementsEndpoint associates a LogicalPort with one or more ProtocolEndpoints that are implemented on it. This class specializes the * DeviceSAPImplementation association. It indicates that the referenced Endpoint is dependent on the operations of the Port Device. */ public class PortImplementsEndpoint extends DeviceSAPImplementation implements Serializable { /** * */ private static final long serialVersionUID = -3763672634375390291L; /** * This constructor creates a PortImplementsEndpointBeanImpl Class which implements the PortImplementsEndpointBean Interface, and encapsulates the * CIM class PortImplementsEndpoint in a Java Bean. The CIM class PortImplementsEndpoint is described as follows: * * PortImplementsEndpoint associates a LogicalPort with one or more ProtocolEndpoints that are implemented on it. This class specializes the * DeviceSAPImplementation association. It indicates that the referenced Endpoint is dependent on the operations of the Port Device. */ public PortImplementsEndpoint() { }; /** * This method create an Association of the type PortImplementsEndpoint between one LogicalPort object and ProtocolEndpoint object */ public static PortImplementsEndpoint link(LogicalPort antecedent, ProtocolEndpoint dependent) { return (PortImplementsEndpoint) Association.link(PortImplementsEndpoint.class, antecedent, dependent); }// link } // Class PortImplementsEndpoint