public ICFLibAnyObj getObjQualifier(Class qualifyingClass) { ICFLibAnyObj container = this; if (qualifyingClass != null) { while (container != null) { if (container instanceof ICFSecurityClusterObj) { break; } else if (container instanceof ICFSecurityTenantObj) { break; } else if (qualifyingClass.isInstance(container)) { break; } container = container.getObjScope(); } } else { while (container != null) { if (container instanceof ICFSecurityClusterObj) { break; } else if (container instanceof ICFSecurityTenantObj) { break; } container = container.getObjScope(); } } return (container); }
public String getObjFullName() { String fullName = getObjName(); ICFLibAnyObj container = getObjScope(); String containerName; while (container != null) { if (container instanceof ICFSecurityClusterObj) { container = null; } else if (container instanceof ICFSecurityTenantObj) { container = null; } else { containerName = container.getObjName(); fullName = containerName + "." + fullName; container = container.getObjScope(); } } return (fullName); }