types

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const LIST_TEMPLATE = "List<%s>"

Variables

View Source
var CS_TYPE_MAP = map[string]string{
	"boolean":  "bool",
	"date":     "DateTime",
	"dateTime": "DateTime",
}
View Source
var CS_VALUE_TYPES = []string{
	"bool",
	"byte",
	"char",
	"decimal",
	"double",
	"float",
	"int",
	"long",
	"DateTime"}
View Source
var JAVA_TYPE_MAP = map[string]string{
	"string":      "String",
	"boolean":     "Boolean",
	"date":        "Date",
	"dateTime":    "Date",
	"long":        "Long",
	"int":         "Integer",
	"hovedklasse": "FintMainObject",
	"referanse":   "FintReference",
	"abstrakt":    "FintAbstractObject",
	"datatype":    "FintComplexDatatypeObject",
}

Functions

func GetCSType

func GetCSType(t string) string

func GetJavaType

func GetJavaType(t string) string

func IsValueType added in v1.6.0

func IsValueType(t string) bool

Types

type Action

type Action struct {
	Name      string
	Package   string
	Namespace string
	Classes   []string
	GitTag    string
}

type Attribute

type Attribute struct {
	Name     string
	Type     string
	List     bool
	Optional bool
}

type Class

type Class struct {
	Name          string
	Abstract      bool
	Extends       string
	Package       string
	Imports       []string
	Namespace     string
	Using         []string
	Documentation string
	Attributes    []Attribute
	Relations     []string
	Identifiable  bool
	GitTag        string
	Stereotype    string
}

type Import

type Import struct {
	Java   string
	CSharp string
}

Jump to

Keyboard shortcuts

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