public boolean equals(Object obj) { if (obj == null) { return (false); } else if (obj instanceof CFBamTokenTypeBuff) { CFBamTokenTypeBuff rhs = (CFBamTokenTypeBuff) obj; if (getRequiredTenantId() != rhs.getRequiredTenantId()) { return (false); } if (getRequiredId() != rhs.getRequiredId()) { return (false); } if (getRequiredSchemaDefId() != rhs.getRequiredSchemaDefId()) { return (false); } return (true); } else if (obj instanceof CFBamValuePKey) { CFBamValuePKey rhs = (CFBamValuePKey) obj; if (getRequiredTenantId() != rhs.getRequiredTenantId()) { return (false); } if (getRequiredId() != rhs.getRequiredId()) { return (false); } return (true); } else if (obj instanceof CFBamTokenTypeHBuff) { CFBamTokenTypeHBuff rhs = (CFBamTokenTypeHBuff) obj; if (getRequiredTenantId() != rhs.getRequiredTenantId()) { return (false); } if (getRequiredId() != rhs.getRequiredId()) { return (false); } if (getRequiredSchemaDefId() != rhs.getRequiredSchemaDefId()) { return (false); } return (true); } else if (obj instanceof CFBamValueHPKey) { CFBamValueHPKey rhs = (CFBamValueHPKey) obj; if (getRequiredTenantId() != rhs.getRequiredTenantId()) { return (false); } if (getRequiredId() != rhs.getRequiredId()) { return (false); } return (true); } else if (obj instanceof CFBamTokenTypeBySchemaIdxKey) { CFBamTokenTypeBySchemaIdxKey rhs = (CFBamTokenTypeBySchemaIdxKey) obj; if (getRequiredTenantId() != rhs.getRequiredTenantId()) { return (false); } if (getRequiredSchemaDefId() != rhs.getRequiredSchemaDefId()) { return (false); } return (true); } else { boolean retval = super.equals(obj); return (retval); } }
public boolean equals(Object obj) { if (obj == null) { return (false); } else if (obj instanceof CFBamInt32ColBuff) { CFBamInt32ColBuff rhs = (CFBamInt32ColBuff) obj; if (getRequiredTenantId() != rhs.getRequiredTenantId()) { return (false); } if (getRequiredId() != rhs.getRequiredId()) { return (false); } if (getRequiredTableId() != rhs.getRequiredTableId()) { return (false); } return (true); } else if (obj instanceof CFBamValuePKey) { CFBamValuePKey rhs = (CFBamValuePKey) obj; if (getRequiredTenantId() != rhs.getRequiredTenantId()) { return (false); } if (getRequiredId() != rhs.getRequiredId()) { return (false); } return (true); } else if (obj instanceof CFBamInt32ColHBuff) { CFBamInt32ColHBuff rhs = (CFBamInt32ColHBuff) obj; if (getRequiredTenantId() != rhs.getRequiredTenantId()) { return (false); } if (getRequiredId() != rhs.getRequiredId()) { return (false); } if (getRequiredTableId() != rhs.getRequiredTableId()) { return (false); } return (true); } else if (obj instanceof CFBamValueHPKey) { CFBamValueHPKey rhs = (CFBamValueHPKey) obj; if (getRequiredTenantId() != rhs.getRequiredTenantId()) { return (false); } if (getRequiredId() != rhs.getRequiredId()) { return (false); } return (true); } else if (obj instanceof CFBamInt32ColByTableIdxKey) { CFBamInt32ColByTableIdxKey rhs = (CFBamInt32ColByTableIdxKey) obj; if (getRequiredTenantId() != rhs.getRequiredTenantId()) { return (false); } if (getRequiredTableId() != rhs.getRequiredTableId()) { return (false); } return (true); } else { boolean retval = super.equals(obj); return (retval); } }
public CFBamUuidDefBuff readDerived(CFSecurityAuthorization Authorization, CFBamValuePKey PKey) { final String S_ProcName = "CFBamRamUuidDef.readDerived"; CFBamValuePKey key = schema.getFactoryValue().newPKey(); key.setRequiredTenantId(PKey.getRequiredTenantId()); key.setRequiredId(PKey.getRequiredId()); CFBamUuidDefBuff buff; if (dictByPKey.containsKey(key)) { buff = dictByPKey.get(key); } else { buff = null; } return (buff); }
public int compareTo(Object obj) { if (obj == null) { return (-1); } else if (obj instanceof CFBamTokenTypeBuff) { CFBamTokenTypeBuff rhs = (CFBamTokenTypeBuff) obj; int retval = super.compareTo(rhs); if (retval != 0) { return (retval); } if (getRequiredSchemaDefId() < rhs.getRequiredSchemaDefId()) { return (-1); } else if (getRequiredSchemaDefId() > rhs.getRequiredSchemaDefId()) { return (1); } return (0); } else if (obj instanceof CFBamValuePKey) { CFBamValuePKey rhs = (CFBamValuePKey) obj; if (getRequiredTenantId() < rhs.getRequiredTenantId()) { return (-1); } else if (getRequiredTenantId() > rhs.getRequiredTenantId()) { return (1); } if (getRequiredId() < rhs.getRequiredId()) { return (-1); } else if (getRequiredId() > rhs.getRequiredId()) { return (1); } return (0); } else if (obj instanceof CFBamValueHPKey) { CFBamValueHPKey rhs = (CFBamValueHPKey) obj; { int lhsRequiredRevision = getRequiredRevision(); int rhsRequiredRevision = rhs.getRequiredRevision(); if (lhsRequiredRevision < rhsRequiredRevision) { return (-1); } else if (lhsRequiredRevision > rhsRequiredRevision) { return (1); } } if (getRequiredTenantId() < rhs.getRequiredTenantId()) { return (-1); } else if (getRequiredTenantId() > rhs.getRequiredTenantId()) { return (1); } if (getRequiredId() < rhs.getRequiredId()) { return (-1); } else if (getRequiredId() > rhs.getRequiredId()) { return (1); } return (0); } else if (obj instanceof CFBamTokenTypeHBuff) { CFBamTokenTypeHBuff rhs = (CFBamTokenTypeHBuff) obj; int retval = super.compareTo(rhs); if (retval != 0) { return (retval); } if (getRequiredSchemaDefId() < rhs.getRequiredSchemaDefId()) { return (-1); } else if (getRequiredSchemaDefId() > rhs.getRequiredSchemaDefId()) { return (1); } return (0); } else if (obj instanceof CFBamTokenTypeBySchemaIdxKey) { CFBamTokenTypeBySchemaIdxKey rhs = (CFBamTokenTypeBySchemaIdxKey) obj; if (getRequiredTenantId() < rhs.getRequiredTenantId()) { return (-1); } else if (getRequiredTenantId() > rhs.getRequiredTenantId()) { return (1); } if (getRequiredSchemaDefId() < rhs.getRequiredSchemaDefId()) { return (-1); } else if (getRequiredSchemaDefId() > rhs.getRequiredSchemaDefId()) { return (1); } return (0); } else { int retval = super.compareTo(obj); return (retval); } }
public int compareTo(Object obj) { if (obj == null) { return (-1); } else if (obj instanceof CFBamNmTokensDefBuff) { CFBamNmTokensDefBuff rhs = (CFBamNmTokensDefBuff) obj; int retval = super.compareTo(rhs); if (retval != 0) { return (retval); } if (getRequiredMaxLen() < rhs.getRequiredMaxLen()) { return (-1); } else if (getRequiredMaxLen() > rhs.getRequiredMaxLen()) { return (1); } if (getOptionalInitValue() != null) { if (rhs.getOptionalInitValue() != null) { int cmp = getOptionalInitValue().compareTo(rhs.getOptionalInitValue()); if (cmp != 0) { return (cmp); } } else { return (1); } } else { if (rhs.getOptionalInitValue() != null) { return (-1); } } if (getOptionalDefaultValue() != null) { if (rhs.getOptionalDefaultValue() != null) { int cmp = getOptionalDefaultValue().compareTo(rhs.getOptionalDefaultValue()); if (cmp != 0) { return (cmp); } } else { return (1); } } else { if (rhs.getOptionalDefaultValue() != null) { return (-1); } } if (getOptionalNullValue() != null) { if (rhs.getOptionalNullValue() != null) { int cmp = getOptionalNullValue().compareTo(rhs.getOptionalNullValue()); if (cmp != 0) { return (cmp); } } else { return (1); } } else { if (rhs.getOptionalNullValue() != null) { return (-1); } } if (getOptionalUnknownValue() != null) { if (rhs.getOptionalUnknownValue() != null) { int cmp = getOptionalUnknownValue().compareTo(rhs.getOptionalUnknownValue()); if (cmp != 0) { return (cmp); } } else { return (1); } } else { if (rhs.getOptionalUnknownValue() != null) { return (-1); } } if (getRequiredShowLines() < rhs.getRequiredShowLines()) { return (-1); } else if (getRequiredShowLines() > rhs.getRequiredShowLines()) { return (1); } return (0); } else if (obj instanceof CFBamValuePKey) { CFBamValuePKey rhs = (CFBamValuePKey) obj; if (getRequiredTenantId() < rhs.getRequiredTenantId()) { return (-1); } else if (getRequiredTenantId() > rhs.getRequiredTenantId()) { return (1); } if (getRequiredId() < rhs.getRequiredId()) { return (-1); } else if (getRequiredId() > rhs.getRequiredId()) { return (1); } return (0); } else if (obj instanceof CFBamValueHPKey) { CFBamValueHPKey rhs = (CFBamValueHPKey) obj; { int lhsRequiredRevision = getRequiredRevision(); int rhsRequiredRevision = rhs.getRequiredRevision(); if (lhsRequiredRevision < rhsRequiredRevision) { return (-1); } else if (lhsRequiredRevision > rhsRequiredRevision) { return (1); } } if (getRequiredTenantId() < rhs.getRequiredTenantId()) { return (-1); } else if (getRequiredTenantId() > rhs.getRequiredTenantId()) { return (1); } if (getRequiredId() < rhs.getRequiredId()) { return (-1); } else if (getRequiredId() > rhs.getRequiredId()) { return (1); } return (0); } else if (obj instanceof CFBamNmTokensDefHBuff) { CFBamNmTokensDefHBuff rhs = (CFBamNmTokensDefHBuff) obj; int retval = super.compareTo(rhs); if (retval != 0) { return (retval); } if (getRequiredMaxLen() < rhs.getRequiredMaxLen()) { return (-1); } else if (getRequiredMaxLen() > rhs.getRequiredMaxLen()) { return (1); } if (getOptionalInitValue() != null) { if (rhs.getOptionalInitValue() != null) { int cmp = getOptionalInitValue().compareTo(rhs.getOptionalInitValue()); if (cmp != 0) { return (cmp); } } else { return (1); } } else { if (rhs.getOptionalInitValue() != null) { return (-1); } } if (getOptionalDefaultValue() != null) { if (rhs.getOptionalDefaultValue() != null) { int cmp = getOptionalDefaultValue().compareTo(rhs.getOptionalDefaultValue()); if (cmp != 0) { return (cmp); } } else { return (1); } } else { if (rhs.getOptionalDefaultValue() != null) { return (-1); } } if (getOptionalNullValue() != null) { if (rhs.getOptionalNullValue() != null) { int cmp = getOptionalNullValue().compareTo(rhs.getOptionalNullValue()); if (cmp != 0) { return (cmp); } } else { return (1); } } else { if (rhs.getOptionalNullValue() != null) { return (-1); } } if (getOptionalUnknownValue() != null) { if (rhs.getOptionalUnknownValue() != null) { int cmp = getOptionalUnknownValue().compareTo(rhs.getOptionalUnknownValue()); if (cmp != 0) { return (cmp); } } else { return (1); } } else { if (rhs.getOptionalUnknownValue() != null) { return (-1); } } if (getRequiredShowLines() < rhs.getRequiredShowLines()) { return (-1); } else if (getRequiredShowLines() > rhs.getRequiredShowLines()) { return (1); } return (0); } else { int retval = super.compareTo(obj); return (retval); } }
public boolean equals(Object obj) { if (obj == null) { return (false); } else if (obj instanceof CFBamNmTokensDefBuff) { CFBamNmTokensDefBuff rhs = (CFBamNmTokensDefBuff) obj; if (getRequiredTenantId() != rhs.getRequiredTenantId()) { return (false); } if (getRequiredId() != rhs.getRequiredId()) { return (false); } if (getRequiredMaxLen() != rhs.getRequiredMaxLen()) { return (false); } if (getOptionalInitValue() != null) { if (rhs.getOptionalInitValue() != null) { if (!getOptionalInitValue().equals(rhs.getOptionalInitValue())) { return (false); } } } else { if (rhs.getOptionalInitValue() != null) { return (false); } } if (getOptionalDefaultValue() != null) { if (rhs.getOptionalDefaultValue() != null) { if (!getOptionalDefaultValue().equals(rhs.getOptionalDefaultValue())) { return (false); } } } else { if (rhs.getOptionalDefaultValue() != null) { return (false); } } if (getOptionalNullValue() != null) { if (rhs.getOptionalNullValue() != null) { if (!getOptionalNullValue().equals(rhs.getOptionalNullValue())) { return (false); } } } else { if (rhs.getOptionalNullValue() != null) { return (false); } } if (getOptionalUnknownValue() != null) { if (rhs.getOptionalUnknownValue() != null) { if (!getOptionalUnknownValue().equals(rhs.getOptionalUnknownValue())) { return (false); } } } else { if (rhs.getOptionalUnknownValue() != null) { return (false); } } if (getRequiredShowLines() != rhs.getRequiredShowLines()) { return (false); } return (true); } else if (obj instanceof CFBamValuePKey) { CFBamValuePKey rhs = (CFBamValuePKey) obj; if (getRequiredTenantId() != rhs.getRequiredTenantId()) { return (false); } if (getRequiredId() != rhs.getRequiredId()) { return (false); } return (true); } else if (obj instanceof CFBamNmTokensDefHBuff) { CFBamNmTokensDefHBuff rhs = (CFBamNmTokensDefHBuff) obj; if (getRequiredTenantId() != rhs.getRequiredTenantId()) { return (false); } if (getRequiredId() != rhs.getRequiredId()) { return (false); } if (getRequiredMaxLen() != rhs.getRequiredMaxLen()) { return (false); } if (getOptionalInitValue() != null) { if (rhs.getOptionalInitValue() != null) { if (!getOptionalInitValue().equals(rhs.getOptionalInitValue())) { return (false); } } } else { if (rhs.getOptionalInitValue() != null) { return (false); } } if (getOptionalDefaultValue() != null) { if (rhs.getOptionalDefaultValue() != null) { if (!getOptionalDefaultValue().equals(rhs.getOptionalDefaultValue())) { return (false); } } } else { if (rhs.getOptionalDefaultValue() != null) { return (false); } } if (getOptionalNullValue() != null) { if (rhs.getOptionalNullValue() != null) { if (!getOptionalNullValue().equals(rhs.getOptionalNullValue())) { return (false); } } } else { if (rhs.getOptionalNullValue() != null) { return (false); } } if (getOptionalUnknownValue() != null) { if (rhs.getOptionalUnknownValue() != null) { if (!getOptionalUnknownValue().equals(rhs.getOptionalUnknownValue())) { return (false); } } } else { if (rhs.getOptionalUnknownValue() != null) { return (false); } } if (getRequiredShowLines() != rhs.getRequiredShowLines()) { return (false); } return (true); } else if (obj instanceof CFBamValueHPKey) { CFBamValueHPKey rhs = (CFBamValueHPKey) obj; if (getRequiredTenantId() != rhs.getRequiredTenantId()) { return (false); } if (getRequiredId() != rhs.getRequiredId()) { return (false); } return (true); } else { boolean retval = super.equals(obj); return (retval); } }
public static String formatValuePKeyAttributes(String separator, CFBamValuePKey pkey) { String retval = CFLibXmlUtil.formatRequiredInt64(null, "TenantId", pkey.getRequiredTenantId()) + CFLibXmlUtil.formatRequiredInt64(separator, "Id", pkey.getRequiredId()); return (retval); }
public int compareTo(Object obj) { if (obj == null) { return (-1); } else if (obj instanceof CFBamValueHBuff) { CFBamValueHBuff rhs = (CFBamValueHBuff) obj; int retval = 0; { long lhsAuditClusterId = getAuditClusterId(); long rhsAuditClusterId = rhs.getAuditClusterId(); if (lhsAuditClusterId < rhsAuditClusterId) { return (-1); } else if (lhsAuditClusterId > rhsAuditClusterId) { return (1); } } { Calendar lhsAuditStamp = getAuditStamp(); Calendar rhsAuditStamp = rhs.getAuditStamp(); if (lhsAuditStamp == null) { if (rhsAuditStamp != null) { return (-1); } } else if (rhsAuditStamp == null) { return (1); } else { int cmpstat = lhsAuditStamp.compareTo(rhsAuditStamp); if (cmpstat != 0) { return (cmpstat); } } } { short lhsAuditActionId = getAuditActionId(); short rhsAuditActionId = rhs.getAuditActionId(); if (lhsAuditActionId < rhsAuditActionId) { return (-1); } else if (lhsAuditActionId > rhsAuditActionId) { return (1); } } { int lhsRequiredRevision = getRequiredRevision(); int rhsRequiredRevision = rhs.getRequiredRevision(); if (lhsRequiredRevision < rhsRequiredRevision) { return (-1); } else if (lhsRequiredRevision > rhsRequiredRevision) { return (1); } } { UUID lhsAuditSessionId = getAuditSessionId(); UUID rhsAuditSessionId = rhs.getAuditSessionId(); if (lhsAuditSessionId == null) { if (rhsAuditSessionId != null) { return (-1); } } else if (rhsAuditSessionId == null) { return (1); } else { int cmpstat = lhsAuditSessionId.compareTo(rhsAuditSessionId); if (cmpstat != 0) { return (cmpstat); } } } if (getRequiredTenantId() < rhs.getRequiredTenantId()) { return (-1); } else if (getRequiredTenantId() > rhs.getRequiredTenantId()) { return (1); } if (getRequiredId() < rhs.getRequiredId()) { return (-1); } else if (getRequiredId() > rhs.getRequiredId()) { return (1); } return (0); } else if (obj instanceof CFBamValueHPKey) { CFBamValueHPKey rhs = (CFBamValueHPKey) obj; { long lhsAuditClusterId = getAuditClusterId(); long rhsAuditClusterId = rhs.getAuditClusterId(); if (lhsAuditClusterId < rhsAuditClusterId) { return (-1); } else if (lhsAuditClusterId > rhsAuditClusterId) { return (1); } } { Calendar lhsAuditStamp = getAuditStamp(); Calendar rhsAuditStamp = rhs.getAuditStamp(); if (lhsAuditStamp == null) { if (rhsAuditStamp != null) { return (-1); } } else if (rhsAuditStamp == null) { return (1); } else { int cmpstat = lhsAuditStamp.compareTo(rhsAuditStamp); if (cmpstat != 0) { return (cmpstat); } } } { short lhsAuditActionId = getAuditActionId(); short rhsAuditActionId = rhs.getAuditActionId(); if (lhsAuditActionId < rhsAuditActionId) { return (-1); } else if (lhsAuditActionId > rhsAuditActionId) { return (1); } } { int lhsRequiredRevision = getRequiredRevision(); int rhsRequiredRevision = rhs.getRequiredRevision(); if (lhsRequiredRevision < rhsRequiredRevision) { return (-1); } else if (lhsRequiredRevision > rhsRequiredRevision) { return (1); } } { UUID lhsAuditSessionId = getAuditSessionId(); UUID rhsAuditSessionId = rhs.getAuditSessionId(); if (lhsAuditSessionId == null) { if (rhsAuditSessionId != null) { return (-1); } } else if (rhsAuditSessionId == null) { return (1); } else { int cmpstat = lhsAuditSessionId.compareTo(rhsAuditSessionId); if (cmpstat != 0) { return (cmpstat); } } } if (getRequiredTenantId() < rhs.getRequiredTenantId()) { return (-1); } else if (getRequiredTenantId() > rhs.getRequiredTenantId()) { return (1); } if (getRequiredId() < rhs.getRequiredId()) { return (-1); } else if (getRequiredId() > rhs.getRequiredId()) { return (1); } return (0); } else if (obj instanceof CFBamHPKey) { CFBamHPKey rhs = (CFBamHPKey) obj; { long lhsAuditClusterId = getAuditClusterId(); long rhsAuditClusterId = rhs.getAuditClusterId(); if (lhsAuditClusterId < rhsAuditClusterId) { return (-1); } else if (lhsAuditClusterId > rhsAuditClusterId) { return (1); } } { Calendar lhsAuditStamp = getAuditStamp(); Calendar rhsAuditStamp = rhs.getAuditStamp(); if (lhsAuditStamp == null) { if (rhsAuditStamp != null) { return (-1); } } else if (rhsAuditStamp == null) { return (1); } else { int cmpstat = lhsAuditStamp.compareTo(rhsAuditStamp); if (cmpstat != 0) { return (cmpstat); } } } { short lhsAuditActionId = getAuditActionId(); short rhsAuditActionId = rhs.getAuditActionId(); if (lhsAuditActionId < rhsAuditActionId) { return (-1); } else if (lhsAuditActionId > rhsAuditActionId) { return (1); } } { int lhsRequiredRevision = getRequiredRevision(); int rhsRequiredRevision = rhs.getRequiredRevision(); if (lhsRequiredRevision < rhsRequiredRevision) { return (-1); } else if (lhsRequiredRevision > rhsRequiredRevision) { return (1); } } { UUID lhsAuditSessionId = getAuditSessionId(); UUID rhsAuditSessionId = rhs.getAuditSessionId(); if (lhsAuditSessionId == null) { if (rhsAuditSessionId != null) { return (-1); } } else if (rhsAuditSessionId == null) { return (1); } else { int cmpstat = lhsAuditSessionId.compareTo(rhsAuditSessionId); if (cmpstat != 0) { return (cmpstat); } } } return (0); } else if (obj instanceof CFBamValuePKey) { CFBamValuePKey rhs = (CFBamValuePKey) obj; if (getRequiredTenantId() < rhs.getRequiredTenantId()) { return (-1); } else if (getRequiredTenantId() > rhs.getRequiredTenantId()) { return (1); } if (getRequiredId() < rhs.getRequiredId()) { return (-1); } else if (getRequiredId() > rhs.getRequiredId()) { return (1); } return (0); } else if (obj instanceof CFBamValueBuff) { CFBamValueBuff rhs = (CFBamValueBuff) obj; if (getRequiredTenantId() < rhs.getRequiredTenantId()) { return (-1); } else if (getRequiredTenantId() > rhs.getRequiredTenantId()) { return (1); } if (getRequiredId() < rhs.getRequiredId()) { return (-1); } else if (getRequiredId() > rhs.getRequiredId()) { return (1); } return (0); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "compareTo", "obj", obj, "CFBamValueHPKey, CFBamValuePKey, CFBamValueBuff"); } }
public boolean equals(Object obj) { if (obj == null) { return (false); } else if (obj instanceof CFBamValueHPKey) { CFBamValueHPKey rhs = (CFBamValueHPKey) obj; { long lhsClusterId = getAuditClusterId(); long rhsClusterId = rhs.getAuditClusterId(); if (lhsClusterId != rhsClusterId) { return (false); } } { Calendar lhsAuditStamp = getAuditStamp(); Calendar rhsAuditStamp = rhs.getAuditStamp(); if (lhsAuditStamp != null) { if (rhsAuditStamp != null) { if (!lhsAuditStamp.equals(rhsAuditStamp)) { return (false); } } else { return (false); } } else { return (false); } } { short lhsActionId = getAuditActionId(); short rhsActionId = rhs.getAuditActionId(); if (lhsActionId != rhsActionId) { return (false); } } { int lhsRevision = getRequiredRevision(); int rhsRevision = rhs.getRequiredRevision(); if (lhsRevision != rhsRevision) { return (false); } } { UUID lhsAuditSessionId = getAuditSessionId(); UUID rhsAuditSessionId = rhs.getAuditSessionId(); if (lhsAuditSessionId != null) { if (rhsAuditSessionId != null) { if (!lhsAuditSessionId.equals(rhsAuditSessionId)) { return (false); } } else { return (false); } } else { return (false); } } if (getRequiredTenantId() != rhs.getRequiredTenantId()) { return (false); } if (getRequiredId() != rhs.getRequiredId()) { return (false); } return (true); } else if (obj instanceof CFBamHPKey) { CFBamHPKey rhs = (CFBamHPKey) obj; { long lhsClusterId = getAuditClusterId(); long rhsClusterId = rhs.getAuditClusterId(); if (lhsClusterId != rhsClusterId) { return (false); } } { Calendar lhsAuditStamp = getAuditStamp(); Calendar rhsAuditStamp = rhs.getAuditStamp(); if (lhsAuditStamp != null) { if (rhsAuditStamp != null) { if (!lhsAuditStamp.equals(rhsAuditStamp)) { return (false); } } else { return (false); } } else { return (false); } } { short lhsActionId = getAuditActionId(); short rhsActionId = rhs.getAuditActionId(); if (lhsActionId != rhsActionId) { return (false); } } { int lhsRevision = getRequiredRevision(); int rhsRevision = rhs.getRequiredRevision(); if (lhsRevision != rhsRevision) { return (false); } } { UUID lhsAuditSessionId = getAuditSessionId(); UUID rhsAuditSessionId = rhs.getAuditSessionId(); if (lhsAuditSessionId != null) { if (rhsAuditSessionId != null) { if (!lhsAuditSessionId.equals(rhsAuditSessionId)) { return (false); } } else { return (false); } } else { return (false); } } return (true); } else if (obj instanceof CFBamValuePKey) { CFBamValuePKey rhs = (CFBamValuePKey) obj; if (getRequiredTenantId() != rhs.getRequiredTenantId()) { return (false); } if (getRequiredId() != rhs.getRequiredId()) { return (false); } return (true); } else if (obj instanceof CFBamValueHBuff) { CFBamValueHBuff rhs = (CFBamValueHBuff) obj; { long lhsClusterId = getAuditClusterId(); long rhsClusterId = rhs.getAuditClusterId(); if (lhsClusterId != rhsClusterId) { return (false); } } { Calendar lhsAuditStamp = getAuditStamp(); Calendar rhsAuditStamp = rhs.getAuditStamp(); if (lhsAuditStamp != null) { if (rhsAuditStamp != null) { if (!lhsAuditStamp.equals(rhsAuditStamp)) { return (false); } } else { return (false); } } else { return (false); } } { short lhsActionId = getAuditActionId(); short rhsActionId = rhs.getAuditActionId(); if (lhsActionId != rhsActionId) { return (false); } } { int lhsRevision = getRequiredRevision(); int rhsRevision = rhs.getRequiredRevision(); if (lhsRevision != rhsRevision) { return (false); } } { UUID lhsAuditSessionId = getAuditSessionId(); UUID rhsAuditSessionId = rhs.getAuditSessionId(); if (lhsAuditSessionId != null) { if (rhsAuditSessionId != null) { if (!lhsAuditSessionId.equals(rhsAuditSessionId)) { return (false); } } else { return (false); } } else { return (false); } } if (getRequiredTenantId() != rhs.getRequiredTenantId()) { return (false); } if (getRequiredId() != rhs.getRequiredId()) { return (false); } if (getRequiredTenantId() != rhs.getRequiredTenantId()) { return (false); } if (getRequiredId() != rhs.getRequiredId()) { return (false); } return (true); } else if (obj instanceof CFBamValueBuff) { CFBamValueBuff rhs = (CFBamValueBuff) obj; if (getRequiredTenantId() != rhs.getRequiredTenantId()) { return (false); } if (getRequiredId() != rhs.getRequiredId()) { return (false); } return (true); } else { return (false); } }