* ============LICENSE_START=======================================================
* ONAP-XACML
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
private transient Set<PDPPIPConfig> pipConfigs = new HashSet<>();
public StdPDP() {
-
+ //
+ // Default constructor
+ //
}
public StdPDP(String id, Integer jmxport) {
public void setPipConfigs(Set<PDPPIPConfig> pipConfigs) {
this.pipConfigs = pipConfigs;
}
+
+ @Override
public void setJmxPort(Integer jmxport) {
this.jmxport = jmxport;
}
if (o == null) {
return -1;
}
- if ( ! (o instanceof StdPDP)) {
- return -1;
- }
- if (((StdPDP)o).name == null) {
+ if (o.name == null) {
return -1;
}
if (name == null) {
return 1;
}
- return name.compareTo(((StdPDP)o).name);
+ return name.compareTo(o.name);
}
}