* @see org.cishell.remoting.service.framework.ObjectClassDefinitionRegistry#getAttributeDefinitions(String, int)
*/
public Vector getAttributeDefinitions(String ocdID, int filter) {
AttributeDefinition[] attrs = getObjectClassDefinition(ocdID).getAttributeDefinitions(filter);
Vector attrIDs = null;
AttributeDefinitionRegistry attrRegistry =
(AttributeDefinitionRegistry) attrReg.getService();
if (attrs != null && attrReg != null) {
attrIDs = new Vector(attrs.length);
for (int i=0; i < attrs.length; i++) {
attrIDs.add(attrRegistry.registerAttributeDefinition(attrs[i]));
}
}
return attrIDs;
}