package org.oransc.ric.portal.dashboard.model;
/**
- * Trivial model to transport available application from the App manager. I
- * expect that system will soon add additional attributes. This allows coding to
- * a structure rather than a scalar.
+ * Trivial model to transport available application details from the App
+ * manager.
*/
public class AppTransport implements IDashboardResponse {
/**
* Builds an object with the specified value.
*
- * @param s
- * value to transport.
+ * @param n
+ * Name to transport
*/
- public AppTransport(String s) {
- this.name = s;
+ public AppTransport(String n) {
+ this.name = n;
}
public String getName() {
this.version = version;
}
+ @Override
+ public String toString() {
+ return this.getClass().getName() + "[name=" + getName() + ", version=" + getVersion() + "]";
+ }
+
}