IlpTable tableComponent = new IlpTable(); // This table will contain Network Elements IlpClass acceptedClass = IltNetworkElement.GetIlpClass(); tableComponent.setAcceptedClass(acceptedClass); ... // Retrieve the IlpAttribute corresponding to the name in // IltNetworkElement class IlpAttribute name = acceptedClass.getAttribute("name"); // Column "name" will take the second position tableComponent.setColumnIndex(name,1);