Karthick -
You may also need this once your type is defined.
IBADefinitionHelper.service.createAttributeDefinition(AttributeDefDefaultVie
w arg0)
To create the object - check out how the GUI does it - this is most likely
the class:
com.ptc.core.meta.type.admin.server.impl.StandardTypeAdminService.newStandar
dTypeAdminService().createTypeNode(TypeDefinitionNodeView arg0, Locale
arg1);
which calls:
public TypeDefinitionNodeView createTypeNode(String s,
TypeDefinitionNodeView typedefinitionnodeview, Locale locale)
throws RemoteException, NotAuthorizedException,
WTContainerException, WTException
{
This class also has method for updating existing ones and handling the
checkin and checkout, etc.
Not tried to see if this works but this be a pointer in that direction.
Let us know if you get it working.
HTH,
David DeMay
_____