public int compare(ICFSecurityISOLanguageObj lhs, ICFSecurityISOLanguageObj rhs) { if (lhs == null) { if (rhs == null) { return (0); } else { return (-1); } } else if (rhs == null) { return (1); } else { String lhsValue = lhs.getObjQualifiedName(); String rhsValue = rhs.getObjQualifiedName(); if (lhsValue == null) { if (rhsValue == null) { return (0); } else { return (-1); } } else if (rhsValue == null) { return (1); } else { return (lhsValue.compareTo(rhsValue)); } } }
public void setRequiredParentLanguage(ICFSecurityISOLanguageObj value) { if (buff == null) { getISOCountryLanguageBuff(); } if (value != null) { getPKey().setRequiredISOLanguageId(value.getRequiredISOLanguageId()); getISOCountryLanguageBuff().setRequiredISOLanguageId(value.getRequiredISOLanguageId()); } else { } requiredParentLanguage = value; }