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%
*/
/**
* PolicySetInSystem is an abstract association class that represents a relationship between a System and a PolicySet used in the administrative scope
* of that system (e.g., AdminDomain, ComputerSystem). The Priority property is used to assign a relative priority to a PolicySet within the
* administrative scope in contexts where it is not a component of another PolicySet.
*
* @version 2.20.1
*/
/*
* @Generated(value="org.dmtf.cim.TranslateCIM", comments="TranslateCIM version 0.9.1", date="2012-11-19T12:22:55+0100")
*/
public abstract class PolicySetInSystem extends PolicyInSystem {
/**
* Default constructor
*/
public PolicySetInSystem() {
}
/**
* The System in whose scope a PolicySet is defined.
*/
private System antecedent;
/**
* A PolicySet named within the scope of a System.
*/
private PolicySet dependent;
/**
* The Priority property is used to specify the relative priority of the referenced PolicySet when there are more than one PolicySet instances
* applied to a managed resource that are not PolicySetComponents and, therefore, have no other relative priority defined. The priority is a
* non-negative integer; a larger value indicates a higher priority.
*/
private int priority;
public System getAntecedent() {
return antecedent;
}
public void setAntecedent(System antecedent) {
this.antecedent = antecedent;
}
public PolicySet getDependent() {
return dependent;
}
public void setDependent(PolicySet dependent) {
this.dependent = dependent;
}
public int getPriority() {
return priority;
}
public void setPriority(int priority) {
this.priority = priority;
}
}