FOSSredder 0.5.0
Loading...
Searching...
No Matches
core::domain::Alias Class Reference

#include <Alias.h>

Public Member Functions

 Alias ()=default
 Alias (std::string value, std::string kind={}, std::string source={}, std::string createdAt={}, std::string updatedAt={}, int hitCount=0, std::string lastUsedAt={})
 Creates an alias record from raw values.
const std::string & value () const noexcept
const std::string & kind () const noexcept
const std::string & source () const noexcept
const std::string & createdAt () const noexcept
const std::string & updatedAt () const noexcept
int hitCount () const noexcept
const std::string & lastUsedAt () const noexcept
void setValue (std::string value)
void setKind (std::string value)
void setSource (std::string value)
void setCreatedAt (std::string value)
void setUpdatedAt (std::string value)
void setHitCount (int value)
void setLastUsedAt (std::string value)

Detailed Description

Definition at line 13 of file Alias.h.

Constructor & Destructor Documentation

◆ Alias() [1/2]

core::domain::Alias::Alias ( )
default
Here is the call graph for this function:

◆ Alias() [2/2]

core::domain::Alias::Alias ( std::string value,
std::string kind = {},
std::string source = {},
std::string createdAt = {},
std::string updatedAt = {},
int hitCount = 0,
std::string lastUsedAt = {} )

Creates an alias record from raw values.

Parameters
valueAlias text.
kindAlias kind.
sourceAlias source.
createdAtCreation timestamp.
updatedAtUpdate timestamp.
hitCountAlias usage hit count.
lastUsedAtLast usage timestamp.

Definition at line 12 of file Alias.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ createdAt()

const std::string & core::domain::Alias::createdAt ( ) const
nodiscardnoexcept

Definition at line 34 of file Alias.cpp.

Here is the caller graph for this function:

◆ hitCount()

int core::domain::Alias::hitCount ( ) const
nodiscardnoexcept

Definition at line 37 of file Alias.cpp.

Here is the caller graph for this function:

◆ kind()

const std::string & core::domain::Alias::kind ( ) const
nodiscardnoexcept

Definition at line 30 of file Alias.cpp.

Here is the caller graph for this function:

◆ lastUsedAt()

const std::string & core::domain::Alias::lastUsedAt ( ) const
nodiscardnoexcept

Definition at line 38 of file Alias.cpp.

Here is the caller graph for this function:

◆ setCreatedAt()

void core::domain::Alias::setCreatedAt ( std::string value)

Definition at line 33 of file Alias.cpp.

Here is the call graph for this function:

◆ setHitCount()

void core::domain::Alias::setHitCount ( int value)

Definition at line 39 of file Alias.cpp.

Here is the call graph for this function:

◆ setKind()

void core::domain::Alias::setKind ( std::string value)

Definition at line 29 of file Alias.cpp.

Here is the call graph for this function:

◆ setLastUsedAt()

void core::domain::Alias::setLastUsedAt ( std::string value)

Definition at line 40 of file Alias.cpp.

Here is the call graph for this function:

◆ setSource()

void core::domain::Alias::setSource ( std::string value)

Definition at line 31 of file Alias.cpp.

Here is the call graph for this function:

◆ setUpdatedAt()

void core::domain::Alias::setUpdatedAt ( std::string value)

Definition at line 35 of file Alias.cpp.

Here is the call graph for this function:

◆ setValue()

void core::domain::Alias::setValue ( std::string value)

Definition at line 28 of file Alias.cpp.

Here is the call graph for this function:

◆ source()

const std::string & core::domain::Alias::source ( ) const
nodiscardnoexcept

Definition at line 32 of file Alias.cpp.

Here is the caller graph for this function:

◆ updatedAt()

const std::string & core::domain::Alias::updatedAt ( ) const
nodiscardnoexcept

Definition at line 36 of file Alias.cpp.

Here is the caller graph for this function:

◆ value()

const std::string & core::domain::Alias::value ( ) const
nodiscardnoexcept

Definition at line 27 of file Alias.cpp.

Here is the caller graph for this function:

The documentation for this class was generated from the following files: