types

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2017 License: MIT Imports: 1 Imported by: 6

Documentation

Index

Constants

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

Variables

View Source
var CS_TYPE_MAP = map[string]string{
	"string":   "string",
	"boolean":  "bool",
	"date":     "DateTime",
	"dateTime": "DateTime",
	"double":   "double",
}
View Source
var JAVA_TYPE_MAP = map[string]string{
	"string":      "String",
	"boolean":     "boolean",
	"date":        "Date",
	"dateTime":    "Date",
	"double":      "double",
	"hovedklasse": "FintMainObject",
	"referanse":   "FintReference",
	"abstrakt":    "FintAbstractObject",
	"datatype":    "FintComplexDatatypeObject",
}

Functions

func GetCSType

func GetCSType(t string) string

func GetJavaType

func GetJavaType(t string) string

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
}

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