use of com.iplanet.services.cdm.clientschema.AMClientCapData in project OpenAM by OpenRock.
the class MAPCreateDeviceModelImpl method getAttributeSchema.
private AttributeSchema getAttributeSchema(String name) {
AttributeSchema as = null;
AMClientCapData internalInstance = getClientCapDataIntInstance();
AMClientCapData externalInstance = getClientCapDataExtInstance();
if ((internalInstance != null) && (externalInstance != null)) {
as = internalInstance.getAttributeSchema(name);
if (as == null) {
as = externalInstance.getAttributeSchema(name);
}
if (as != null) {
String i18nKey = as.getI18NKey();
if ((i18nKey == null) || (i18nKey.length() == 0)) {
as = null;
}
}
}
return as;
}
Aggregations