text: // Description: C++18 implementation of a TSecGroup history buffer object.
  
  /*
   *	org.msscf.msscf.CFSec
   *
   *	Copyright (c) 2020 Mark Stephen Sobkow
   *	
   *	MSS Code Factory CFSec 2.13 Security Essentials
   *	
   *	Copyright 2020-2021 Mark Stephen Sobkow
   *	
   *		This file is part of MSS Code Factory.
   *	
   *		MSS Code Factory is available under dual commercial license from Mark Stephen
   *		Sobkow, or under the terms of the GNU General Public License, Version 3
   *		or later.
   *	
   *	    MSS Code Factory is free software: you can redistribute it and/or modify
   *	    it under the terms of the GNU General Public License as published by
   *	    the Free Software Foundation, either version 3 of the License, or
   *	    (at your option) any later version.
   *	
   *	    MSS Code Factory is distributed in the hope that it will be useful,
   *	    but WITHOUT ANY WARRANTY; without even the implied warranty of
   *	    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   *	    GNU General Public License for more details.
   *	
   *	    You should have received a copy of the GNU General Public License
   *	    along with MSS Code Factory.  If not, see <https://www.gnu.org/licenses/>.
   *	
   *	Donations to support MSS Code Factory can be made at
   *	https://www.paypal.com/paypalme2/MarkSobkow
   *	
   *	Please contact Mark Stephen Sobkow at mark.sobkow@gmail.com for commercial licensing.
   *
   *	Manufactured by MSS Code Factory 2.12
   */
  
  #include <cflib/ICFLibPublic.hpp>
  
  using namespace std;
  
  #include <cfsec/CFSecHPKey.hpp>
  #include <cfsec/CFSecTSecGroupPKey.hpp>
  #include <cfsec/CFSecTSecGroupBuff.hpp>
  #include <cfsec/CFSecTSecGroupHPKey.hpp>
  #include <cfsec/CFSecTSecGroupHBuff.hpp>
  #include <cfsec/CFSecTSecGroupByTenantIdxKey.hpp>
  #include <cfsec/CFSecTSecGroupByTenantVisIdxKey.hpp>
  #include <cfsec/CFSecTSecGroupByUNameIdxKey.hpp>
  
  namespace cfsec {
  
  	const std::string CFSecTSecGroupHBuff::CLASS_NAME( "CFSecTSecGroupHBuff" );
  	CFSecTSecGroupHBuff::CFSecTSecGroupHBuff()
  	: CFSecHPKey(), cflib::ICFLibCloneableObj() {
  		requiredTenantId = cfsec::CFSecTSecGroupBuff::TENANTID_INIT_VALUE;
  		requiredTSecGroupId = cfsec::CFSecTSecGroupBuff::TSECGROUPID_INIT_VALUE;
  		requiredName = new std::string( cfsec::CFSecTSecGroupBuff::NAME_INIT_VALUE );
  		requiredIsVisible = cfsec::CFSecTSecGroupBuff::ISVISIBLE_INIT_VALUE;
  	}
  
  	CFSecTSecGroupHBuff::CFSecTSecGroupHBuff( const CFSecTSecGroupHBuff& src )
  	: CFSecHPKey(), cflib::ICFLibCloneableObj() {
  		requiredTenantId = cfsec::CFSecTSecGroupBuff::TENANTID_INIT_VALUE;
  		requiredTSecGroupId = cfsec::CFSecTSecGroupBuff::TSECGROUPID_INIT_VALUE;
  		requiredName = new std::string( cfsec::CFSecTSecGroupBuff::NAME_INIT_VALUE );
  		requiredIsVisible = cfsec::CFSecTSecGroupBuff::ISVISIBLE_INIT_VALUE;
  		setRequiredTenantId( src.getRequiredTenantId() );
  		setRequiredTSecGroupId( src.getRequiredTSecGroupId() );
  		setRequiredRevision( src.getRequiredRevision() );
  		setRequiredName( src.getRequiredName() );
  		setRequiredIsVisible( src.getRequiredIsVisible() );
  	}
  
  	CFSecTSecGroupHBuff::~CFSecTSecGroupHBuff() {
  		if( requiredName != NULL ) {
  			delete requiredName;
  			requiredName = NULL;
  		}
  	}
  
  	cflib::ICFLibCloneableObj* CFSecTSecGroupHBuff::clone() {
  		CFSecTSecGroupHBuff* copy = new CFSecTSecGroupHBuff();
  		*copy = *this;
  		cflib::ICFLibCloneableObj* retval = dynamic_cast<cflib::ICFLibCloneableObj*>( copy );
  		return( retval );
  	}
  
  	const int64_t CFSecTSecGroupHBuff::getRequiredTenantId() const {
  		return( requiredTenantId );
  	}
  
  	const int64_t* CFSecTSecGroupHBuff::getRequiredTenantIdReference() const {
  		return( &requiredTenantId );
  	}
  
  	void CFSecTSecGroupHBuff::setRequiredTenantId( const int64_t value ) {
  		static const std::string S_ProcName( "setRequiredTenantId" );
  		if( value < cfsec::CFSecTSecGroupBuff::TENANTID_MIN_VALUE ) {
  			throw cflib::CFLibArgumentUnderflowException( CLASS_NAME,
  				S_ProcName,
  				1,
  				S_VALUE,
  				value,
  				cfsec::CFSecTSecGroupBuff::TENANTID_MIN_VALUE );
  		}
  		requiredTenantId = value;
  	}
  
  	const int32_t CFSecTSecGroupHBuff::getRequiredTSecGroupId() const {
  		return( requiredTSecGroupId );
  	}
  
  	const int32_t* CFSecTSecGroupHBuff::getRequiredTSecGroupIdReference() const {
  		return( &requiredTSecGroupId );
  	}
  
  	void CFSecTSecGroupHBuff::setRequiredTSecGroupId( const int32_t value ) {
  		static const std::string S_ProcName( "setRequiredTSecGroupId" );
  		if( value < cfsec::CFSecTSecGroupBuff::TSECGROUPID_MIN_VALUE ) {
  			throw cflib::CFLibArgumentUnderflowException( CLASS_NAME,
  				S_ProcName,
  				1,
  				S_VALUE,
  				value,
  				cfsec::CFSecTSecGroupBuff::TSECGROUPID_MIN_VALUE );
  		}
  		requiredTSecGroupId = value;
  	}
  
  	const std::string& CFSecTSecGroupHBuff::getRequiredName() const {
  		return( *requiredName );
  	}
  
  	const std::string* CFSecTSecGroupHBuff::getRequiredNameReference() const {
  		return( requiredName );
  	}
  
  	void CFSecTSecGroupHBuff::setRequiredName( const std::string& value ) {
  		static const std::string S_ProcName( "setRequiredName" );
  		if( value.length() > CFSecTSecGroupBuff::NAME_MAX_LEN ) {
  			throw cflib::CFLibArgumentOverflowException( CLASS_NAME,
  				S_ProcName,
  				1,
  				S_VALUE_LENGTH,
  				value.length(),
  				CFSecTSecGroupBuff::NAME_MAX_LEN );
  		}
  		if( requiredName != NULL ) {
  			delete requiredName;
  			requiredName = NULL;
  		}
  		requiredName = new std::string( value );
  	}
  
  	const bool CFSecTSecGroupHBuff::getRequiredIsVisible() const {
  		return( requiredIsVisible );
  	}
  
  	const bool* CFSecTSecGroupHBuff::getRequiredIsVisibleReference() const {
  		return( &requiredIsVisible );
  	}
  
  	void CFSecTSecGroupHBuff::setRequiredIsVisible( const bool value ) {
  		requiredIsVisible = value;
  	}
  
  	size_t CFSecTSecGroupHBuff::hashCode() const {
  		size_t hashCode = CFSecHPKey::hashCode();
  		hashCode = hashCode + (int)( getRequiredTenantId() );
  		hashCode = hashCode + getRequiredTSecGroupId();
  		hashCode = hashCode + cflib::CFLib::hash( getRequiredName() );
  		if( getRequiredIsVisible() ) {
  			hashCode = ( hashCode * 2 ) + 1;
  		}
  		else {
  			hashCode = hashCode * 2;
  		}
  		return( hashCode );
  	}
  
  	CFSecTSecGroupHBuff CFSecTSecGroupHBuff::operator =( cfsec::CFSecTSecGroupBuff& src ) {
  		setRequiredTenantId( src.getRequiredTenantId() );
  		setRequiredTSecGroupId( src.getRequiredTSecGroupId() );
  		setRequiredRevision( src.getRequiredRevision() );
  		setRequiredName( src.getRequiredName() );
  		setRequiredIsVisible( src.getRequiredIsVisible() );
  		return( *this );
  	}
  
  	CFSecTSecGroupHBuff CFSecTSecGroupHBuff::operator =( cfsec::CFSecTSecGroupHBuff& src ) {
  		setRequiredTenantId( src.getRequiredTenantId() );
  		setRequiredTSecGroupId( src.getRequiredTSecGroupId() );
  		setRequiredRevision( src.getRequiredRevision() );
  		setRequiredName( src.getRequiredName() );
  		setRequiredIsVisible( src.getRequiredIsVisible() );
  		return( *this );
  	}
  
  	bool CFSecTSecGroupHBuff::operator <( const CFSecTSecGroupByTenantIdxKey& rhs ) {
  		if( getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool CFSecTSecGroupHBuff::operator <( const CFSecTSecGroupByTenantVisIdxKey& rhs ) {
  		if( getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( getRequiredIsVisible() > rhs.getRequiredIsVisible() ) {
  			return( false );
  		}
  		else if( getRequiredIsVisible() < rhs.getRequiredIsVisible() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool CFSecTSecGroupHBuff::operator <( const CFSecTSecGroupByUNameIdxKey& rhs ) {
  		if( getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( getRequiredName() > rhs.getRequiredName() ) {
  			return( false );
  		}
  		else if( getRequiredName() < rhs.getRequiredName() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool CFSecTSecGroupHBuff::operator <( const CFSecTSecGroupPKey& rhs ) {
  		if( getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( getRequiredTSecGroupId() > rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		else if( getRequiredTSecGroupId() < rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool CFSecTSecGroupHBuff::operator <( const CFSecTSecGroupHPKey& rhs ) {
  		if( getAuditClusterId() > rhs.getAuditClusterId() ) {
  			return( false );
  		}
  		else if( getAuditClusterId() < rhs.getAuditClusterId() ) {
  			return( true );
  		}
  		if( getAuditStamp() > rhs.getAuditStamp() ) {
  			return( false );
  		}
  		else if( getAuditStamp() < rhs.getAuditStamp() ) {
  			return( true );
  		}
  		if( getAuditActionId() >= rhs.getAuditActionId() ) {
  			return( false );
  		}
  		else if( getAuditActionId() <= rhs.getAuditActionId() ) {
  			return( true );
  		}
  		if( getRequiredRevision() >= rhs.getRequiredRevision() ) {
  			return( false );
  		}
  		else if( getRequiredRevision() <= rhs.getRequiredRevision() ) {
  			return( true );
  		}
  		if( getAuditSessionId() != NULL ) {
  			if( rhs.getAuditSessionId() == NULL ) {
  				return( false );
  			}
  			const uuid_ptr_t lhuuid = getAuditSessionId();
  			const uuid_ptr_t rhuuid = rhs.getAuditSessionId();
  			if( uuid_compare( lhuuid, rhuuid ) > 0 ) {
  				return( false );
  			}
  			else if( uuid_compare( lhuuid, rhuuid ) < 0 ) {
  				return( true );
  			}
  		}
  		else {
  			if( rhs.getAuditSessionId() != NULL ) {
  				return( false );
  			}
  		}
  		if( getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( getRequiredTSecGroupId() > rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		else if( getRequiredTSecGroupId() < rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool CFSecTSecGroupHBuff::operator <( const CFSecTSecGroupHBuff& rhs ) {
  		if( getAuditClusterId() > rhs.getAuditClusterId() ) {
  			return( false );
  		}
  		else if( getAuditClusterId() < rhs.getAuditClusterId() ) {
  			return( true );
  		}
  		if( getAuditStamp() > rhs.getAuditStamp() ) {
  			return( false );
  		}
  		else if( getAuditStamp() < rhs.getAuditStamp() ) {
  			return( true );
  		}
  		if( getAuditActionId() >= rhs.getAuditActionId() ) {
  			return( false );
  		}
  		else if( getAuditActionId() <= rhs.getAuditActionId() ) {
  			return( true );
  		}
  		if( getRequiredRevision() >= rhs.getRequiredRevision() ) {
  			return( false );
  		}
  		else if( getRequiredRevision() <= rhs.getRequiredRevision() ) {
  			return( true );
  		}
  		if( getAuditSessionId() != NULL ) {
  			if( rhs.getAuditSessionId() == NULL ) {
  				return( false );
  			}
  			const uuid_ptr_t lhuuid = getAuditSessionId();
  			const uuid_ptr_t rhuuid = rhs.getAuditSessionId();
  			if( uuid_compare( lhuuid, rhuuid ) > 0 ) {
  				return( false );
  			}
  			else if( uuid_compare( lhuuid, rhuuid ) < 0 ) {
  				return( true );
  			}
  		}
  		else {
  			if( rhs.getAuditSessionId() != NULL ) {
  				return( false );
  			}
  		}
  		if( getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( getRequiredTSecGroupId() > rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		else if( getRequiredTSecGroupId() < rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		if( getRequiredName() > rhs.getRequiredName() ) {
  			return( false );
  		}
  		else if( getRequiredName() < rhs.getRequiredName() ) {
  			return( true );
  		}
  		if( getRequiredIsVisible() > rhs.getRequiredIsVisible() ) {
  			return( false );
  		}
  		else if( getRequiredIsVisible() < rhs.getRequiredIsVisible() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool CFSecTSecGroupHBuff::operator <( const CFSecTSecGroupBuff& rhs ) {
  		if( getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( getRequiredTSecGroupId() > rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		else if( getRequiredTSecGroupId() < rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		if( getRequiredName() > rhs.getRequiredName() ) {
  			return( false );
  		}
  		else if( getRequiredName() < rhs.getRequiredName() ) {
  			return( true );
  		}
  		if( getRequiredIsVisible() > rhs.getRequiredIsVisible() ) {
  			return( false );
  		}
  		else if( getRequiredIsVisible() < rhs.getRequiredIsVisible() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool CFSecTSecGroupHBuff::operator <=( const CFSecTSecGroupByTenantIdxKey& rhs ) {
  		if( getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		return( true );
  	}
  
  	bool CFSecTSecGroupHBuff::operator <=( const CFSecTSecGroupByTenantVisIdxKey& rhs ) {
  		if( getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( getRequiredIsVisible() > rhs.getRequiredIsVisible() ) {
  			return( false );
  		}
  		else if( getRequiredIsVisible() < rhs.getRequiredIsVisible() ) {
  			return( true );
  		}
  		return( true );
  	}
  
  	bool CFSecTSecGroupHBuff::operator <=( const CFSecTSecGroupByUNameIdxKey& rhs ) {
  		if( getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( getRequiredName() > rhs.getRequiredName() ) {
  			return( false );
  		}
  		else if( getRequiredName() < rhs.getRequiredName() ) {
  			return( true );
  		}
  		return( true );
  	}
  
  	bool CFSecTSecGroupHBuff::operator <=( const CFSecTSecGroupPKey& rhs ) {
  		if( getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( getRequiredTSecGroupId() > rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		else if( getRequiredTSecGroupId() < rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		return( true );
  	}
  
  	bool CFSecTSecGroupHBuff::operator <=( const CFSecTSecGroupHPKey& rhs ) {
  		if( getAuditClusterId() > rhs.getAuditClusterId() ) {
  			return( false );
  		}
  		else if( getAuditClusterId() < rhs.getAuditClusterId() ) {
  			return( true );
  		}
  		if( getAuditStamp() > rhs.getAuditStamp() ) {
  			return( false );
  		}
  		else if( getAuditStamp() < rhs.getAuditStamp() ) {
  			return( true );
  		}
  		if( getAuditActionId() > rhs.getAuditActionId() ) {
  			return( false );
  		}
  		else if( getAuditActionId() < rhs.getAuditActionId() ) {
  			return( true );
  		}
  		if( getRequiredRevision() > rhs.getRequiredRevision() ) {
  			return( false );
  		}
  		else if( getRequiredRevision() < rhs.getRequiredRevision() ) {
  			return( true );
  		}
  		if( getAuditSessionId() != NULL ) {
  			if( rhs.getAuditSessionId() == NULL ) {
  				return( false );
  			}
  			const uuid_ptr_t lhuuid = getAuditSessionId();
  			const uuid_ptr_t rhuuid = rhs.getAuditSessionId();
  			if( uuid_compare( lhuuid, rhuuid ) > 0 ) {
  				return( false );
  			}
  			else if( uuid_compare( lhuuid, rhuuid ) < 0 ) {
  				return( true );
  			}
  		}
  		else {
  			if( rhs.getAuditSessionId() != NULL ) {
  				return( false );
  			}
  		}
  		if( getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( getRequiredTSecGroupId() > rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		else if( getRequiredTSecGroupId() < rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		return( true );
  	}
  
  	bool CFSecTSecGroupHBuff::operator <=( const CFSecTSecGroupHBuff& rhs ) {
  		if( getAuditClusterId() > rhs.getAuditClusterId() ) {
  			return( false );
  		}
  		else if( getAuditClusterId() < rhs.getAuditClusterId() ) {
  			return( true );
  		}
  		if( getAuditStamp() > rhs.getAuditStamp() ) {
  			return( false );
  		}
  		else if( getAuditStamp() < rhs.getAuditStamp() ) {
  			return( true );
  		}
  		if( getAuditActionId() > rhs.getAuditActionId() ) {
  			return( false );
  		}
  		else if( getAuditActionId() < rhs.getAuditActionId() ) {
  			return( true );
  		}
  		if( getRequiredRevision() > rhs.getRequiredRevision() ) {
  			return( false );
  		}
  		else if( getRequiredRevision() < rhs.getRequiredRevision() ) {
  			return( true );
  		}
  		if( getAuditSessionId() != NULL ) {
  			if( rhs.getAuditSessionId() == NULL ) {
  				return( false );
  			}
  			const uuid_ptr_t lhuuid = getAuditSessionId();
  			const uuid_ptr_t rhuuid = rhs.getAuditSessionId();
  			if( uuid_compare( lhuuid, rhuuid ) > 0 ) {
  				return( false );
  			}
  			else if( uuid_compare( lhuuid, rhuuid ) < 0 ) {
  				return( true );
  			}
  		}
  		else {
  			if( rhs.getAuditSessionId() != NULL ) {
  				return( false );
  			}
  		}
  		if( getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( getRequiredTSecGroupId() > rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		else if( getRequiredTSecGroupId() < rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		if( getRequiredName() > rhs.getRequiredName() ) {
  			return( false );
  		}
  		else if( getRequiredName() < rhs.getRequiredName() ) {
  			return( true );
  		}
  		if( getRequiredIsVisible() > rhs.getRequiredIsVisible() ) {
  			return( false );
  		}
  		else if( getRequiredIsVisible() < rhs.getRequiredIsVisible() ) {
  			return( true );
  		}
  		return( true );
  	}
  
  	bool CFSecTSecGroupHBuff::operator <=( const CFSecTSecGroupBuff& rhs ) {
  		if( getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( getRequiredTSecGroupId() > rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		else if( getRequiredTSecGroupId() < rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		if( getRequiredName() > rhs.getRequiredName() ) {
  			return( false );
  		}
  		else if( getRequiredName() < rhs.getRequiredName() ) {
  			return( true );
  		}
  		if( getRequiredIsVisible() > rhs.getRequiredIsVisible() ) {
  			return( false );
  		}
  		else if( getRequiredIsVisible() < rhs.getRequiredIsVisible() ) {
  			return( true );
  		}
  		return( true );
  	}
  
  	bool CFSecTSecGroupHBuff::operator ==( const CFSecTSecGroupByTenantIdxKey& rhs ) {
  		if( getRequiredTenantId() != rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		return( true );
  	}
  
  	bool CFSecTSecGroupHBuff::operator ==( const CFSecTSecGroupByTenantVisIdxKey& rhs ) {
  		if( getRequiredTenantId() != rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		if( getRequiredIsVisible() != rhs.getRequiredIsVisible() ) {
  			return( false );
  		}
  		return( true );
  	}
  
  	bool CFSecTSecGroupHBuff::operator ==( const CFSecTSecGroupByUNameIdxKey& rhs ) {
  		if( getRequiredTenantId() != rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		if( getRequiredName() != rhs.getRequiredName() ) {
  			return( false );
  		}
  		return( true );
  	}
  
  	bool CFSecTSecGroupHBuff::operator ==( const CFSecTSecGroupPKey& rhs ) {
  		if( getRequiredTenantId() != rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		if( getRequiredTSecGroupId() != rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		return( true );
  	}
  
  	bool CFSecTSecGroupHBuff::operator ==( const CFSecTSecGroupHPKey& rhs ) {
  		if( getAuditClusterId() != rhs.getAuditClusterId() ) {
  			return( false );
  		}
  		if( getAuditStamp() != rhs.getAuditStamp() ) {
  			return( false );
  		}
  		if( getAuditActionId() != rhs.getAuditActionId() ) {
  			return( false );
  		}
  		if( getRequiredRevision() != rhs.getRequiredRevision() ) {
  			return( false );
  		}
  		if( getAuditSessionId() != NULL ) {
  			if( rhs.getAuditSessionId() == NULL ) {
  				return( false );
  			}
  			const uuid_ptr_t lhuuid = getAuditSessionId();
  			const uuid_ptr_t rhuuid = rhs.getAuditSessionId();
  			if( uuid_compare( lhuuid, rhuuid ) != 0 ) {
  				return( false );
  			}
  		}
  		else {
  			if( rhs.getAuditSessionId() != NULL ) {
  				return( false );
  			}
  		}
  		if( getRequiredTenantId() != rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		if( getRequiredTSecGroupId() != rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		return( true );
  	}
  
  	bool CFSecTSecGroupHBuff::operator ==( const CFSecTSecGroupHBuff& rhs ) {
  		if( getAuditClusterId() != rhs.getAuditClusterId() ) {
  			return( false );
  		}
  		if( getAuditStamp() != rhs.getAuditStamp() ) {
  			return( false );
  		}
  		if( getAuditActionId() != rhs.getAuditActionId() ) {
  			return( false );
  		}
  		if( getRequiredRevision() != rhs.getRequiredRevision() ) {
  			return( false );
  		}
  		if( getAuditSessionId() != NULL ) {
  			if( rhs.getAuditSessionId() == NULL ) {
  				return( false );
  			}
  			const uuid_ptr_t lhuuid = getAuditSessionId();
  			const uuid_ptr_t rhuuid = rhs.getAuditSessionId();
  			if( uuid_compare( lhuuid, rhuuid ) != 0 ) {
  				return( false );
  			}
  		}
  		else {
  			if( rhs.getAuditSessionId() != NULL ) {
  				return( false );
  			}
  		}
  		if( getRequiredTenantId() != rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		if( getRequiredTSecGroupId() != rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		if( getRequiredName() != rhs.getRequiredName() ) {
  			return( false );
  		}
  		if( getRequiredIsVisible() != rhs.getRequiredIsVisible() ) {
  			return( false );
  		}
  		return( true );
  	}
  
  	bool CFSecTSecGroupHBuff::operator ==( const CFSecTSecGroupBuff& rhs ) {
  		if( getRequiredTenantId() != rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		if( getRequiredTSecGroupId() != rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		if( getRequiredName() != rhs.getRequiredName() ) {
  			return( false );
  		}
  		if( getRequiredIsVisible() != rhs.getRequiredIsVisible() ) {
  			return( false );
  		}
  		return( true );
  	}
  
  	bool CFSecTSecGroupHBuff::operator !=( const CFSecTSecGroupByTenantIdxKey& rhs ) {
  		if( getRequiredTenantId() != rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool CFSecTSecGroupHBuff::operator !=( const CFSecTSecGroupByTenantVisIdxKey& rhs ) {
  		if( getRequiredTenantId() != rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( getRequiredIsVisible() != rhs.getRequiredIsVisible() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool CFSecTSecGroupHBuff::operator !=( const CFSecTSecGroupByUNameIdxKey& rhs ) {
  		if( getRequiredTenantId() != rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( getRequiredName() != rhs.getRequiredName() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool CFSecTSecGroupHBuff::operator !=( const CFSecTSecGroupPKey& rhs ) {
  		if( getRequiredTenantId() != rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( getRequiredTSecGroupId() != rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool CFSecTSecGroupHBuff::operator !=( const CFSecTSecGroupHPKey& rhs ) {
  		if( getAuditClusterId() != rhs.getAuditClusterId() ) {
  			return( true );
  		}
  		if( getAuditStamp() != rhs.getAuditStamp() ) {
  			return( true );
  		}
  		if( getAuditActionId() != rhs.getAuditActionId() ) {
  			return( true );
  		}
  		if( getRequiredRevision() != rhs.getRequiredRevision() ) {
  			return( true );
  		}
  		if( getAuditSessionId() != NULL ) {
  			if( rhs.getAuditSessionId() == NULL ) {
  				return( true );
  			}
  			const uuid_ptr_t lhuuid = getAuditSessionId();
  			const uuid_ptr_t rhuuid = rhs.getAuditSessionId();
  			if( uuid_compare( lhuuid, rhuuid ) != 0 ) {
  				return( true );
  			}
  		}
  		else {
  			if( rhs.getAuditSessionId() != NULL ) {
  				return( true );
  			}
  		}
  		if( getRequiredTenantId() != rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( getRequiredTSecGroupId() != rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool CFSecTSecGroupHBuff::operator !=( const CFSecTSecGroupHBuff& rhs ) {
  		if( getAuditClusterId() != rhs.getAuditClusterId() ) {
  			return( true );
  		}
  		if( getAuditStamp() != rhs.getAuditStamp() ) {
  			return( true );
  		}
  		if( getAuditActionId() != rhs.getAuditActionId() ) {
  			return( true );
  		}
  		if( getRequiredRevision() != rhs.getRequiredRevision() ) {
  			return( true );
  		}
  		if( getAuditSessionId() != NULL ) {
  			if( rhs.getAuditSessionId() == NULL ) {
  				return( true );
  			}
  			const uuid_ptr_t lhuuid = getAuditSessionId();
  			const uuid_ptr_t rhuuid = rhs.getAuditSessionId();
  			if( uuid_compare( lhuuid, rhuuid ) != 0 ) {
  				return( true );
  			}
  		}
  		else {
  			if( rhs.getAuditSessionId() != NULL ) {
  				return( true );
  			}
  		}
  		if( getRequiredTenantId() != rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( getRequiredTSecGroupId() != rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		if( getRequiredName() != rhs.getRequiredName() ) {
  			return( true );
  		}
  		if( getRequiredIsVisible() != rhs.getRequiredIsVisible() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool CFSecTSecGroupHBuff::operator !=( const CFSecTSecGroupBuff& rhs ) {
  		if( getRequiredTenantId() != rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( getRequiredTSecGroupId() != rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		if( getRequiredName() != rhs.getRequiredName() ) {
  			return( true );
  		}
  		if( getRequiredIsVisible() != rhs.getRequiredIsVisible() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool CFSecTSecGroupHBuff::operator >=( const CFSecTSecGroupByTenantIdxKey& rhs ) {
  		if( getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		return( true );
  	}
  
  	bool CFSecTSecGroupHBuff::operator >=( const CFSecTSecGroupByTenantVisIdxKey& rhs ) {
  		if( getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( getRequiredIsVisible() < rhs.getRequiredIsVisible() ) {
  			return( false );
  		}
  		else if( getRequiredIsVisible() > rhs.getRequiredIsVisible() ) {
  			return( true );
  		}
  		return( true );
  	}
  
  	bool CFSecTSecGroupHBuff::operator >=( const CFSecTSecGroupByUNameIdxKey& rhs ) {
  		if( getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( getRequiredName() < rhs.getRequiredName() ) {
  			return( false );
  		}
  		else if( getRequiredName() > rhs.getRequiredName() ) {
  			return( true );
  		}
  		return( true );
  	}
  
  	bool CFSecTSecGroupHBuff::operator >=( const CFSecTSecGroupPKey& rhs ) {
  		if( getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( getRequiredTSecGroupId() < rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		else if( getRequiredTSecGroupId() > rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		return( true );
  	}
  
  	bool CFSecTSecGroupHBuff::operator >=( const CFSecTSecGroupHPKey& rhs ) {
  		if( getAuditClusterId() < rhs.getAuditClusterId() ) {
  			return( false );
  		}
  		else if( getAuditClusterId() > rhs.getAuditClusterId() ) {
  			return( true );
  		}
  		if( getAuditStamp() < rhs.getAuditStamp() ) {
  			return( false );
  		}
  		else if( getAuditStamp() > rhs.getAuditStamp() ) {
  			return( true );
  		}
  		if( getAuditActionId() < rhs.getAuditActionId() ) {
  			return( false );
  		}
  		else if( getAuditActionId() > rhs.getAuditActionId() ) {
  			return( true );
  		}
  		if( getRequiredRevision() < rhs.getRequiredRevision() ) {
  			return( false );
  		}
  		else if( getRequiredRevision() > rhs.getRequiredRevision() ) {
  			return( true );
  		}
  		if( getAuditSessionId() != NULL ) {
  			if( rhs.getAuditSessionId() == NULL ) {
  				return( true );
  			}
  			const uuid_ptr_t lhuuid = getAuditSessionId();
  			const uuid_ptr_t rhuuid = rhs.getAuditSessionId();
  			if( uuid_compare( lhuuid, rhuuid ) < 0 ) {
  				return( false );
  			}
  			else if( uuid_compare( lhuuid, rhuuid ) > 0 ) {
  				return( true );
  			}
  		}
  		else {
  			if( rhs.getAuditSessionId() != NULL ) {
  				return( false );
  			}
  		}
  		if( getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( getRequiredTSecGroupId() < rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		else if( getRequiredTSecGroupId() > rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		return( true );
  	}
  
  	bool CFSecTSecGroupHBuff::operator >=( const CFSecTSecGroupHBuff& rhs ) {
  		if( getAuditClusterId() < rhs.getAuditClusterId() ) {
  			return( false );
  		}
  		else if( getAuditClusterId() > rhs.getAuditClusterId() ) {
  			return( true );
  		}
  		if( getAuditStamp() < rhs.getAuditStamp() ) {
  			return( false );
  		}
  		else if( getAuditStamp() > rhs.getAuditStamp() ) {
  			return( true );
  		}
  		if( getAuditActionId() < rhs.getAuditActionId() ) {
  			return( false );
  		}
  		else if( getAuditActionId() > rhs.getAuditActionId() ) {
  			return( true );
  		}
  		if( getRequiredRevision() < rhs.getRequiredRevision() ) {
  			return( false );
  		}
  		else if( getRequiredRevision() > rhs.getRequiredRevision() ) {
  			return( true );
  		}
  		if( getAuditSessionId() != NULL ) {
  			if( rhs.getAuditSessionId() == NULL ) {
  				return( true );
  			}
  			const uuid_ptr_t lhuuid = getAuditSessionId();
  			const uuid_ptr_t rhuuid = rhs.getAuditSessionId();
  			if( uuid_compare( lhuuid, rhuuid ) < 0 ) {
  				return( false );
  			}
  			else if( uuid_compare( lhuuid, rhuuid ) > 0 ) {
  				return( true );
  			}
  		}
  		else {
  			if( rhs.getAuditSessionId() != NULL ) {
  				return( false );
  			}
  		}
  		if( getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( getRequiredTSecGroupId() < rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		else if( getRequiredTSecGroupId() > rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		if( getRequiredName() < rhs.getRequiredName() ) {
  			return( false );
  		}
  		else if( getRequiredName() > rhs.getRequiredName() ) {
  			return( true );
  		}
  		if( getRequiredIsVisible() < rhs.getRequiredIsVisible() ) {
  			return( false );
  		}
  		else if( getRequiredIsVisible() > rhs.getRequiredIsVisible() ) {
  			return( true );
  		}
  		return( true );
  	}
  
  	bool CFSecTSecGroupHBuff::operator >=( const CFSecTSecGroupBuff& rhs ) {
  		if( getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( getRequiredTSecGroupId() < rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		else if( getRequiredTSecGroupId() > rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		if( getRequiredName() < rhs.getRequiredName() ) {
  			return( false );
  		}
  		else if( getRequiredName() > rhs.getRequiredName() ) {
  			return( true );
  		}
  		if( getRequiredIsVisible() < rhs.getRequiredIsVisible() ) {
  			return( false );
  		}
  		else if( getRequiredIsVisible() > rhs.getRequiredIsVisible() ) {
  			return( true );
  		}
  		return( true );
  	}
  
  	bool CFSecTSecGroupHBuff::operator >( const CFSecTSecGroupByTenantIdxKey& rhs ) {
  		if( getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool CFSecTSecGroupHBuff::operator >( const CFSecTSecGroupByTenantVisIdxKey& rhs ) {
  		if( getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( getRequiredIsVisible() < rhs.getRequiredIsVisible() ) {
  			return( false );
  		}
  		else if( getRequiredIsVisible() > rhs.getRequiredIsVisible() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool CFSecTSecGroupHBuff::operator >( const CFSecTSecGroupByUNameIdxKey& rhs ) {
  		if( getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( getRequiredName() < rhs.getRequiredName() ) {
  			return( false );
  		}
  		else if( getRequiredName() > rhs.getRequiredName() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool CFSecTSecGroupHBuff::operator >( const CFSecTSecGroupPKey& rhs ) {
  		if( getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( getRequiredTSecGroupId() < rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		else if( getRequiredTSecGroupId() > rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool CFSecTSecGroupHBuff::operator >( const CFSecTSecGroupHPKey& rhs ) {
  		if( getAuditClusterId() < rhs.getAuditClusterId() ) {
  			return( false );
  		}
  		else if( getAuditClusterId() > rhs.getAuditClusterId() ) {
  			return( true );
  		}
  		if( getAuditStamp() < rhs.getAuditStamp() ) {
  			return( false );
  		}
  		else if( getAuditStamp() > rhs.getAuditStamp() ) {
  			return( true );
  		}
  		if( getAuditActionId() < rhs.getAuditActionId() ) {
  			return( false );
  		}
  		else if( getAuditActionId() > rhs.getAuditActionId() ) {
  			return( true );
  		}
  		if( getRequiredRevision() < rhs.getRequiredRevision() ) {
  			return( false );
  		}
  		else if( getRequiredRevision() > rhs.getRequiredRevision() ) {
  			return( true );
  		}
  		if( getAuditSessionId() != NULL ) {
  			if( rhs.getAuditSessionId() == NULL ) {
  				return( true );
  			}
  			const uuid_ptr_t lhuuid = getAuditSessionId();
  			const uuid_ptr_t rhuuid = rhs.getAuditSessionId();
  			if( uuid_compare( lhuuid, rhuuid ) < 0 ) {
  				return( false );
  			}
  			else if( uuid_compare( lhuuid, rhuuid ) > 0 ) {
  				return( true );
  			}
  		}
  		else {
  			if( rhs.getAuditSessionId() != NULL ) {
  				return( false );
  			}
  		}
  		if( getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( getRequiredTSecGroupId() < rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		else if( getRequiredTSecGroupId() > rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool CFSecTSecGroupHBuff::operator >( const CFSecTSecGroupHBuff& rhs ) {
  		if( getAuditClusterId() < rhs.getAuditClusterId() ) {
  			return( false );
  		}
  		else if( getAuditClusterId() > rhs.getAuditClusterId() ) {
  			return( true );
  		}
  		if( getAuditStamp() < rhs.getAuditStamp() ) {
  			return( false );
  		}
  		else if( getAuditStamp() > rhs.getAuditStamp() ) {
  			return( true );
  		}
  		if( getAuditActionId() < rhs.getAuditActionId() ) {
  			return( false );
  		}
  		else if( getAuditActionId() > rhs.getAuditActionId() ) {
  			return( true );
  		}
  		if( getRequiredRevision() < rhs.getRequiredRevision() ) {
  			return( false );
  		}
  		else if( getRequiredRevision() > rhs.getRequiredRevision() ) {
  			return( true );
  		}
  		if( getAuditSessionId() != NULL ) {
  			if( rhs.getAuditSessionId() == NULL ) {
  				return( true );
  			}
  			const uuid_ptr_t lhuuid = getAuditSessionId();
  			const uuid_ptr_t rhuuid = rhs.getAuditSessionId();
  			if( uuid_compare( lhuuid, rhuuid ) < 0 ) {
  				return( false );
  			}
  			else if( uuid_compare( lhuuid, rhuuid ) > 0 ) {
  				return( true );
  			}
  		}
  		else {
  			if( rhs.getAuditSessionId() != NULL ) {
  				return( false );
  			}
  		}
  		if( getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( getRequiredTSecGroupId() < rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		else if( getRequiredTSecGroupId() > rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		if( getRequiredName() < rhs.getRequiredName() ) {
  			return( false );
  		}
  		else if( getRequiredName() > rhs.getRequiredName() ) {
  			return( true );
  		}
  		if( getRequiredIsVisible() < rhs.getRequiredIsVisible() ) {
  			return( false );
  		}
  		else if( getRequiredIsVisible() > rhs.getRequiredIsVisible() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool CFSecTSecGroupHBuff::operator >( const CFSecTSecGroupBuff& rhs ) {
  		if( getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( getRequiredTSecGroupId() < rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		else if( getRequiredTSecGroupId() > rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		if( getRequiredName() < rhs.getRequiredName() ) {
  			return( false );
  		}
  		else if( getRequiredName() > rhs.getRequiredName() ) {
  			return( true );
  		}
  		if( getRequiredIsVisible() < rhs.getRequiredIsVisible() ) {
  			return( false );
  		}
  		else if( getRequiredIsVisible() > rhs.getRequiredIsVisible() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	std::string CFSecTSecGroupHBuff::toString() {
  		static const std::string S_Space( " " );
  		static const std::string S_Preamble( "<CFSecTSecGroupHBuff" );
  		static const std::string S_Postamble( "/>" );
  		static const std::string S_AuditClusterId( "AuditClusterId" );
  		static const std::string S_AuditStamp( "AuditStamp" );
  		static const std::string S_AuditActionId( "AuditActionId" );
  		static const std::string S_Revision( "Revision" );
  		static const std::string S_AuditSessionId( "AuditSessionId" );
  		static const std::string S_TenantId( "TenantId" );
  		static const std::string S_TSecGroupId( "TSecGroupId" );
  		static const std::string S_Name( "Name" );
  		static const std::string S_IsVisible( "IsVisible" );
  		std::string ret( S_Preamble );
  		ret.append( cflib::CFLibXmlUtil::formatRequiredInt64( &S_Space, S_AuditClusterId, auditClusterId ) );
  		ret.append( cflib::CFLibXmlUtil::formatRequiredTZTimestamp( &S_Space, S_AuditClusterId, auditStamp ) );
  		ret.append( cflib::CFLibXmlUtil::formatRequiredInt16( &S_Space, S_AuditActionId, auditActionId ) );
  		ret.append( cflib::CFLibXmlUtil::formatRequiredUuid( &S_Space, S_AuditSessionId, auditSessionId ) );
  		ret.append( cflib::CFLibXmlUtil::formatRequiredInt64( &S_Space, S_TenantId, getRequiredTenantId() ) );
  		ret.append( cflib::CFLibXmlUtil::formatRequiredInt32( &S_Space, S_TSecGroupId, getRequiredTSecGroupId() ) );
  		ret.append( cflib::CFLibXmlUtil::formatRequiredInt32( &S_Space, S_Revision, getRequiredRevision() ) );
  		ret.append( cflib::CFLibXmlUtil::formatRequiredXmlString( &S_Space, S_Name, getRequiredName() ) );
  		ret.append( cflib::CFLibXmlUtil::formatRequiredBoolean( &S_Space, S_IsVisible, getRequiredIsVisible() ) );
  		ret.append( S_Postamble );
  		return( ret );
  	}
  }
  
  namespace std {
  
  	bool operator <(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupByTenantIdxKey& rhs ) {
  		if( lhs.getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool operator <(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupByTenantVisIdxKey& rhs ) {
  		if( lhs.getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredIsVisible() > rhs.getRequiredIsVisible() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredIsVisible() < rhs.getRequiredIsVisible() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool operator <(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupByUNameIdxKey& rhs ) {
  		if( lhs.getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredName() > rhs.getRequiredName() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredName() < rhs.getRequiredName() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool operator <(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupPKey& rhs ) {
  		if( lhs.getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredTSecGroupId() > rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTSecGroupId() < rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool operator <(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupHPKey& rhs ) {
  		if( lhs.getAuditClusterId() > rhs.getAuditClusterId() ) {
  			return( false );
  		}
  		else if( lhs.getAuditClusterId() < rhs.getAuditClusterId() ) {
  			return( true );
  		}
  		if( lhs.getAuditStamp() > rhs.getAuditStamp() ) {
  			return( false );
  		}
  		else if( lhs.getAuditStamp() < rhs.getAuditStamp() ) {
  			return( true );
  		}
  		if( lhs.getAuditActionId() > rhs.getAuditActionId() ) {
  			return( false );
  		}
  		else if( lhs.getAuditActionId() < rhs.getAuditActionId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredRevision() > rhs.getRequiredRevision() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredRevision() < rhs.getRequiredRevision() ) {
  			return( true );
  		}
  		if( lhs.getAuditSessionId() != NULL ) {
  			if( rhs.getAuditSessionId() == NULL ) {
  				return( false );
  			}
  			const uuid_ptr_t lhuuid = lhs.getAuditSessionId();
  			const uuid_ptr_t rhuuid = rhs.getAuditSessionId();
  			if( uuid_compare( lhuuid, rhuuid ) > 0 ) {
  				return( false );
  			}
  			else if( uuid_compare( lhuuid, rhuuid ) < 0 ) {
  				return( true );
  			}
  		}
  		else {
  			if( rhs.getAuditSessionId() != NULL ) {
  				return( false );
  			}
  		}
  		if( lhs.getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredTSecGroupId() > rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTSecGroupId() < rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool operator <(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupHBuff& rhs ) {
  		if( lhs.getAuditClusterId() > rhs.getAuditClusterId() ) {
  			return( false );
  		}
  		else if( lhs.getAuditClusterId() < rhs.getAuditClusterId() ) {
  			return( true );
  		}
  		if( lhs.getAuditStamp() > rhs.getAuditStamp() ) {
  			return( false );
  		}
  		else if( lhs.getAuditStamp() < rhs.getAuditStamp() ) {
  			return( true );
  		}
  		if( lhs.getAuditActionId() > rhs.getAuditActionId() ) {
  			return( false );
  		}
  		else if( lhs.getAuditActionId() < rhs.getAuditActionId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredRevision() > rhs.getRequiredRevision() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredRevision() < rhs.getRequiredRevision() ) {
  			return( true );
  		}
  		if( lhs.getAuditSessionId() != NULL ) {
  			if( rhs.getAuditSessionId() == NULL ) {
  				return( false );
  			}
  			const uuid_ptr_t lhuuid = lhs.getAuditSessionId();
  			const uuid_ptr_t rhuuid = rhs.getAuditSessionId();
  			if( uuid_compare( lhuuid, rhuuid ) > 0 ) {
  				return( false );
  			}
  			else if( uuid_compare( lhuuid, rhuuid ) < 0 ) {
  				return( true );
  			}
  		}
  		else {
  			if( rhs.getAuditSessionId() != NULL ) {
  				return( false );
  			}
  		}
  		if( lhs.getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredTSecGroupId() > rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTSecGroupId() < rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredName() > rhs.getRequiredName() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredName() < rhs.getRequiredName() ) {
  			return( true );
  		}
  		if( lhs.getRequiredIsVisible() > rhs.getRequiredIsVisible() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredIsVisible() < rhs.getRequiredIsVisible() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool operator <(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupBuff& rhs ) {
  		if( lhs.getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredTSecGroupId() > rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTSecGroupId() < rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredName() > rhs.getRequiredName() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredName() < rhs.getRequiredName() ) {
  			return( true );
  		}
  		if( lhs.getRequiredIsVisible() > rhs.getRequiredIsVisible() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredIsVisible() < rhs.getRequiredIsVisible() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool operator <=(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupByTenantIdxKey& rhs ) {
  		if( lhs.getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		return( true );
  	}
  
  	bool operator <=(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupByTenantVisIdxKey& rhs ) {
  		if( lhs.getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredIsVisible() > rhs.getRequiredIsVisible() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredIsVisible() < rhs.getRequiredIsVisible() ) {
  			return( true );
  		}
  		return( true );
  	}
  
  	bool operator <=(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupByUNameIdxKey& rhs ) {
  		if( lhs.getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredName() > rhs.getRequiredName() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredName() < rhs.getRequiredName() ) {
  			return( true );
  		}
  		return( true );
  	}
  
  	bool operator <=(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupPKey& rhs ) {
  		if( lhs.getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredTSecGroupId() > rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTSecGroupId() < rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		return( true );
  	}
  
  	bool operator <=(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupHPKey& rhs ) {
  		if( lhs.getAuditClusterId() != rhs.getAuditClusterId() ) {
  			return( false );
  		}
  		if( lhs.getAuditStamp() != rhs.getAuditStamp() ) {
  			return( false );
  		}
  		if( lhs.getAuditActionId() != rhs.getAuditActionId() ) {
  			return( false );
  		}
  		if( lhs.getRequiredRevision() != rhs.getRequiredRevision() ) {
  			return( false );
  		}
  		if( lhs.getAuditSessionId() != NULL ) {
  			if( rhs.getAuditSessionId() == NULL ) {
  				return( false );
  			}
  			const uuid_ptr_t lhuuid = lhs.getAuditSessionId();
  			const uuid_ptr_t rhuuid = rhs.getAuditSessionId();
  			if( uuid_compare( lhuuid, rhuuid ) != 0 ) {
  				return( false );
  			}
  		}
  		else {
  			if( rhs.getAuditSessionId() != NULL ) {
  				return( false );
  			}
  		}
  		if( lhs.getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredTSecGroupId() > rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTSecGroupId() < rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		return( true );
  	}
  
  	bool operator <=(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupHBuff& rhs ) {
  		if( lhs.getAuditClusterId() != rhs.getAuditClusterId() ) {
  			return( false );
  		}
  		if( lhs.getAuditStamp() != rhs.getAuditStamp() ) {
  			return( false );
  		}
  		if( lhs.getAuditActionId() != rhs.getAuditActionId() ) {
  			return( false );
  		}
  		if( lhs.getRequiredRevision() != rhs.getRequiredRevision() ) {
  			return( false );
  		}
  		if( lhs.getAuditSessionId() != NULL ) {
  			if( rhs.getAuditSessionId() == NULL ) {
  				return( false );
  			}
  			const uuid_ptr_t lhuuid = lhs.getAuditSessionId();
  			const uuid_ptr_t rhuuid = rhs.getAuditSessionId();
  			if( uuid_compare( lhuuid, rhuuid ) != 0 ) {
  				return( false );
  			}
  		}
  		else {
  			if( rhs.getAuditSessionId() != NULL ) {
  				return( false );
  			}
  		}
  		if( lhs.getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredTSecGroupId() > rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTSecGroupId() < rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredName() > rhs.getRequiredName() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredName() < rhs.getRequiredName() ) {
  			return( true );
  		}
  		if( lhs.getRequiredIsVisible() > rhs.getRequiredIsVisible() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredIsVisible() < rhs.getRequiredIsVisible() ) {
  			return( true );
  		}
  		return( true );
  	}
  
  	bool operator <=(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupBuff& rhs ) {
  		if( lhs.getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredTSecGroupId() > rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTSecGroupId() < rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredName() > rhs.getRequiredName() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredName() < rhs.getRequiredName() ) {
  			return( true );
  		}
  		if( lhs.getRequiredIsVisible() > rhs.getRequiredIsVisible() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredIsVisible() < rhs.getRequiredIsVisible() ) {
  			return( true );
  		}
  		return( true );
  	}
  
  	bool operator ==(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupByTenantIdxKey& rhs ) {
  		if( lhs.getRequiredTenantId() != rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		return( true );
  	}
  
  	bool operator ==(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupByTenantVisIdxKey& rhs ) {
  		if( lhs.getRequiredTenantId() != rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		if( lhs.getRequiredIsVisible() != rhs.getRequiredIsVisible() ) {
  			return( false );
  		}
  		return( true );
  	}
  
  	bool operator ==(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupByUNameIdxKey& rhs ) {
  		if( lhs.getRequiredTenantId() != rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		if( lhs.getRequiredName() != rhs.getRequiredName() ) {
  			return( false );
  		}
  		return( true );
  	}
  
  	bool operator ==(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupPKey& rhs ) {
  		if( lhs.getRequiredTenantId() != rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		if( lhs.getRequiredTSecGroupId() != rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		return( true );
  	}
  
  	bool operator ==(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupHPKey& rhs ) {
  		if( lhs.getAuditClusterId() != rhs.getAuditClusterId() ) {
  			return( false );
  		}
  		if( lhs.getAuditStamp() != rhs.getAuditStamp() ) {
  			return( false );
  		}
  		if( lhs.getAuditActionId() != rhs.getAuditActionId() ) {
  			return( false );
  		}
  		if( lhs.getRequiredRevision() != rhs.getRequiredRevision() ) {
  			return( false );
  		}
  		if( lhs.getAuditSessionId() != NULL ) {
  			if( rhs.getAuditSessionId() == NULL ) {
  				return( false );
  			}
  			const uuid_ptr_t lhuuid = lhs.getAuditSessionId();
  			const uuid_ptr_t rhuuid = rhs.getAuditSessionId();
  			if( uuid_compare( lhuuid, rhuuid ) != 0 ) {
  				return( false );
  			}
  		}
  		else {
  			if( rhs.getAuditSessionId() != NULL ) {
  				return( false );
  			}
  		}
  		if( lhs.getRequiredTenantId() != rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		if( lhs.getRequiredTSecGroupId() != rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		return( true );
  	}
  
  	bool operator ==(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupHBuff& rhs ) {
  		if( lhs.getAuditClusterId() != rhs.getAuditClusterId() ) {
  			return( false );
  		}
  		if( lhs.getAuditStamp() != rhs.getAuditStamp() ) {
  			return( false );
  		}
  		if( lhs.getAuditActionId() != rhs.getAuditActionId() ) {
  			return( false );
  		}
  		if( lhs.getRequiredRevision() != rhs.getRequiredRevision() ) {
  			return( false );
  		}
  		if( lhs.getAuditSessionId() != NULL ) {
  			if( rhs.getAuditSessionId() == NULL ) {
  				return( false );
  			}
  			const uuid_ptr_t lhuuid = lhs.getAuditSessionId();
  			const uuid_ptr_t rhuuid = rhs.getAuditSessionId();
  			if( uuid_compare( lhuuid, rhuuid ) != 0 ) {
  				return( false );
  			}
  		}
  		else {
  			if( rhs.getAuditSessionId() != NULL ) {
  				return( false );
  			}
  		}
  		if( lhs.getRequiredTenantId() != rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		if( lhs.getRequiredTSecGroupId() != rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		if( lhs.getRequiredName() != rhs.getRequiredName() ) {
  			return( false );
  		}
  		if( lhs.getRequiredIsVisible() != rhs.getRequiredIsVisible() ) {
  			return( false );
  		}
  		return( true );
  	}
  
  	bool operator ==(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupBuff& rhs ) {
  		if( lhs.getRequiredTenantId() != rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		if( lhs.getRequiredTSecGroupId() != rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		if( lhs.getRequiredName() != rhs.getRequiredName() ) {
  			return( false );
  		}
  		if( lhs.getRequiredIsVisible() != rhs.getRequiredIsVisible() ) {
  			return( false );
  		}
  		return( true );
  	}
  
  	bool operator !=(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupByTenantIdxKey& rhs ) {
  		if( lhs.getRequiredTenantId() != rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool operator !=(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupByTenantVisIdxKey& rhs ) {
  		if( lhs.getRequiredTenantId() != rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredIsVisible() != rhs.getRequiredIsVisible() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool operator !=(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupByUNameIdxKey& rhs ) {
  		if( lhs.getRequiredTenantId() != rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredName() != rhs.getRequiredName() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool operator !=(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupPKey& rhs ) {
  		if( lhs.getRequiredTenantId() != rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredTSecGroupId() != rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool operator !=(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupHPKey& rhs ) {
  		if( lhs.getAuditClusterId() != rhs.getAuditClusterId() ) {
  			return( true );
  		}
  		if( lhs.getAuditStamp() != rhs.getAuditStamp() ) {
  			return( true );
  		}
  		if( lhs.getAuditActionId() != rhs.getAuditActionId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredRevision() != rhs.getRequiredRevision() ) {
  			return( true );
  		}
  		if( lhs.getAuditSessionId() != NULL ) {
  			if( rhs.getAuditSessionId() == NULL ) {
  				return( true );
  			}
  			const uuid_ptr_t lhuuid = lhs.getAuditSessionId();
  			const uuid_ptr_t rhuuid = rhs.getAuditSessionId();
  			if( uuid_compare( lhuuid, rhuuid ) != 0 ) {
  				return( true );
  			}
  		}
  		else {
  			if( rhs.getAuditSessionId() != NULL ) {
  				return( true );
  			}
  		}
  		if( lhs.getRequiredTenantId() != rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredTSecGroupId() != rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool operator !=(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupHBuff& rhs ) {
  		if( lhs.getAuditClusterId() != rhs.getAuditClusterId() ) {
  			return( true );
  		}
  		if( lhs.getAuditStamp() != rhs.getAuditStamp() ) {
  			return( true );
  		}
  		if( lhs.getAuditActionId() != rhs.getAuditActionId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredRevision() != rhs.getRequiredRevision() ) {
  			return( true );
  		}
  		if( lhs.getAuditSessionId() != NULL ) {
  			if( rhs.getAuditSessionId() == NULL ) {
  				return( true );
  			}
  			const uuid_ptr_t lhuuid = lhs.getAuditSessionId();
  			const uuid_ptr_t rhuuid = rhs.getAuditSessionId();
  			if( uuid_compare( lhuuid, rhuuid ) != 0 ) {
  				return( true );
  			}
  		}
  		else {
  			if( rhs.getAuditSessionId() != NULL ) {
  				return( true );
  			}
  		}
  		if( lhs.getRequiredTenantId() != rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredTSecGroupId() != rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredName() != rhs.getRequiredName() ) {
  			return( true );
  		}
  		if( lhs.getRequiredIsVisible() != rhs.getRequiredIsVisible() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool operator !=(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupBuff& rhs ) {
  		if( lhs.getRequiredTenantId() != rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredTSecGroupId() != rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredName() != rhs.getRequiredName() ) {
  			return( true );
  		}
  		if( lhs.getRequiredIsVisible() != rhs.getRequiredIsVisible() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool operator >=(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupByTenantIdxKey& rhs ) {
  		if( lhs.getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		return( true );
  	}
  
  	bool operator >=(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupByTenantVisIdxKey& rhs ) {
  		if( lhs.getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredIsVisible() < rhs.getRequiredIsVisible() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredIsVisible() > rhs.getRequiredIsVisible() ) {
  			return( true );
  		}
  		return( true );
  	}
  
  	bool operator >=(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupByUNameIdxKey& rhs ) {
  		if( lhs.getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredName() < rhs.getRequiredName() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredName() > rhs.getRequiredName() ) {
  			return( true );
  		}
  		return( true );
  	}
  
  	bool operator >=(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupPKey& rhs ) {
  		if( lhs.getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredTSecGroupId() < rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTSecGroupId() > rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		return( true );
  	}
  
  	bool operator >=(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupHPKey& rhs ) {
  		if( lhs.getAuditClusterId() < rhs.getAuditClusterId() ) {
  			return( false );
  		}
  		else if( lhs.getAuditClusterId() > rhs.getAuditClusterId() ) {
  			return( true );
  		}
  		if( lhs.getAuditStamp() < rhs.getAuditStamp() ) {
  			return( false );
  		}
  		else if( lhs.getAuditStamp() > rhs.getAuditStamp() ) {
  			return( true );
  		}
  		if( lhs.getAuditActionId() < rhs.getAuditActionId() ) {
  			return( false );
  		}
  		else if( lhs.getAuditActionId() > rhs.getAuditActionId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredRevision() < rhs.getRequiredRevision() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredRevision() > rhs.getRequiredRevision() ) {
  			return( true );
  		}
  		if( lhs.getAuditSessionId() != NULL ) {
  			if( rhs.getAuditSessionId() == NULL ) {
  				return( true );
  			}
  			const uuid_ptr_t lhuuid = lhs.getAuditSessionId();
  			const uuid_ptr_t rhuuid = rhs.getAuditSessionId();
  			if( uuid_compare( lhuuid, rhuuid ) < 0 ) {
  				return( false );
  			}
  			else if( uuid_compare( lhuuid, rhuuid ) > 0 ) {
  				return( true );
  			}
  		}
  		else {
  			if( rhs.getAuditSessionId() != NULL ) {
  				return( false );
  			}
  		}
  		if( lhs.getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredTSecGroupId() < rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTSecGroupId() > rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		return( true );
  	}
  
  	bool operator >=(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupHBuff& rhs ) {
  		if( lhs.getAuditClusterId() < rhs.getAuditClusterId() ) {
  			return( false );
  		}
  		else if( lhs.getAuditClusterId() > rhs.getAuditClusterId() ) {
  			return( true );
  		}
  		if( lhs.getAuditStamp() < rhs.getAuditStamp() ) {
  			return( false );
  		}
  		else if( lhs.getAuditStamp() > rhs.getAuditStamp() ) {
  			return( true );
  		}
  		if( lhs.getAuditActionId() < rhs.getAuditActionId() ) {
  			return( false );
  		}
  		else if( lhs.getAuditActionId() > rhs.getAuditActionId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredRevision() < rhs.getRequiredRevision() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredRevision() > rhs.getRequiredRevision() ) {
  			return( true );
  		}
  		if( lhs.getAuditSessionId() != NULL ) {
  			if( rhs.getAuditSessionId() == NULL ) {
  				return( true );
  			}
  			const uuid_ptr_t lhuuid = lhs.getAuditSessionId();
  			const uuid_ptr_t rhuuid = rhs.getAuditSessionId();
  			if( uuid_compare( lhuuid, rhuuid ) < 0 ) {
  				return( false );
  			}
  			else if( uuid_compare( lhuuid, rhuuid ) > 0 ) {
  				return( true );
  			}
  		}
  		else {
  			if( rhs.getAuditSessionId() != NULL ) {
  				return( false );
  			}
  		}
  		if( lhs.getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredTSecGroupId() < rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTSecGroupId() > rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredName() < rhs.getRequiredName() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredName() > rhs.getRequiredName() ) {
  			return( true );
  		}
  		if( lhs.getRequiredIsVisible() < rhs.getRequiredIsVisible() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredIsVisible() > rhs.getRequiredIsVisible() ) {
  			return( true );
  		}
  		return( true );
  	}
  
  	bool operator >=(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupBuff& rhs ) {
  		if( lhs.getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredTSecGroupId() < rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTSecGroupId() > rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredName() < rhs.getRequiredName() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredName() > rhs.getRequiredName() ) {
  			return( true );
  		}
  		if( lhs.getRequiredIsVisible() < rhs.getRequiredIsVisible() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredIsVisible() > rhs.getRequiredIsVisible() ) {
  			return( true );
  		}
  		return( true );
  	}
  
  	bool operator >(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupByTenantIdxKey& rhs ) {
  		if( lhs.getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool operator >(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupByTenantVisIdxKey& rhs ) {
  		if( lhs.getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredIsVisible() < rhs.getRequiredIsVisible() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredIsVisible() > rhs.getRequiredIsVisible() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool operator >(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupByUNameIdxKey& rhs ) {
  		if( lhs.getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredName() < rhs.getRequiredName() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredName() > rhs.getRequiredName() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool operator >(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupPKey& rhs ) {
  		if( lhs.getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredTSecGroupId() < rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTSecGroupId() > rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool operator >(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupHPKey& rhs ) {
  		if( lhs.getAuditClusterId() < rhs.getAuditClusterId() ) {
  			return( false );
  		}
  		else if( lhs.getAuditClusterId() > rhs.getAuditClusterId() ) {
  			return( true );
  		}
  		if( lhs.getAuditStamp() < rhs.getAuditStamp() ) {
  			return( false );
  		}
  		else if( lhs.getAuditStamp() > rhs.getAuditStamp() ) {
  			return( true );
  		}
  		if( lhs.getAuditActionId() < rhs.getAuditActionId() ) {
  			return( false );
  		}
  		else if( lhs.getAuditActionId() > rhs.getAuditActionId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredRevision() < rhs.getRequiredRevision() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredRevision() > rhs.getRequiredRevision() ) {
  			return( true );
  		}
  		if( lhs.getAuditSessionId() != NULL ) {
  			if( rhs.getAuditSessionId() == NULL ) {
  				return( true );
  			}
  			const uuid_ptr_t lhuuid = lhs.getAuditSessionId();
  			const uuid_ptr_t rhuuid = rhs.getAuditSessionId();
  			if( uuid_compare( lhuuid, rhuuid ) < 0 ) {
  				return( false );
  			}
  			else if( uuid_compare( lhuuid, rhuuid ) > 0 ) {
  				return( true );
  			}
  		}
  		else {
  			if( rhs.getAuditSessionId() != NULL ) {
  				return( false );
  			}
  		}
  		if( lhs.getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredTSecGroupId() < rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTSecGroupId() > rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool operator >(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupHBuff& rhs ) {
  		if( lhs.getAuditClusterId() < rhs.getAuditClusterId() ) {
  			return( false );
  		}
  		else if( lhs.getAuditClusterId() > rhs.getAuditClusterId() ) {
  			return( true );
  		}
  		if( lhs.getAuditStamp() < rhs.getAuditStamp() ) {
  			return( false );
  		}
  		else if( lhs.getAuditStamp() > rhs.getAuditStamp() ) {
  			return( true );
  		}
  		if( lhs.getAuditActionId() < rhs.getAuditActionId() ) {
  			return( false );
  		}
  		else if( lhs.getAuditActionId() > rhs.getAuditActionId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredRevision() < rhs.getRequiredRevision() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredRevision() > rhs.getRequiredRevision() ) {
  			return( true );
  		}
  		if( lhs.getAuditSessionId() != NULL ) {
  			if( rhs.getAuditSessionId() == NULL ) {
  				return( true );
  			}
  			const uuid_ptr_t lhuuid = lhs.getAuditSessionId();
  			const uuid_ptr_t rhuuid = rhs.getAuditSessionId();
  			if( uuid_compare( lhuuid, rhuuid ) < 0 ) {
  				return( false );
  			}
  			else if( uuid_compare( lhuuid, rhuuid ) > 0 ) {
  				return( true );
  			}
  		}
  		else {
  			if( rhs.getAuditSessionId() != NULL ) {
  				return( false );
  			}
  		}
  		if( lhs.getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredTSecGroupId() < rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTSecGroupId() > rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredName() < rhs.getRequiredName() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredName() > rhs.getRequiredName() ) {
  			return( true );
  		}
  		if( lhs.getRequiredIsVisible() < rhs.getRequiredIsVisible() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredIsVisible() > rhs.getRequiredIsVisible() ) {
  			return( true );
  		}
  		return( false );
  	}
  
  	bool operator >(const  cfsec::CFSecTSecGroupHBuff& lhs, const cfsec::CFSecTSecGroupBuff& rhs ) {
  		if( lhs.getRequiredTenantId() < rhs.getRequiredTenantId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTenantId() > rhs.getRequiredTenantId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredTSecGroupId() < rhs.getRequiredTSecGroupId() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredTSecGroupId() > rhs.getRequiredTSecGroupId() ) {
  			return( true );
  		}
  		if( lhs.getRequiredName() < rhs.getRequiredName() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredName() > rhs.getRequiredName() ) {
  			return( true );
  		}
  		if( lhs.getRequiredIsVisible() < rhs.getRequiredIsVisible() ) {
  			return( false );
  		}
  		else if( lhs.getRequiredIsVisible() > rhs.getRequiredIsVisible() ) {
  			return( true );
  		}
  		return( false );
  	}
  }
  
  