import org.opendaylight.yang.gen.v1.http.org.openroadm.routing.constrains.rev161014.constraints.co.routing.or.general.general.Latency;
import org.opendaylight.yang.gen.v1.http.org.openroadm.routing.constrains.rev161014.routing.constraints.HardConstraints;
import org.opendaylight.yang.gen.v1.http.org.openroadm.routing.constrains.rev161014.routing.constraints.SoftConstraints;
import org.opendaylight.yang.gen.v1.http.org.openroadm.routing.constrains.rev161014.constraints.co.routing.or.general.general.Latency;
import org.opendaylight.yang.gen.v1.http.org.openroadm.routing.constrains.rev161014.routing.constraints.HardConstraints;
import org.opendaylight.yang.gen.v1.http.org.openroadm.routing.constrains.rev161014.routing.constraints.SoftConstraints;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev170426.ConstraintsSp;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev170426.constraints.sp.co.routing.or.general.co.routing.CoRoutingBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev170426.constraints.sp.co.routing.or.general.general.DiversityBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev170426.constraints.sp.co.routing.or.general.general.ExcludeBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev170426.constraints.sp.co.routing.or.general.general.IncludeBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev170426.constraints.sp.co.routing.or.general.general.LatencyBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev170426.diversity.existing.service.contraints.sp.ExistingServiceApplicabilityBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev170426.routing.constraints.sp.HardConstraintsBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev170426.routing.constraints.sp.SoftConstraintsBuilder;
+import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev171017.ConstraintsSp;
+import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev171017.constraints.sp.co.routing.or.general.co.routing.CoRoutingBuilder;
+import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev171017.constraints.sp.co.routing.or.general.general.DiversityBuilder;
+import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev171017.constraints.sp.co.routing.or.general.general.ExcludeBuilder;
+import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev171017.constraints.sp.co.routing.or.general.general.IncludeBuilder;
+import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev171017.constraints.sp.co.routing.or.general.general.LatencyBuilder;
+import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev171017.diversity.existing.service.contraints.sp.ExistingServiceApplicabilityBuilder;
+import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev171017.routing.constraints.sp.HardConstraintsBuilder;
+import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev171017.routing.constraints.sp.SoftConstraintsBuilder;
private HardConstraints serviceHardConstraints;
private SoftConstraints serviceSoftConstraints;
private org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface
private HardConstraints serviceHardConstraints;
private SoftConstraints serviceSoftConstraints;
private org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface
* @param soft SoftConstraints
*/
public MappingConstraints(org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface
* @param soft SoftConstraints
*/
public MappingConstraints(org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface
CoRoutingOrGeneral coRoutingOrGeneral = null;
HardConstraintsBuilder tempHard = new HardConstraintsBuilder();
SoftConstraintsBuilder tempSoft = new SoftConstraintsBuilder();
CoRoutingOrGeneral coRoutingOrGeneral = null;
HardConstraintsBuilder tempHard = new HardConstraintsBuilder();
SoftConstraintsBuilder tempSoft = new SoftConstraintsBuilder();
Constraints constraints = (Constraints)input;
coRoutingOrGeneral = constraints.getCoRoutingOrGeneral();
General tmpGeneral = null;
CoRouting tmpCoRouting = null;
if (coRoutingOrGeneral != null) {
org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints
Constraints constraints = (Constraints)input;
coRoutingOrGeneral = constraints.getCoRoutingOrGeneral();
General tmpGeneral = null;
CoRouting tmpCoRouting = null;
if (coRoutingOrGeneral != null) {
org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints
if (coRoutingOrGeneral instanceof General) {
tmpGeneral = (General) coRoutingOrGeneral;
if (tmpGeneral != null) {
if (coRoutingOrGeneral instanceof General) {
tmpGeneral = (General) coRoutingOrGeneral;
if (tmpGeneral != null) {
CoRouting tmpCoRouting = null;
if (coRoutingOrGeneral != null) {
org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints
CoRouting tmpCoRouting = null;
if (coRoutingOrGeneral != null) {
org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints
if (coRoutingOrGeneral instanceof General) {
tmpGeneral = (General) coRoutingOrGeneral;
if (tmpGeneral != null) {
if (coRoutingOrGeneral instanceof General) {
tmpGeneral = (General) coRoutingOrGeneral;
if (tmpGeneral != null) {
servicePathHardConstraints = tempHard.build();*/
org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints
servicePathHardConstraints = tempHard.build();*/
org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints
- .rev170426.routing.constraints.sp.HardConstraints tempHard = (org.opendaylight.yang.gen
- .v1.http.org.transportpce.b.c._interface.routing.constraints.rev170426.routing
+ .rev171017.routing.constraints.sp.HardConstraints tempHard = (org.opendaylight.yang.gen
+ .v1.http.org.transportpce.b.c._interface.routing.constraints.rev171017.routing
.constraints.sp.HardConstraints) getConstraints(serviceHardConstraints);
if (tempHard != null) {
servicePathHardConstraints = tempHard;
.constraints.sp.HardConstraints) getConstraints(serviceHardConstraints);
if (tempHard != null) {
servicePathHardConstraints = tempHard;
CoRouting tmpCoRouting = null;
if (coRoutingOrGeneral != null) {
org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints
CoRouting tmpCoRouting = null;
if (coRoutingOrGeneral != null) {
org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints
if (coRoutingOrGeneral instanceof General) {
tmpGeneral = (General) coRoutingOrGeneral;
if (tmpGeneral != null) {
if (coRoutingOrGeneral instanceof General) {
tmpGeneral = (General) coRoutingOrGeneral;
if (tmpGeneral != null) {
}
servicePathSoftConstraints = tempSoft.build();*/
org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints
}
servicePathSoftConstraints = tempSoft.build();*/
org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints
- .rev170426.routing.constraints.sp.SoftConstraints tempSoft = (org.opendaylight.yang.gen
- .v1.http.org.transportpce.b.c._interface.routing.constraints.rev170426.routing
+ .rev171017.routing.constraints.sp.SoftConstraints tempSoft = (org.opendaylight.yang.gen
+ .v1.http.org.transportpce.b.c._interface.routing.constraints.rev171017.routing
.constraints.sp.SoftConstraints) getConstraints(serviceSoftConstraints);
if (tempSoft != null) {
servicePathSoftConstraints = tempSoft;
.constraints.sp.SoftConstraints) getConstraints(serviceSoftConstraints);
if (tempSoft != null) {
servicePathSoftConstraints = tempSoft;
return servicePathHardConstraints;
}
public void setServicePathHardConstraints(org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface
return servicePathHardConstraints;
}
public void setServicePathHardConstraints(org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface
this.servicePathHardConstraints = servicePathHardConstraints;
}
public org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface
this.servicePathHardConstraints = servicePathHardConstraints;
}
public org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface
return servicePathSoftConstraints;
}
public void setServicePathSoftConstraints(org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface
return servicePathSoftConstraints;
}
public void setServicePathSoftConstraints(org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface