mappings

package
v0.0.0-...-99dc24a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ExistingModelLinkTranslationJSON []byte
View Source
var PlanDocumentSolutionLinkTranslationJSON []byte
View Source
var TableNamesTranslationMap = tableNamesTranslationMapFunc()

Functions

func DiscussionReplyTranslation

func DiscussionReplyTranslation() (*model.DiscussionReplyTranslation, error)

DiscussionReplyTranslation Provides the translation for Plan Discussion

func ExistingModelLinkTranslation

func ExistingModelLinkTranslation() (*model.ExistingModelLinkTranslation, error)

func IddocQuestionnaireTranslation

func IddocQuestionnaireTranslation() (*model.IddocQuestionnaireTranslation, error)

IddocQuestionnaireTranslation provides the translation for IDDOC questionnaire

func KeyContactCategoryTranslation

func KeyContactCategoryTranslation() (*model.KeyContactCategoryTranslation, error)

KeyContactCategoryTranslation Provides the translation for key contact categories

func KeyContactTranslation

func KeyContactTranslation() (*model.KeyContactTranslation, error)

KeyContactTranslation Provides the translation for key contacts

func MTOCategoryTranslation

func MTOCategoryTranslation() (*model.MTOCategoryTranslation, error)

MTOCategoryTranslation Provides the translation for MTO Category

func MTOCommonSolutionContactTranslation

func MTOCommonSolutionContactTranslation() (*model.MTOCommonSolutionContactTranslation, error)

MTOCommonSolutionContactTranslation Provides the translation for MTO common solution contacts

func MTOCommonSolutionContractorTranslation

func MTOCommonSolutionContractorTranslation() (*model.MTOCommonSolutionContractorTranslation, error)

MTOCommonSolutionContractorTranslation Provides the translation for MTO common solution contractors

func MTOInfoTranslation

func MTOInfoTranslation() (*model.MTOInfoTranslation, error)

MTOInfoTranslation Provides the translation for MTO Info

func MTOMilestoneNoteTranslation

func MTOMilestoneNoteTranslation() (*model.MTOMilestoneNoteTranslation, error)

MTOMilestoneNoteTranslation Provides the translation for MTO Milestone Note

func MTOMilestoneSolutionLinkTranslation

func MTOMilestoneSolutionLinkTranslation() (*model.MTOMilestoneSolutionLinkTranslation, error)

MTOMilestoneSolutionLinkTranslation Provides the translation for MTO Milestone Solution Link

func MTOMilestoneTranslation

func MTOMilestoneTranslation() (*model.MTOMilestoneTranslation, error)

MTOMilestoneTranslation Provides the translation for MTO Milestone

func MTOSolutionTranslation

func MTOSolutionTranslation() (*model.MTOSolutionTranslation, error)

MTOSolutionTranslation Provides the translation for MTO Solution

func ModelPlanMTOTemplateLinkTranslation

func ModelPlanMTOTemplateLinkTranslation() (*model.ModelPlanMTOTemplateLinkTranslation, error)

ModelPlanMTOTemplateLinkTranslation Provides the translation for Model Plan MTO Template Link

func ModelPlanTranslation

func ModelPlanTranslation() (*model.ModelPlanTranslation, error)

func OperationalNeedTranslation

func OperationalNeedTranslation() (*model.OperationalNeedTranslation, error)

func OperationalSolutionSubtaskTranslation

func OperationalSolutionSubtaskTranslation() (*model.OperationalSolutionSubtaskTranslation, error)

func OperationalSolutionTranslation

func OperationalSolutionTranslation() (*model.OperationalSolutionTranslation, error)

func PlanBasicsTranslation

func PlanBasicsTranslation() (*model.PlanBasicsTranslation, error)

PlanBasicsTranslation Provides the translation for Plan basics

func PlanBeneficiariesTranslation

func PlanBeneficiariesTranslation() (*model.PlanBeneficiariesTranslation, error)

func PlanCRTranslation

func PlanCRTranslation() (*model.PlanCRTranslation, error)

PlanCRTranslation Provides the translation for Plan CR

func PlanCollaboratorTranslation

func PlanCollaboratorTranslation() (*model.PlanCollaboratorTranslation, error)

func PlanDataExchangeApproachTranslation

func PlanDataExchangeApproachTranslation() (*model.PlanDataExchangeApproachTranslation, error)

PlanDataExchangeApproachTranslation reads the json embedded file and renders it as a useable translation file

func PlanDiscussionTranslation

func PlanDiscussionTranslation() (*model.PlanDiscussionTranslation, error)

PlanDiscussionTranslation Provides the translation for Plan Discussion

func PlanDocumentSolutionLinkTranslation

func PlanDocumentSolutionLinkTranslation() (*model.PlanDocumentSolutionLinkTranslation, error)

func PlanDocumentTranslation

func PlanDocumentTranslation() (*model.PlanDocumentTranslation, error)

PlanDocumentTranslation reads the json embedded file and renders it as a useable translation file

func PlanGeneralCharacteristicsTranslation

func PlanGeneralCharacteristicsTranslation() (*model.PlanGeneralCharacteristicsTranslation, error)

func PlanOpsEvalAndLearningTranslation

func PlanOpsEvalAndLearningTranslation() (*model.PlanOpsEvalAndLearningTranslation, error)

func PlanParticipantsAndProvidersTranslation

func PlanParticipantsAndProvidersTranslation() (*model.PlanParticipantsAndProvidersTranslation, error)

PlanParticipantsAndProvidersTranslation Provides the translation for Participants and Providers

func PlanPaymentsTranslation

func PlanPaymentsTranslation() (*model.PlanPaymentsTranslation, error)

func PlanTDLTranslation

func PlanTDLTranslation() (*model.PlanTDLTranslation, error)

PlanTDLTranslation Provides the translation for Plan CR

func PlanTimelineTranslation

func PlanTimelineTranslation() (*model.PlanTimelineTranslation, error)

PlanTimelineTranslation Provides the translation for Timeline

func TranslateTableName

func TranslateTableName(tableName models.TableName) (models.EnumTranslation, bool)

TranslateTableName will return a Translation for a table name

Types

type Translation

type Translation interface {
	TableName() models.TableName
	ToMap() (map[string]models.ITranslationField, error)
}

Translation defines the signature every translation is expected to have

func GetTranslation

func GetTranslation(tableName models.TableName) (Translation, error)

GetTranslation allows programmatic access to return a translation for a given table name

type UnknownTranslation

type UnknownTranslation struct {
	// contains filtered or unexported fields
}

UnknownTranslation is the default translation returned when there isn't a translation. This effectively just lets the raw data be returned in liu of a translation

func (*UnknownTranslation) TableName

func (ut *UnknownTranslation) TableName() string

TableName returns the table name for this translation, satisfying the Translation interface

func (*UnknownTranslation) ToMap

ToMap translates this translation to a map, satisfying the Translation interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL