public static PolicyGroupInSystem link(System antecedent, PolicyGroup dependent, int priority) { PolicyGroupInSystem assoc = (PolicyGroupInSystem) Association.link(PolicyGroupInSystem.class, antecedent, dependent); assoc.setAntecedent(antecedent); assoc.setDependent(dependent); assoc.setPriority(priority); return assoc; }
/** * This method create an Association of the type ReflectorService between one BGPCluster object * and BGPService object */ public static ReflectorService link(BGPCluster antecedent, BGPService dependent) { return (ReflectorService) Association.link(ReflectorService.class, antecedent, dependent); } // link
/** * This method create an Association of the type FilterListInSystem between one ComputerSystem * object and FilterList object */ @Deprecated public static FilterListInSystem link(ComputerSystem groupComponent, FilterList partComponent) { return (FilterListInSystem) Association.link(FilterListInSystem.class, groupComponent, partComponent); } // link
/** * This method create an Association of the type LogicalIdentity between one ManagedElement object * and ManagedElement object */ public static LogicalIdentity link(ManagedElement systemElement, ManagedElement sameElement) { return (LogicalIdentity) Association.link(LogicalIdentity.class, systemElement, sameElement); } // link
/** * This method create an Association of the type BindsTo between one ProtocolEndpoint object and * ServiceAccessPoint object */ public static BindsTo link(ProtocolEndpoint antecedent, ServiceAccessPoint dependent) { return (BindsTo) Association.link(BindsTo.class, antecedent, dependent); } // link
/** * 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
/** * This method create an Association of the type SnapshotOfVirtualSystem between one * ComputerSystem object and VirtualSystemSettingData object */ public static SnapshotOfVirtualSystem link( ComputerSystem antecedent, VirtualSystemSettingData dependent) { return (SnapshotOfVirtualSystem) Association.link(SnapshotOfVirtualSystem.class, antecedent, dependent); } // link