
com.neuronrobotics.sdk.common.NamespaceEncapsulation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-bowler Show documentation
Show all versions of java-bowler Show documentation
A command line utility for accesing the bowler framework.
The newest version!
package com.neuronrobotics.sdk.common;
import java.util.ArrayList;
// TODO: Auto-generated Javadoc
/**
* The Class NamespaceEncapsulation.
*/
public class NamespaceEncapsulation {
/** The namespace. */
private final String namespace;
/** The rpc list. */
private ArrayList rpcList= null;
/**
* Instantiates a new namespace encapsulation.
*
* @param ns the ns
*/
public NamespaceEncapsulation(String ns){
namespace=ns;
}
/**
* Gets the namespace.
*
* @return the namespace
*/
public String getNamespace() {
return namespace;
}
/**
* Gets the rpc list.
*
* @return the rpc list
*/
public ArrayList getRpcList() {
return rpcList;
}
/**
* Sets the rpc list.
*
* @param rpcList the new rpc list
*/
public void setRpcList(ArrayList rpcList) {
this.rpcList = rpcList;
}
/* (non-Javadoc)
* @see java.lang.Object#toString()
*/
@Override
public String toString(){
String s=namespace+" Num RPC="+ rpcList.size();
for(RpcEncapsulation rpc:getRpcList()){
s+="\n\t"+rpc.toString();
}
return s;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy